[linux-lvm] recovering a bad physical volume

Patrick Caulfield caulfield at sistina.com
Wed Jul 17 02:21:01 UTC 2002


On Tue, Jul 16, 2002 at 10:22:43PM +0100, Matthew Johnson wrote:
> 
> OK, from that I get the error "size of volume differs from backup",
> although the volume group mounts fine. However, mount can't find a
> filesystem. Bit more info - I checked the partition sizes (I was playing
> around with some) - but they cylinder numbers are the same as the list I
> have before I started. Second - its a 3gb partition, and the missing
> logical volume is a 10Gb one. Hence, the last 7Gb are on the OK physical volumes. Can I
> get back at least those, if not the whole lot.
> 
> Alternatively, at this point the question might better be asked to the
> reiserfs lists.


Hmm, that message is a bit odd. Check that the partition sizes really do match
what LVM thinks they ought to be. vgcfgrestore -ll -n <vg> will show you this.

If the sizes match up and the disk is OK there's no reason why the filesystem
shouldn't mount.

-- 

patrick





More information about the linux-lvm mailing list