A tool for remapping bad sectors in CURRENT?
Eugene Dzhurinsky
bofh at redwerk.com
Mon Mar 8 10:52:46 UTC 2010
On Mon, Mar 08, 2010 at 12:31:24PM +0200, Alexander Motin wrote:
> You may try to overwrite these sectors with dd. It should trigger sector
> reallocation. To be sure, you may read them before and after the write.
dd if=/dev/ad4 of=/dev/null skip=222342559 bs=512 count=1
dd: /dev/ad4: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 2.351940 secs (0 bytes/sec)
dd if=/dev/zero of=/dev/ad4 seek=222342559 bs=512 count=1
dd: /dev/ad4: Operation not permitted
Should I do it in single mode?
--
Eugene N Dzhurinsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100308/20ccdd34/attachment.pgp
More information about the freebsd-current
mailing list