vgexport/vgimport

 
SOLVED
Go to solution
RuudPeters
Occasional Advisor

vgexport/vgimport

Hello,

I have a server running with hp-ux 11.11. We intend to move the data which is on a san to a new server running hp-ux 11.31. Are there any known issues regarding to the vgexport on the 11.11 server and then the vgimport on the new server running 11.31 ?
Is it straight on ?
Regarding to the vgimport can I immediatly use the persistent device files on the 11.31 server?
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: vgexport/vgimport

Hi:

There are no issues with exporting and importing the volume groups nor should there be using the new persistent device files.

Regards!

...JRF...
Ganesan R
Honored Contributor

Re: vgexport/vgimport

Hi,

Since 11.31 supports both legacy and persistant device files you do not have any issue to import the VG
Best wishes,

Ganesh.
Avinash20
Honored Contributor

Re: vgexport/vgimport

No.. no known issues.

Only issue while upgrading.

Satisfy yourself by looking at the below link
http://docs.hp.com/en/5991-6460/apas01.html

Please dont forget to assign points to your thread :)

Good Luck !!


"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Sajjad Sahir
Honored Contributor

Re: vgexport/vgimport

Dear Ruud

There is no issue, make map files and import in second server.

thanks and regards

Sajjad Sahir
Emil Velez
Honored Contributor

Re: vgexport/vgimport


The filesystem structure on the disks should be vxfs version 4 or 3.5 so it should successfully mount on 11.31.

LVM is compatible for vgimport and vxvm should be able to import a older disk group.
Johnson Punniyalingam
Honored Contributor

Re: vgexport/vgimport

>>Regarding to the vgimport can I immediatly use the persistent device files on the 11.31 server?<<

Are you able to see same disks on (11.31)
coresponding to (hpux 11.11) .?

<>

Yes



vgexport -pvs -m /dev/vgxx

Copy the mapfile to the other node

Recreate the directory
>>>>mkdir -p /dev/vgxx

Recreate the VG group file
>>>mknod /dev/vgxx/group c 64 0xMM0000
where MM is a unique identifier (ex 01 for vg01)

Preview the vgimport to check for any possible error
>>>>vgimport -pvs -m /dev/vgxx
where mapfile is the one copied from the first node

If no error, remove the preview mode
>>>>vgimport -vs -m /dev/vgxx
Problems are common to all, but attitude makes the difference