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 Apple Macintosh PowerBook Duo 230 With Power Supply Floppy Drive Parts picture

Vintage Apple Macintosh PowerBook Duo 230 With Power Supply Floppy Drive Parts

$100.00



Vintage 1988 Apple Macintosh Plus 1MB M0001A Computer Keyboard WORKING See Video picture

Vintage 1988 Apple Macintosh Plus 1MB M0001A Computer Keyboard WORKING See Video

$225.00



Lot of 3 VIntage  Apple Computer Rainbow Logo Sticker Decal Macintosh 1980s NOS picture

Lot of 3 VIntage Apple Computer Rainbow Logo Sticker Decal Macintosh 1980s NOS

$7.00



Apple Keyboard Vintage M3501 picture

Apple Keyboard Vintage M3501

$50.00



Vintage Apple PowerBook G4 Titanium Laptop 800 MHz 60 GB HD 15

Vintage Apple PowerBook G4 Titanium Laptop 800 MHz 60 GB HD 15" LCD Screen A1001

$79.99



APPLE IIC A2S4100 VINTAGE PERSONAL COMPUTER UNTESTED AS-IS, NO POWER CABLE picture

APPLE IIC A2S4100 VINTAGE PERSONAL COMPUTER UNTESTED AS-IS, NO POWER CABLE

$149.99



Vintage Apple USB Mouse M4848 Bondi Blue iMac G3 Hockey Puck - Tested Working picture

Vintage Apple USB Mouse M4848 Bondi Blue iMac G3 Hockey Puck - Tested Working

$22.99



Vintage Apple Power Mac G4 Cube M7886 2000 450MHz 128MB RAM 20GB HD picture

Vintage Apple Power Mac G4 Cube M7886 2000 450MHz 128MB RAM 20GB HD

$299.99



Vintage NOS Apple iBook Two Sided Cloth Banner Think Different picture

Vintage NOS Apple iBook Two Sided Cloth Banner Think Different

$99.99



TESTED Original Apple IIc 2c Power Supply A2M4017 15V 1.2A 18W WORKING Vintage picture

TESTED Original Apple IIc 2c Power Supply A2M4017 15V 1.2A 18W WORKING Vintage

$55.00