Operating System - HP-UX
1754420 Members
2604 Online
108813 Solutions
New Discussion юеВ

recover LVM after server relocation

 
Lee Tuck
New Member

recover LVM after server relocation

How do I recover my FS from the SAN storage after I move my server to a remote site. The server is connected to a new remote san switch ISL linked to the existing SAN storage.
3 REPLIES 3
YoungHwan, Ko
Valued Contributor

Re: recover LVM after server relocation

Before move your server, you have to vgexport to backup Volume group map file.
#vgchange -a n /dev/vgXX
#vgexport -s -m /tmp/vgXX.map /dev/vgXX

After move your server, import map file with -s option.
#ioscan -fnC disk
#insf
#vgimport -s -m /tmp/vgXX.map /dev/vgXX
#vgchange -a y /dev/vgXX

Confirm your map file.
# strings /etc/lvmtab

Regards.
Lee Tuck
New Member

Re: recover LVM after server relocation

Ok! understand , thanks you for the help.
Lee Tuck
New Member

Re: recover LVM after server relocation

Thanks for the help.