Skip to contentSkip to conversation

LVM2 Volume and Volume group naming nomenclature

linux-lvm Sam Rogers 6 participants 6 messages Jun 20, 2005 – Jun 22, 2005

lore
Share & tools
lore

Sam Rogers

author
#0 lore raw

Ok, I am not try to start a flame war here, but I run dab smack into a walk that shouldn't be there. I have managed HPUX for many years which is the inspiration for Linux's LVM, and yes I know H.P. did not invent LVM. And for the most part you guys have done a pretty good job. I know it is a lot of hard work that has gone into this software.

But there is a major problem. LVM2 will not (from what I can see) recognize volume group names like VG00. I do not understand? Why type Volgroup00 when VG00 is quicker. In the HPUX version you can name the volume group and logical volume anything you want. I don't see why we can't do the same. It took me over a year to figure why LVM2 was not working in an install until I gave up naming the volume group and let it default to Volgroup00.

I commend all the programmers for this project, but respectfully ask that you change/modify and or add the logical and volume naming feature to this great product.

Regards,

Sam Rogers.

P.S.
If this is already in development then please disregard this message.

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"SR" == Sam Rogers <[email protected]> writes:

SR> But there is a major problem. LVM2 will not (from what I can see) SR> recognize volume group names like VG00.

I think you must be confused, or you're not talking about what I think you are:

# vgdisplay

--- Volume group ---
VG Name vg0
[...]

Heck, you can call them whatever you want. I use "sys" and "data" on some of my machines. You can even rename them with vgrename.

- J<

#2 lore raw
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"SR" == Sam Rogers <[email protected]> writes:

I think you must be confused, or you're not talking about what I think you are:

And from a machine I just kickstarted today:

/dev/vg00/root
/dev/vg00/opt
/dev/vg00/usr
/dev/vg00/var
/dev/vg00/swap

You can probably guess where those have been mounted :) The only thing that's not under LVM control is /boot.

#3 lore raw
In reply to Jason L Tibbitts III
Quoted 8 lines · Jason L Tibbitts III
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"SR" == Sam Rogers <[email protected]> writes:

SR> But there is a major problem. LVM2 will not (from what I can see) SR> recognize volume group names like VG00.

I think you must be confused, or you're not talking about what I think you are:

Quoted 8 lines
# vgdisplay

--- Volume group ---
VG Name vg0
[...]

Heck, you can call them whatever you want. I use "sys" and "data" on some of my machines. You can even rename them with vgrename.

Ditto here....

machines 1 & 2:

# vgdisplay
  --- Volume group ---
  VG Name               raidvg
...

machine 3:

# vgdisplay 
--- Volume group ---
VG Name               Volume00

No idea what the O.P. is talking about.

Signature · 8 lines
Michael A. Gurski (opt. [first].)[last]@pobox.com  http://www.pobox.com/~[last]
1024R/39B5BADD PGP: 34 93 A9 94 B1 59 48 B7  17 57 1E 4E 62 56 45 70
1024D/1166213E GPG: 628F 37A4 62AF 1475 45DB  AD81 ADC9 E606 1166 213E
4096R/C0B4F04B GPG: 5B3E 75D7 43CF CF34 4042  7788 1DCE B5EE C0B4 F04B
Views expressed by the host do not reflect the staff, management or sponsors.

"Wherever a man comes, there comes revolution. The old is for slaves."
--Ralph Waldo Emerson
#4 lore raw
In reply to Sam Rogers

Not sure what problems you were having with creating your volume group but I freed up some disk space and created VG00 just to be sure:

le:~# vgcreate VG00 /dev/hda4
  Volume group "VG00" successfully created
le:~# vgdisplay VG00
  --- Volume group ---
  VG Name               VG00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  1
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               9.44 GB
  PE Size               4.00 MB
  Total PE              2417
  Alloc PE / Size       0 / 0
  Free  PE / Size       2417 / 9.44 GB
  VG UUID              
DFHRBm-Jxsv-ZYXG-PYPx-3pv0-vYj3-pRIe7O
Quoted 5 lines · --- Sam Rogers

But there is a major problem. LVM2 will not (from what I can see)
recognize volume group names like VG00. I do not understand? Why type
Volgroup00 when VG00 is quicker. In the HPUX version

Quoted 8 lines

you can name the
volume group and logical volume anything you want. I don't see why we
can't do the same. It took me over a year to figure why LVM2 was not
working in an install until I gave up naming the volume group and let it
default to Volgroup00.

__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail

#5 lore raw
In reply to Sam Rogers
Quoted 2 lines · Sam Rogers

But there is a major problem. LVM2 will not (from what I can see) recognize volume group names like VG00. I do not understand? Why type

I too come from hpux, so

[root@percy ~]# lvs
LV VG Attr LSize Origin Snap% Move Copy%
lvol1 vg00 -wi-ao 10.00G

 lvol2 vg00 -wi-ao  2.00G
 lvol3 vg00 -wi-ao  1.00G
 lvol4 vg00 -wi-ao  6.00G

lvol5 vg00 -wi-ao 19.92G
lvol6 vg00 -wi-ao 32.00G
lvol7 vg00 -wi-ao 8.00G
lvol8 vg00 -wi-ao 16.00G
lvol9 vg00 -wi-ao 8.00G

L.

Signature · 6 lines
Luca Berra -- [email protected]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \