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?
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?
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...
' man badblocks '
' time badblocks -c 1024 -o badblocks.txt -n -s -v /dev/sda '
Originally Posted by anticuchos

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.30
Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69
BROADCOM 05-50077-01 PCI-E 4.0 x8 PCI-Express MegaRAID 9560-8i RAID Controller
$714.99
9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US
$49.50
X4TTX Dell PERC H730P SATA/SAS PCIe RAID Controller 0X4TTX
$42.00
LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US
$29.88
Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99
OWC Mercury Elite Pro Quad 4 Bay RAID Storage Enclosure USB 3.1 Gen 2 No Drives
$149.95
HP controller P3410-69003 NetRAID-1M SCSI 64-bit U160 32MB Cache (PCI)
$359.00
1 Dell Ultra SSD M.2 NVMe PCI-Express x16 Solid State Storage Adapter Card 6N9RH
$59.99