Results 1 to 7 of 7

Thread: CHKDSK for Linux

  1. #1
    badger fruit NNTP User

    Default CHKDSK for Linux


    Further to a recent catestrophic failure of a LVM in my server I am in a
    position where I have several hard-drives which I am rebuilding my
    environment on.

    It would seem that there is an error on one of them (8 disks in total)
    but I don't know which!

    *Before I re-build and put data onto a potential bad disk, is there a
    tool / utility that I can use to check the disk before hand?*


    --
    badger_fruit
    ------------------------------------------------------------------------
    badger_fruit's Profile: http://forums.opensuse.org/member.php?userid=2099
    View this thread: http://forums.opensuse.org/showthread.php?t=401294


  2. #2
    microchip8 NNTP User

    Default Re: CHKDSK for Linux


    fsck.ext3
    reiserfsck (if using ReiserFS)
    xfs_check and xfs_repair (for XFS)


    --
    *'Get h264enc' (http://h264enc.sourceforge.net)* - *'Get xvidenc'
    (http://xvidenc.sourceforge.net)* - *'Get divxenc'
    (http://divxenc.sourceforge.net)*
    ------------------------------------------------------------------------
    microchip8's Profile: http://forums.opensuse.org/member.php?userid=163
    View this thread: http://forums.opensuse.org/showthread.php?t=401294


  3. #3
    microchip8 NNTP User

    Default Re: CHKDSK for Linux


    if you also want to check the disk itself, use badblocks


    --
    *'Get h264enc' (http://h264enc.sourceforge.net)* - *'Get xvidenc'
    (http://xvidenc.sourceforge.net)* - *'Get divxenc'
    (http://divxenc.sourceforge.net)*
    ------------------------------------------------------------------------
    microchip8's Profile: http://forums.opensuse.org/member.php?userid=163
    View this thread: http://forums.opensuse.org/showthread.php?t=401294


  4. #4
    ajp NNTP User

    Default Re: CHKDSK for Linux

    badger fruit wrote:

    >
    > Further to a recent catestrophic failure of a LVM in my server I am in a
    > position where I have several hard-drives which I am rebuilding my
    > environment on.
    >
    > It would seem that there is an error on one of them (8 disks in total)
    > but I don't know which!
    >
    > *Before I re-build and put data onto a potential bad disk, is there a
    > tool / utility that I can use to check the disk before hand?*
    >
    >


    fsck etc only work on file systems - to do a hardware check you'll probably
    need specialist software supplied by the HDD manufacturer

    Check out Ultimate Boot CD http://www.ultimatebootcd.com/

    Alan

    --
    email =~ s/nospam/fudokai/

  5. #5
    ab@novell.com NNTP User

    Default Re: CHKDSK for Linux

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    If you're using a server-class system, especially w/hardware RAID, this
    should be fairly standard stuff. For anything else having a filesystem
    check will probably do a decent job of finding failures that are
    consistent or easy to reproduce. If the disk is really going bad I
    would expect either to find a problem. Depending on how bad it is you
    may get errors just trying to overwrite the entire disk with some
    utility made to do as much, from "Dan's Boot and Nuke" (DBAN) down to
    something simple like 'dd'.

    Good luck.




    ajp wrote:
    > badger fruit wrote:
    >
    >> Further to a recent catestrophic failure of a LVM in my server I am in a
    >> position where I have several hard-drives which I am rebuilding my
    >> environment on.
    >>
    >> It would seem that there is an error on one of them (8 disks in total)
    >> but I don't know which!
    >>
    >> *Before I re-build and put data onto a potential bad disk, is there a
    >> tool / utility that I can use to check the disk before hand?*
    >>
    >>

    >
    > fsck etc only work on file systems - to do a hardware check you'll probably
    > need specialist software supplied by the HDD manufacturer
    >
    > Check out Ultimate Boot CD http://www.ultimatebootcd.com/
    >
    > Alan
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFJPTsM3s42bA80+9kRAv1fAJ48/HRCdxRKz8bxzpS62MdsJJ6NDwCdH6bt
    3e+dN2YgS47VRCqcfxRppko=
    =lN4l
    -----END PGP SIGNATURE-----

  6. #6
    Magic31 NNTP User

    Default Re: CHKDSK for Linux


    Also, if the disks have smart functionality (and it's enabled), you
    might get good readings from that.

    Basically use smartctl to read out the values for each disk (e.g.
    smartctl /dev/sda -a).

    Cheers,
    Wj


    --
    Have allot of fun! *WJM*
    ------------------------------------------------------------------------
    Magic31's Profile: http://forums.opensuse.org/member.php?userid=289
    View this thread: http://forums.opensuse.org/showthread.php?t=401294


  7. #7
    Magic31 NNTP User

    Default Re: CHKDSK for Linux


    In addition, have a look here on how to use smart(ctl):

    'Linux Harddisk Monitoring with SmartMonTools (smartctl)'
    (http://www.captain.at/howto-linux-sm...s-smartctl.php)

    There also an option to let a disk do a self test (quick upto rigid).


    --
    Have allot of fun! *WJM*
    ------------------------------------------------------------------------
    Magic31's Profile: http://forums.opensuse.org/member.php?userid=289
    View this thread: http://forums.opensuse.org/showthread.php?t=401294


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •