Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 11:58:27 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-current@freebsd.org
Subject:   Re: A tool for remapping bad sectors in CURRENT?
Message-ID:  <86pr338bak.fsf@ds4.des.no>
In-Reply-To: <4B9CB287.9080205@quip.cz> (Miroslav Lachman's message of "Sun, 14 Mar 2010 10:55:19 %2B0100")
References:  <20100308102918.GA5485@localhost> <4B94DDC8.5080008@quip.cz> <20100308115052.GA31896@office.redwerk.com> <4B94FBA6.5090107@quip.cz> <861vfq995i.fsf@ds4.des.no> <4B9BF957.4060507@quip.cz> <86eijn3of2.fsf@ds4.des.no> <4B9CB287.9080205@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Miroslav Lachman <000.fbsd@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 =3D 79725104 and 79725104 - 39845888 =3D 39879216.  How
did you arrive at 39879105?

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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