Operating System - HP-UX
1821639 Members
3306 Online
109633 Solutions
New Discussion юеВ

two identical disk in different VGs

 
SOLVED
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!
2 REPLIES 2
Torsten.
Acclaimed Contributor
Solution

Re: two identical disk in different VGs

you need to use vgchgid, then vgimport.

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

Re: two identical disk in different VGs

Hi Stephen:

Yes,

# 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

rgs,