can't mount Volume Group
C M Reinehr
cmr at amsent.com
Mon Aug 1 07:45:35 PDT 2011
On Sun 31 July 2011 05:35:59 am Tony Alfrey wrote:
> Tony Alfrey wrote:
> > Tony Alfrey wrote:
> >> Hello;
> >>
> >> System has 2 SATA drives. I chainload the second from LILO on the
> >> first. That works perfectly.
> >>
> >> The second drive sdb has Fedora on it.
> >> sdb1 is a boot partition
> >> sdb2 is a Logical Volume
> >>
> >> lvdisplay shows the Volume Group and the Logical Volumes,
> >>
> >>
> >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - --
> >>
> >> linux:~ # lvdisplay /dev/VolGroup00
> >>
> >> --- Logical volume ---
> >> LV Name /dev/VolGroup00/LogVol00
> >> VG Name VolGroup00
> >> LV UUID FSHbaz-XXgb-oaMy-9Jf2-rYnD-K4mg-AN5mXg
> >> LV Write Access read/write
> >> LV Status NOT available
> >> LV Size 465.03 GB
> >> Current LE 14881
> >> Segments 1
> >> Allocation next free (default)
> >> Read ahead sectors 0
> >>
> >> --- Logical volume ---
> >> LV Name /dev/VolGroup00/LogVol01
> >> VG Name VolGroup00
> >> LV UUID p93KII-5ZU6-PxoD-d0hs-soKg-7Tbc-R4raVf
> >> LV Write Access read/write
> >> LV Status NOT available
> >> LV Size 512.00 MB
> >> Current LE 16
> >> Segments 1
> >> Allocation next free (default)
> >> Read ahead sectors 0
> >>
> >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >>
> >> The first is Fedora and the second is swap.
> >> But I can't mount the volumes.
> >> I'm betting that
> >>
> >> LV Status NOT available
> >>
> >> might be a clue.
> >> Does anyone know how to make it available without corrupting it?
> >> Remember, I can boot it (maybe I am booting the boot partition
> >> /dev/sdb1 and then somehow from there the volumes on sdb2 are mounted).
> >> Thanks!
> >
> > In addition, when I boot Fedora (on sdb) and then run lvdisplay, then LV
> > Sataus is Available (I guess that would be obvious).
> >
> > So any ideas on how to get the volumes Avaible would be appreciated.
> >
> > Thanks!
>
> Sorry for answering my post.
> And finally I see that maybe I can use
>
> lvm vgchange -al--available y /dev/VolGroup00/LogVol00
>
> Can someone look at that and tell me if it looks right before I go and
> break this freaking thing?
>
> Thanks
I think that all you'll need is:
#lvchange --available y VolGroup00/LogVol00
and
#lvchange --available y VolGroup00/LogVol01
At any rate, you're not going to break anything. :-)
HTH
Cheers!
cmr
--
Debian 'Lenny' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list