HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
Showing results for 
Search instead for 
Did you mean: 

two identical disk in different VGs

Go to solution
stephen peng
Valued Contributor

two identical disk in different VGs

for example, I have disk0 from XP on vg01, and then I shadowimage disk1 from disk0, can I vgexport -m vg01 and them vgimport the map to create vg02 to use disk1 for vg02? another question, how can I use vgexport and vgimport to rename a VG?

thank you for you reply!
Acclaimed Contributor

Re: two identical disk in different VGs

you need to use vgchgid, then vgimport.

Hope this helps!

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!   
Honored Contributor

Re: two identical disk in different VGs

Hi Stephen:


# vgexport -p -m vg01.map vg01
# vgchgid disk1

vgchgid - modify the Volume Group ID (VGID) on a given set of physical devices.

# mkdir /dev/vg02
# mknod /dev/vg02/group 64 0xnn0000
# vgimport -m vg01.map /dev/vg02 disk1
# ll /dev/vg02