Results 1 to 3 of 3

Thread: How do I check for bad sectors on my USB disc?

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    9

    How do I check for bad sectors on my USB disc?

    I have a 4 GB HDD hooked onto my box via an external enclosure.

    How do I check for bad sectors? And how long would it take to check a 4 GB?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    how? depends on filesystem and exactly what you want. manuals for the comands (in bold) below should help.
    e2fsck
    http://www.die.net/doc/linux/man/man8/e2fsck.8.html
    dosfsck
    http://www.die.net/doc/linux/man/man8/dosfsck.8.html
    reiserfsck
    http://www.die.net/doc/linux/man/man8/reiserfsck.8.html

    just an example, I could do this, e2fsck -fcpv /dev/hdq99, on the unmounted filesystem on disk hdq and partition 99 (unlikely to exist on your system), it would make a thurough check and try to repair the filesystem togheter with marking bad blocks. be prepared for several hours for it to do its job, likely less but...
    Just so you now, it is a risky operation as it might foul things beyond repair if you are unlucky (any operation on a HDD can do that).

    speed? depends on interface, is it usb? then we need to know if it is; usb1, usb1.1 or usb2?
    same for scsi and firewire. these all have diferent speeds, and they all have diferent variations...

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: How do I check for bad sectors on my USB disc?

    ' man badblocks '

    ' time badblocks -c 1024 -o badblocks.txt -n -s -v /dev/sda '

    Quote Originally Posted by anticuchos
    I have a 4 GB HDD hooked onto my box via an external enclosure.

    How do I check for bad sectors? And how long would it take to check a 4 GB?

Similar Threads

  1. Replies: 0
    Last Post: 10-05-2007, 12:20 PM
  2. Creating persistant knoppix disc image with floppy disc
    By Arbatras in forum General Support
    Replies: 2
    Last Post: 07-13-2007, 05:44 PM
  3. Thousand of BAD Sectors on Hard Drive
    By skwerl in forum Hardware & Booting
    Replies: 2
    Last Post: 05-31-2005, 01:08 AM
  4. I can´t start Knoppix 3.4 : errors I/O in hda´sectors.
    By djdorado in forum Hardware & Booting
    Replies: 0
    Last Post: 02-01-2005, 09:20 PM
  5. laptop harddisk with bad sectors
    By scooby29 in forum Laptops
    Replies: 1
    Last Post: 09-30-2003, 05:04 AM

Posting Permissions

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


VINTAGE  RARE Overland 9 Track tape drive for mainframe computer storage picture

VINTAGE RARE Overland 9 Track tape drive for mainframe computer storage

$800.00



IBM MST-2 370 Integrated Circuit Computer Chips Lot Of 43 Rare 1970s Vintage picture

IBM MST-2 370 Integrated Circuit Computer Chips Lot Of 43 Rare 1970s Vintage

$249.00



HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer picture

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer

$165.58



Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25 picture

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25

$679.15



Vintage IBM #192726 Paper Tape Punch Mainframe Computer Programming Tool 1960s picture

Vintage IBM #192726 Paper Tape Punch Mainframe Computer Programming Tool 1960s

$94.95



DEC ALPHA DS20E system complete, posts good. 512mb, no disks, Digital Equip Corp picture

DEC ALPHA DS20E system complete, posts good. 512mb, no disks, Digital Equip Corp

$699.00



Vintage Cullinet IDMS IBM Mainframe Magnetic Tape Reel Software 1980s JCL picture

Vintage Cullinet IDMS IBM Mainframe Magnetic Tape Reel Software 1980s JCL

$98.99



Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive picture

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive

$649.00



Mystery Vintage Computer Mizar Motorola 68000 Based System W Shugart Drives picture

Mystery Vintage Computer Mizar Motorola 68000 Based System W Shugart Drives

$500.00



MPC ClientPro 545 Pentium 4 2.40GHz 512MB NO/HDD RV100 Vintage PC Retro Computer picture

MPC ClientPro 545 Pentium 4 2.40GHz 512MB NO/HDD RV100 Vintage PC Retro Computer

$149.97