Operating System - HP-UX
1830608 Members
3152 Online
110015 Solutions
New Discussion

vgcfgrestore and vgimport

 
P Arumugavel
Respected Contributor

vgcfgrestore and vgimport

Hi,

Can I import a whole VG to a newserver using vg conf file with command vgcfgrestore?

Thanks in advance for replies...
5 REPLIES 5
likid0
Honored Contributor

Re: vgcfgrestore and vgimport

Nope, you should use the map file, here you have examples, similar to your case:

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1287998746563+28353475&threadId=1438933
Windows?, no thanks
Viktor Balogh
Honored Contributor

Re: vgcfgrestore and vgimport

> you should use the map file

..or, if you don't care about the name of the lvols and you know the device names which belong to the same luns, you can import the volume group by feeding vgimport with those device names. Anyway, an import trough the cfg file doesn't work.

****
Unix operates with beer.
P Arumugavel
Respected Contributor

Re: vgcfgrestore and vgimport

Hi,

When I use vgcfgrestore to repace the failed disk in a VG with a disk which contains data and used in a VG previously, what will happen? My data will remain or will be cleaned on new disk?
vishnu.khandare
Respected Contributor

Re: vgcfgrestore and vgimport

Hi Vel,

Yes u can import the whole VG to new server,
for that u must take the map file. import the vg in case of SAN storage luns.
Copy that map file to new server and vgexport that vg.
no need to go for vgcfgrestore.

Hope this solves ur query.
Don't forget to assign points.


Regards
Vishnu Khandare
You should deserve before U desire!!!!
P Arumugavel
Respected Contributor

Re: vgcfgrestore and vgimport

Thanks...