Operating System - HP-UX
1753865 Members
7507 Online
108809 Solutions
New Discussion юеВ

Vgimport/export on AutoRAID 12H

 
SOLVED
Go to solution
Maarten van Maanen
Regular Advisor

Vgimport/export on AutoRAID 12H

I've done vgexport on vgimport on the systems disk of our K370 without much problems. Concerning this I have two questions.
1.) Does vgexport/vgexport work on a 12H AutoRAID system as well? And even if the LUN's have been deleted? I have no room on our 12H to try this myself at the moment.
2.)Is there a way to change the VG-name during vgimport? Say I used to have a vg02 but want to change that to a vg03.
2 REPLIES 2
John Palmer
Honored Contributor
Solution

Re: Vgimport/export on AutoRAID 12H

vgimport and vgexport work just the same for RAID volumes as for simple disks.

It won't work if you delete the LUN's though, that's equivalent to swapping a disk and expecting the new one to contain the same data as the old one.

Yes you can change the volume group name. vgexport/import is the recommended way for doing this.
Jim Mulshine
Frequent Advisor

Re: Vgimport/export on AutoRAID 12H

To rename vg02 to vg03 you need to create a directory and a group file for the new volume group name, for example:
# mkdir /dev/vg03
# mknod /dev/vg03/group c 64 0x030000
Then you need to vgimport from your map file previously created with vgexport, for example:
# vgimport -v -s -m mapfile /dev/vg03