Operating System - HP-UX
1825793 Members
2542 Online
109687 Solutions
New Discussion

Re: problem with vgimport

 
Venkat_11
Regular Advisor

problem with vgimport

We have taken export of a VG vg01 and after that the luns were presented through through different fibre cards which changed the controller number for physical devices one after we able to see physical devices with new controller number we tried to run vgimport command and we are getting the following error.

Please let me know if you need more details regarding this concern.

vgexport command used to export VG

vgexport -pvs -m /opt.mig/map.vg01

# vgimport -vs -m /opt/mig/map.vg01 vg01
Beginning the import process on Volume Group "vg01".
vgimport: The Physical Volumes specified on the command line
do not belong to the same Volume Group.
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: problem with vgimport

Hi Venkat,

Do you know the new disk(lun) device files of the vg01 volume group?

if yes, create a file in
example
# vi /tmp/disk.conf
/dev/dsk/c4t6d0
/dev/dsk/c4t7d0
/dev/dsk/c5t0d0
etc

# vgimport -f /tmp/disk.conf /dev/vg01

Regards,
Robert-Jan
Mridul Shrivastava
Honored Contributor

Re: problem with vgimport

I guess, it is a typo only, however just wanted to make sure the path specified:

vgexport -pvs -m /opt.mig/map.vg01 <---

# vgimport -vs -m /opt/mig/map.vg01 vg01 <---

see the difference in the path specified for map file.
Time has a wonderful way of weeding out the trivial