1834284 Members
2983 Online
110066 Solutions
New Discussion

vgexport

 
SOLVED
Go to solution
Igor Sovin
Super Advisor

vgexport

Hi!

I need some help on LVM.
When I try to make a map file of volume group? I get some error, and I'm wondering what the reason could be.

I do the following

# /usr/sbin/vgexport -m /home/rootvip/vgMED.map.03092004 -p -v /dev/vgMED/
Beginning the export process on Volume Group "/dev/vgMED/".
vgexport: Couldn't read the internal id of volume group "/dev/vgMED/" from "/etc/lvmtab".
vgexport: Couldn't export volume group "/dev/vgMED/".

what did I do wrong?
thanx
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor
Solution

Re: vgexport

Hi,

What you specified is a directory not a volume group. So either specify vgMED or /dev/vgEMD without trailing /.

/usr/sbin/vgexport -m /home/rootvip/vgMED.map.03092004 -p -v vgMED

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Igor Sovin
Super Advisor

Re: vgexport

Thank you!
Everything is ok now.
problem was in "/" at the end of the command.