tool for mapping away bad blocks on an external disk

Jack L. xxjack12xx at gmail.com
Sun Apr 17 07:52:23 UTC 2016


IMO, any drive with bad blocks aren't worth keeping around. Once bad
blocks start developing, more usually follow shortly after until it
turns into

SMART Health Status: HARDWARE IMPENDING FAILURE TOO MANY BLOCK
REASSIGNS [asc=5d, ascq=14]

On Sun, Apr 17, 2016 at 12:26 AM, Matthias Apitz <guru at unixarea.de> wrote:
>
> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list