Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

how to rename a volume group in hpux 11i

Manikandan_9
Occasional Contributor

how to rename a volume group in hpux 11i

Hai

I am having hpux 11i server.I want to rename a volume group.(active vg).pls help me.
1 REPLY
Bill Costigan
Honored Contributor

Re: how to rename a volume group in hpux 11i

The supported way would be to export it with vgexport and then reimport in under the new name.

old name = vgold
new name = vgnew

ll /dev/vgold/group
record the minor number.

vgchange -a n /dev/vgold
vgexport -s -m /tmp/vgold.map /dev/vgold
mkdir /dev/vgnew
mknod /dev/vgnew/group c 64 0x##0000
(same 0x##0000 number as used with /dev/vgold)

vgimport -s -m /tmp/vgold.map /dev/vgnew
vgchange -a y /dev/vgnew