On Fri, 6 Jan 2012 12:32:14 -0700 (MST) Warren Block <wbl...@wonkity.com> wrote:
> On Fri, 6 Jan 2012, Bas Smeelen wrote: > > > On 01/06/2012 04:37 PM, Warren Block wrote: > >> On Fri, 6 Jan 2012, Bas Smeelen wrote: > >> > >>> On 01/06/2012 03:39 PM, Warren Block wrote: > >>>> On Fri, 6 Jan 2012, Bas Smeelen wrote: > >>>> > >>>>> I have had this with a drive and multiple read errors would not > >>>>> remap the > >>>>> sector. > >>>>> With write errors the sector would be remapped. This was a new > >>>>> Samsung laptop drive though, not a Western Digital. > > > > I could use dd if=/dev/random of=file seek=blocks_to_skip bs=100M > > the next time > > Yes, if you're not worried about existing data. But use /dev/zero > (faster and you can verify the value) and bs=1M count=100 (ties up > only 1M of buffer space). Thanks a lot. This was always confusing me, now I know! Cheers Disclaimer: http://www.ose.nl/email _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"