[linux-lvm] Can't mount or run fdisk on an existing logical volume, help!

Ray Van Dolson rvandolson at esri.com
Tue Jul 21 20:35:32 UTC 2009


On Tue, Jul 21, 2009 at 01:29:23PM -0700, Adam Olsen wrote:
> On Tue, Jul 21, 2009 at 2:07 PM, Ray Van Dolson<rvandolson at esri.com> wrote:
> > Hmm... can you do an fdisk on your LV now?  That error doesn't look
> > good though.
> 
> Nope, still says "unable to read"
> 
> > Are you able to run fdisk on each of the member physical volumes
> > successfully?
> 
> I'm not sure how to do that.  For example:
> 
> imgserv:/storage/# fsck /dev/sda3
> fsck 1.41.3 (12-Oct-2008)
> fsck: fsck.lvm2pv: not found
> fsck: Error 2 while executing fsck.lvm2pv for /dev/sda3
> 
> Though, it looks like fsck.lvm2pv is not something that has actually
> been created yet.

Nono, don't do that... fsck is for filesystems :)  Just run fdisk
/dev/sda, run 'p' (for print) and see if you can see your LVM
partition.

Just a poor man's way to check that /dev/sda is OK.  Do this for the
other PV members.

Do not run fsck on it, that'll hose the data (if it even runs at all).

Ray




More information about the linux-lvm mailing list