cancel
Showing results for 
Search instead for 
Did you mean: 

vgimport

 
SOLVED
Go to solution
fizan
Super Advisor

vgimport

# vgimport -m vgp4today.map -N -v -s /dev/vgxp4
Beginning the import process on Volume Group "/dev/vgp4".
Bad or no VGID in mapfile vgxp4today.map.

Thanks
4 REPLIES
fizan
Super Advisor

Re: vgimport

cat vgp4today.map
1 lvol1
2 lvol2
3 lvol3
4 lvol4
5 lvol5
6 lvol6
7 lvol7
8 lvol8
9 lvol9
10 lvol10
11 lvol11
12 lvol12
13 lvol13
14 lvol14
Shrikant Lavhate
Esteemed Contributor
Solution

Re: vgimport

ManojK_1
Valued Contributor

Re: vgimport


Hi,

The issue is because you were not given -s option while taking the vg backup using vgexport.

No wyou can restore this vg by the following steps.

mv /etc/lvmtab /tmp/lvmtab
vgscan -v

Manoj K
Thanks and Regards,
Manoj K
fizan
Super Advisor

Re: vgimport

finally got the solution with shrikanth's link posted.

Thanks.