fsdb&smartctl&/var/log/messages
Mikolaj Golub
to.my.trociny at gmail.com
Mon Jul 12 14:51:44 UTC 2010
On Mon, 12 Jul 2010 15:04:07 +0400 Dmitry Lunts wrote:
DL> Mikolaj, thanks for your reply!
>> As for me it looks like the following might has happened. Your filesystem
>> block size is 16384 bytes. When reading +CONTENTS fs sent a request to the
>> driver to read a block -- starting from 4007967 sector of 16384 / 512 = 32
>> sectors. For one of these sectors (4007996) disk returned error. The driver
>> reported about the error printing the address of the first sector of failed
>> request.
>>
>> --
>> Mikolaj Golub
>>
DL> Looks reasonable, but nevertheless
DL> it's still unclear why fsdb->findblk <offset of LBA_of_first_error within
DL> /dev/ad6s1d>
DL> returns nothing?
Playing a little with fsdb it looks like it will find only the first 4 sectors
of any inode's block (for fs with block size = 16K and fragment size = 2K), so
those that belong to the first fragment of the block.
DL> And one more question. What if I try to remap this bad LBA sector (with dd)
DL> ?
DL> Will package database be irreversibly damaged,
DL> or pkgdb -uF will cure it?
DL> (Sorry,I'm not sophisticated in FreeBSD very much)
DL> TIA,
DL> --
DL> С уважением, Дмитрий
DL> Best regards, Dmitry
DL> email: eingorn777 at gmail.com
--
Mikolaj Golub
More information about the freebsd-fs
mailing list