1833680 Members
4736 Online
110062 Solutions
New Discussion

Re: vgexport

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

vgexport

Im trying to export my volume groups in case I need the map for an emergency import. I get the following error from the following command. I have the file systems unmounted.

vgexport -p -s -m /home/rmenefee/vg01.map /dev/vg01
vgexport: Volume group "/dev/vg01" is still active.
UNIX IS GOOD
4 REPLIES 4
John Poff
Honored Contributor
Solution

Re: vgexport

Hi Robert,

That message is normal. You should now have a map file named vg01.map that has your VGID and entries for your lvols. The message is just part of the vgexport machinery warning you that you are running the command against a volume group that is still active.

JP
Marco Santerre
Honored Contributor

Re: vgexport

As John mentionned, this is a normal message. You get this message by using the -p option which previews the vgexport actions without doing anything, hence the message that the vg is still active after the vgexport command. Your mapfile should be created after the end of your vgexport command.
Cooperation is doing with a smile what you have to do anyhow.
Pete Randall
Outstanding Contributor

Re: vgexport

Sorry, Robert, I guess I could have warned you when I gave you the command. Oh well, not to worry. And you don't have to have the filesystems unmounted with the -p option, either.

Pete

Pete
John Poff
Honored Contributor

Re: vgexport

Robert,

You had better be careful taking advice from that Pete Randall guy. You have to take his advice with a grain of sand, uh, I mean salt.

;)

JP