[linux-lvm] lv became unmountable - "bad blocks" appeared.
omry at firefang.net
Sun Nov 27 20:17:37 UTC 2005
I have a volume group that spans on two drives.
one drive has a partition table, and one partion is LVM, and it contain
the other has two lv's which overs it all (no partition table).
each lv sits on a single drive.
I started with a single huge lv, but decided to change things to this way
to minimize the damage in an event of a drive failure).
I started to get io errors from the lv on the first disk (the one which
is on the drive with the partition table).
just as I decided to backup the stuff, the lv became unmountable.
I suspected bad blocks in the drive, so I ran badblocks in non
destructable mode on the drive.
it didn't find anything.
I tried to run badblocks on the partition itself (badblocks /dev/hde3),
just to be sure.
this convinced me that the problem is not physical.
I decided to have badblocks access the blocks via lvm, meaning badblocks
this found about 40K bad blocks.
I am now in the stage before I attemp to fix the file system (reiserfs)
using the bad blocks list. to recover whatever can be recovered.
do you guys have any better idea, because this will surely cost me some
data - and I am not convinced that
there is nothing else at lvm level that can make things more optimistic.
this is a very serious problem, which looks like its originating from LVM.
I would be glad to share whatever info (lvm metadata etc) you guys will
need to identify it, in hope this problem will be eliminated, for the
sake of future victims.
More information about the linux-lvm