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
  •  


Supermicro E200-8D Xeon D-1528 8GB RAM 256GB SSD 2x10GbE X10SDV-6C-TLN4F w/ PSU picture

Supermicro E200-8D Xeon D-1528 8GB RAM 256GB SSD 2x10GbE X10SDV-6C-TLN4F w/ PSU

$525.00



HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD picture

HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD

$249.99



HP ProLiant MicroServer Gen8 Tower Server Xeon E3-1220 v2 2.3GHz 16GB RAM picture

HP ProLiant MicroServer Gen8 Tower Server Xeon E3-1220 v2 2.3GHz 16GB RAM

$289.99



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



Supermicro 1U Server 5019C-WR X11SCW-F Xeon E-2174G 3.8Ghz 32GB RAM M.2 NVME   X picture

Supermicro 1U Server 5019C-WR X11SCW-F Xeon E-2174G 3.8Ghz 32GB RAM M.2 NVME X

$369.00



Supermicro SuperServer E300-15 - SYS-e300-9C - 16GB RAM 240GB Samsung SSD picture

Supermicro SuperServer E300-15 - SYS-e300-9C - 16GB RAM 240GB Samsung SSD

$199.99



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter picture

Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter

$225.00