Topic
  • 1 reply
  • Latest Post - ‏2011-07-13T22:56:36Z by klausk
SystemAdmin
SystemAdmin
706 Posts

Pinned topic New to linux, what is 2nd vg called VG VolGroup?

‏2011-07-13T15:23:24Z |
Stupid question here from a newbie to linux. It seems like just 1 volume group (rootvg) would have been created when I loaded the os but pvscan lists 2 vg's: vg_ulrhadm (ulrhadm is my system name) and vg_VolGroup. Why are there 2 volume groups showing? Is there a way to rename the rootvg one to rootvg? Also why do these show completely full? Here is my output:
root@ulrhadm ~# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/mpathap3 vg_ulrhadm lvm2 a- 15.50g 0
/dev/mapper/mpathbp2 VolGroup lvm2 a- 15.51g 0
root@ulrhadm ~# vgdisplay
--- Volume group ---
VG Name vg_ulrhadm
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 15.50 GiB
PE Size 4.00 MiB
Total PE 3969
Alloc PE / Size 3969 / 15.50 GiB
Free PE / Size 0 / 0
VG UUID LVVUvo-rjO7-p16u-vdre-s0GO-BhkY-wm7ime

--- Volume group ---
VG Name VolGroup
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 15.51 GiB
PE Size 4.00 MiB
Total PE 3970
Alloc PE / Size 3970 / 15.51 GiB
Free PE / Size 0 / 0
VG UUID hPBW6x-CGr4-xCqF-YIZV-zxmt-2RH5-1rKTdW
Updated on 2011-07-13T22:56:36Z at 2011-07-13T22:56:36Z by klausk
  • klausk
    klausk
    13 Posts

    Re: New to linux, what is 2nd vg called VG VolGroup?

    ‏2011-07-13T22:56:36Z  
    from your 'pvs' output, you there are two "Physical Volumes", each part of a different Volume Group.

    Since both PVs are device-mapped ones, I'm not sure if they are local or if you could be using multi-path to an external storage.

    In any case, if in you last OS deployment you created the "VolGroup" Volume Group, the other one appears to be pre-existing to your install.. Maybe a left-over?

    -Klaus