Re: Can't mount or run fdisk on an existing logical volume, help!

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

 



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@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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux