[linux-lvm] How to change the PV Volume Group name?
Doug Gray
dgra1233 at bigpond.net.au
Mon Jan 26 06:20:58 UTC 2009
Hi,
I am a new here and new to lvm management, so be gentle please.
I have systems running of CF cards that were created using the normal
installation as was my desktop system.
I would like to mount the CF cards via USB device and gain access to the
contents of the lvm partition on my desktop system to be able to perform
maintenance.
Additionally it would be helpful to be able to mount the CF image in
loop mode so I can make modifications without the physical hardware.
Following the guide here:
http://tldp.org/HOWTO/LVM-HOWTO/recipemovevgtonewsys.html
I can see how to mount the CF partition... but what I don't follow is
how the distinction is made when the PV VG Name are the same, ie the
default 'VolGroup00'
I don't see a facility in pvchange to change the name.
Is it necessary to change the name?
How do I mount the CF partition?
How do I mount the CF partition file image?
I would be grateful for any help. This is straight forward with the
normal disk volumes and partitions but to do so with lvm I am
bamboozled.
Doug Gray
>From my system:
[root at vulcan ~]# pvdisplay /dev/sda2
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 1.80 GB / not usable 22.20 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 57
Free PE 1
Allocated PE 56
PV UUID GmT4UA-X3QN-QkGd-pMls-iIlp-UIUd-dmnE5F
[root at vulcan ~]# pvdisplay /dev/hda2
--- Physical volume ---
PV Name /dev/hda2
VG Name VolGroup00
PV Size 186.21 GB / not usable 21.74 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 5958
Free PE 1
Allocated PE 5957
PV UUID 02l6cp-88zz-4lbU-3Nut-cb04-5Bkj-yUHkRZ
More information about the linux-lvm
mailing list