[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] mapping blocks to PVs?



On Feb 23, 2002  16:45 -0500, Andres Salomon wrote:
> I've got a LV that keeps corrupting, made up of several IDE disks.  I've
> already discovered one of the drives to be flaking out, after various
> read tests on the device gave BadCRC/IRQ timeout errors.  Read tests on
> the other drives succeeded; however, I'm still getting stuff like:
> 
> journal_bmap: journal block not found at offset 7180 on lvm(58,0)
> 
> and
> 
> /dev/site/lvol1: recovering journal
> JFS: bad block at offset 7182
> 
> How can I figure out which PV is holding block 7180 and 7182?  

I think "lvdisplay -v" or "pvdisplay -v" or similar will show the _sector_
numbers for each PE.  Note that for ext3, the block numbers reported are
4kB blocks (usually, check with dumpe2fs -h), so you are probably looking
for sectors 7180*8 and 7182*8.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]