Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2016 16:48:19 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: tool for mapping away bad blocks on an external disk
Message-ID:  <20160420144819.GA2481@c720-r292778-amd64>
In-Reply-To: <20160418065534.GA2198@c720-r292778-amd64>
References:  <20160417072641.GA2358@c720-r292778-amd64> <20160417093957.0b1acb4c37d7c15a4b06af88@sohara.org> <alpine.BSF.2.20.1604171023510.30232@wonkity.com> <nf0h0u$5ij$1@ger.gmane.org> <alpine.BSF.2.20.1604171136320.30232@wonkity.com> <20160418065534.GA2198@c720-r292778-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, April 18, 2016 a las 08:55:34AM +0200, Matthias Apitz escribió:

> 
> Thanks for all the hints; I started last night with overwriting the full
> disk with:
> 
> # dd conv=noerror if=/dev/zero of=/dev/da0 bs=1m
> 
> ...

The dd ended as. I issued from time to time a kill -INFO to the dd to
see its progress:

# tail nohup.out 
...
885016+0 records in
885016+0 records out
928006537216 bytes transferred in 35244.495687 secs (26330538 bytes/sec)
980612+0 records in
980612+0 records out
1028246208512 bytes transferred in 39028.251450 secs (26346202 bytes/sec)
dd: /dev/da0: Input/output error
1154078+0 records in
1154077+0 records out
1210137444352 bytes transferred in 45969.382123 secs (26324858 bytes/sec)

Does this mean I could use the first 1154077 blocks of 1m as partition,
i.e. shrink it to this size and just ignore the rest?

	matthias


-- 
Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160420144819.GA2481>