Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 00:51:42 -0700
From:      "Jack L." <xxjack12xx@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>,  "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: tool for mapping away bad blocks on an external disk
Message-ID:  <CALeGphx7TZ-nNM_PtV7ZewnNf-t5YB4%2BtFhRcBhHtHd4ng%2B0XA@mail.gmail.com>
In-Reply-To: <20160417072641.GA2358@c720-r292778-amd64>
References:  <20160417072641.GA2358@c720-r292778-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D5d, ascq=3D14]

On Sun, Apr 17, 2016 at 12:26 AM, Matthias Apitz <guru@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 =3D 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 FAFFFFF0FDF=
1F6F90FA46017
> 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=3D0x2<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, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea=
.de/  =E2=98=8E +49-176-38902045
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALeGphx7TZ-nNM_PtV7ZewnNf-t5YB4%2BtFhRcBhHtHd4ng%2B0XA>