How to mount an LVM volume? (was lvm2 problem)

Paul W. Frields stickster at gmail.com
Tue Sep 23 00:40:28 UTC 2008


On Mon, 2008-09-22 at 20:27 -0400, Eric wrote:
> At 07:54 PM 9/22/2008, Antonio Olivares wrote:
> 
>  >>>>>
> >You can try to use Slax Linux Live CD(get the latest slax608rc6.iso.
> >
> >http://www.slax.org/forum.php?action=view&parentID=17340
> >
> >or you can also use:
> >
> >http://forums.fedoraforum.org/showthread.php?p=707874
> >
> >to find out answers!
> <<<<<
> 
> Good evening, Antonio.
> 
> Thanks, I read through both of those (as best I could given the HUGE 
> array of irrelevant stuff in the first reference) and between that 
> and everything else I have spent the afternoon researching, I cannot 
> find anything that addresses the case where both physical drives are 
> detected by the system as VolGroup00 (so that according to 
> /dev/mapper I have only one VolGroupXX, and according to pvs, both 
> /dev/sda2 and /dev/sdb2 have a VolGroup00.
> 
> There appears to be no way for the system to distinguish between the 
> VolGroup00 on /dev/sda2 and the VolGroup00 on /dev/sdb2.
> 
> ALL documentation I have read assumes that the VolGroup on one drive 
> is 00 and the one on another drive is 01.
> 
> Until I can resolve that one issue, I cannot mount my old FC6 drive, at all.

The LVM system uses UUIDs (which are almost guaranteed to be unique) to
label each LVM PV, VG, and LV.  I believe you can use "vgscan" to
display them, and then reference the UUID of the VG in question when you
run "vgrename" to rename it to something *not* "VolGroup00".

It's hard for people to know to name their VGs something else when they
first use LVM, but I tend to name them after my systems.  That way if I
ever have to transplant a disk the work is just a mite easier.  That
might be a good bug to file against the Installation Guide, though...

-- 
Paul W. Frields
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://paul.frields.org/   -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080923/1d590931/attachment-0001.sig>


More information about the fedora-list mailing list