can't mount Volume Group
C M Reinehr
cmr at amsent.com
Mon Aug 1 08:47:32 PDT 2011
On Mon 01 August 2011 10:36:09 am Tony Alfrey wrote:
> C M Reinehr wrote:
> > 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. :-)
>
> Yes, thanks. It seemed to like /dev/VolGroup00 and that made both
> volumes happy.
I don't do this often enough ever to remember all the exact details. I ran
into this particular problem for the first time several years ago and each
time, I pretty much have to work it out by trial and error until I discover
just the right incantation. ;-)
cmr
--
Debian 'Lenny' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list