Operating System - HP-UX
1752822 Members
4227 Online
108789 Solutions
New Discussion

Need vgimport with correct lvm name

 
SOLVED
Go to solution
Aungshuman Paul
Regular Advisor

Re: Need vgimport with correct lvm name

Thanks Svetoslav Gyurov. I can successfully reover the LVM.

vgimport -v -m vgtest1.map /dev/vgtest1 /dev/dsk/c0t2d0

Beginning the import process on Volume Group "/dev/vgtest1".
Logical volume "/dev/vgtest1/lvtest2" has been successfully created
with lv number 2.
Logical volume "/dev/vgtest1/lvtest1" has been successfully created
with lv number 1.
vgimport: Volume group "/dev/vgtest1" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.


Aungshu
stephen peng
Valued Contributor

Re: Need vgimport with correct lvm name

sorry about my typo. you should relate your vgepxort to your vgimport behavier. and just read the man page of vgexport and vgimport, you will get more understanding.