A tool for remapping bad sectors in CURRENT?

Dag-Erling Smørgrav des at des.no
Wed Mar 17 10:58:30 UTC 2010


Miroslav Lachman <000.fbsd at quip.cz> writes:
> As I write in my first post to this thread, I already tried fsdb +
> findblk, but without success.  Findblk did not returned any inode.
> Maybe the meaning of block is of different size or something else I
> can't understand.

AFAICT, "block" is a disk block (i.e. 512-byte sector in most cases)
relative to the start of the partition.

> The LBA of bad sector is *79725167* [...]  s1 starts 63 sectors from
> the beginning of the drive and /var/db has offset 39845888. So am I
> right that I need to find block number *39879105* by findblk command?

Uh, 79725167 - 63 = 79725104 and 79725104 - 39845888 = 39879216.  How
did you arrive at 39879105?

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list