I see no way to convert LBA to disk position
artem at artem.ru
Tue Mar 31 20:11:27 UTC 2020
31.03.2020 22:45, Kevin P. Neal пишет:
> On Tue, Mar 31, 2020 at 10:28:43PM +0300, Artem Kuchin wrote:
>> Then i wrote zeros to the bas sector
>> dd if=/dev/zero of=/dev/ada2 bs=512 oseek=5020507656 count=8
> Wait, does this mean that the two disks in your mirror have different
> data at the same block address? Is that safe? Does gmirror keep track
> of bad blocks and avoid reading from them "forever" when it hits one?
> If it was me I'd copy the block from the good drive to the bad drive
> instead of writing zeros.
I don't think it is important because those blocks are unallocated (i
eventually, when did so - copied from one disk to another. I wrote
smart specs say that i need to write zeroes to resolve pending sector.
More information about the freebsd-questions