1833589 Members
4266 Online
110061 Solutions
New Discussion

Re: vg prob

 
RAKUNTA
Frequent Advisor

vg prob

hi ,
i am trying to create vg in hp-ux 11i v3 system ,but it is giving below message..
can any one please reply me with best solution,,,,,


root@-domain name#vgdisplay -v vg01
vgdisplay: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.
best regards
rakunta
vgdisplay: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab_p" file.
vgdisplay: Cannot display volume group "vg01".
10 REPLIES 10
Torsten.
Acclaimed Contributor

Re: vg prob

You first need to create it (man vgcreate), then you can display it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
RAKUNTA
Frequent Advisor

Re: vg prob

hi trsten

i created all like
dir,mknod ,vg

but why it is getting
Bill Hassell
Honored Contributor

Re: vg prob

You must activate the new VG:

vgchange -a y vg01


Bill Hassell, sysadmin
Torsten.
Acclaimed Contributor

Re: vg prob

Please post the commands you used to create the VG.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: vg prob

Hi:

> i created all like dir,mknod ,vg

Instead of showing pseudo commands, it would be nice to see the *actual* commands you issued. Is your minor number unique in your 'mknod'? Do you realize in 11.31 that the 'mkdir' and 'mknod' steps will be done by 'vgcreate' automatically if you choose? What happens if you do that?

Regards!

...JRF...
Horia Chirculescu
Honored Contributor

Re: vg prob

Standard procedure to create a VG is:

mkdir /dev/vg01

mknod /dev/vg01/group c 64 0xNN0000

vgcreate /dev/vg01 /dev/dsk/c?t?d?

What did you do?

Horia.
Best regards from Romania,
Horia.
Torsten.
Acclaimed Contributor

Re: vg prob

No, since march 2008 the standard is just


# vgcreate /dev/vgname /dev/disk/disk_



Did you do that?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
ManojK_1
Valued Contributor

Re: vg prob

Hi,

What is the output of "vgdisplay -v vg01"

Manoj K
Thanks and Regards,
Manoj K
shanmuhanandam
HPE Pro

Re: vg prob

Hi,

can you recreate the VG, and paste the output here. So that it can be easy for the forum to help you.

Thanks,
shan.
I am an HPE Employee

Accept or Kudo

Chandrahasa s
Valued Contributor

Re: vg prob

Hi,

In hpux v3 you no need to create directory like vg01 under /dev/

No need to create group file also.

Run command like:
pvcreate pvname
vgcreate vgname pvname

Example

#ioscan -m disk >> find disk persistent device file

pvcreate /dev/rdisk/disk25

vgcreate -s 64 vg01 /dev/disk/disk25

lvcreate -L size in MB vgname

newfs -F vxfs -o largefiles


Chandra