tool for mapping away bad blocks on an external disk
Matthias Apitz
guru at unixarea.de
Sun Apr 17 07:26:52 UTC 2016
Hello,
I have an older external disk, connected through USB, which has bad
blocks:
Apr 17 09:16:38 c720-r292778-amd64 kernel: ugen0.3: <Freecom> at usbus0
Apr 17 09:16:38 c720-r292778-amd64 kernel: umass0: <Bulk Only Interface> on usbus0
Apr 17 09:16:38 c720-r292778-amd64 kernel: umass0: SCSI over Bulk-Only; quirks = 0x0100
Apr 17 09:16:38 c720-r292778-amd64 kernel: umass0:1:0: Attached to scbus1
Apr 17 09:16:38 c720-r292778-amd64 kernel: da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
Apr 17 09:16:38 c720-r292778-amd64 kernel: da0: <Freecom Hard Drive XS 1.00> Fixed Direct Access SCSI-2 device
Apr 17 09:16:38 c720-r292778-amd64 kernel: da0: Serial Number FAFFFFF0FDF1F6F90FA46017
Apr 17 09:16:38 c720-r292778-amd64 kernel: da0: 40.000MB/s transfers
Apr 17 09:16:38 c720-r292778-amd64 kernel: da0: 1430799MB (2930277168 512 byte sectors)
Apr 17 09:16:38 c720-r292778-amd64 kernel: da0: quirks=0x2<NO_6_BYTE>
# fsck /dev/da0s1a
** /dev/da0s1a
** Last Mounted on /
** Phase 1 - Check Blocks and Sizes
CANNOT READ BLK: 1512063104
CONTINUE? [yn] y
THE FOLLOWING DISK SECTORS COULD NOT BE READ: 1512063180, 1512063219,
CANNOT READ BLK: 1794212160
CONTINUE? [yn]
Do we have some good tool to perform an analyse of the full disk and map
away all bad blocks? There is no important data on this disk and if I
can not get rid of the bad blocks I must throw it to dustbin.
Thanks
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
More information about the freebsd-questions
mailing list