Results 1 to 4 of 4

Thread: Disk Utility program?

Hybrid View

  1. #1
    phatpenguin NNTP User

    Default Disk Utility program?

    Hello All

    I am working in a branch of a shop called CeX - we trade in games, consoles and somputer parts.

    I recently installed OpenSuse on our test banch machine in order to rescue it, but we need a disk testing utility that tests, verifies and formats hard drives so we can test Hard Discs that come in for trade.

    Is there such a program under Open Suse that will run in the gnome desktop envirinment?

    Any and all help and advice is appreciated!

  2. #2

    Default Re: Disk Utility program?

    phatpenguin wrote:
    > I recently installed OpenSuse on our test banch machine in order to
    > rescue it, but we need a disk testing utility that tests, verifies and
    > formats hard drives so we can test Hard Discs that come in for trade.


    badblocks from the e2fsprogs package can do that. It's part of the live
    CDs and default installs. "badblocks -svw -t 0x00" will wipe the disk and
    report any problems.
    Note that recent drives do dynamic block relocation, meaning they come
    with a set of spare sectors to dynamically replace those who are faulty.
    This is transparent to the rest of the machine. Some SMART utilities can
    read the stats concerning these relocations and initiate the disks self
    tests of several levels. Also drive manufacturers offer diagnostic
    utilities which are specific to their products.
    Finally, whatever you do, don't listen to Steve Gibson.

    Kind regards,
    Andreas Stieger

  3. #3
    phatpenguin NNTP User

    Default Re: Disk Utility program?

    Cheers for the info!

    forgive me for being such a 'tard - can I please have full terminal command?

    That way I can just tape it to the side of the machine!

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,381
    Blog Entries
    1

    Default Re: Disk Utility program?

    I would start with 'man badblocks' first. That way you'll understand how the utility works.

    Anyway, to get started, suppose you have an unmounted disk (sdc for example) that you wish to test without destroying any data. You could do something like:

    badblocks -snv /dev/sdc

    To test in r/w mode, you could do (as outlined by Andreas):

    badblocks -svw -t 0x00 /dev/sdc

    (The -t switch is used to write then read the data test pattern).

    Be careful with specifying the device though - you don't want to destroy any important data.

Posting Permissions

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