Re: A tool for remapping bad sectors in CURRENT?

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Wed, 17 Mar 2010 11:58:27 +0100
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
Received on Wed Mar 17 2010 - 09:58:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC