testlab12[barry] lsvg vg00
0516-366 lsvg: Volume group vg00 is locked. Try again.
When it first appeared, I thought someone else must be editing the LVM
database. The message has persisted, so that interpretation now seems
less correct.
What does the message signify? How do I unlock the volume group?
BTW, the script mentioned above uses "lsvg" and "lsvg -l" commands.
I wasn't running as root when I started getting the locked message.
Thanks,
Barry
----------------------------------------------------
Barry Wolman ba...@transarc.com
Transarc Corporation 412/338-4364 (voice)
707 Grant Street 412/338-4404 (fax)
Pittsburgh, PA 15219
: testlab12[barry] lsvg vg00
: 0516-366 lsvg: Volume group vg00 is locked. Try again.
: What does the message signify? How do I unlock the volume group?
The volume group is locked.
Try this:
putlvodm -K `getlvodm -v vg00`
A.G.
--
A.G. Russell High Order Software internet: arus...@bga.com
Phone 214-718-4655 210-599-9429 arus...@bifrost.bga.com
on location in Dallas, Texas 214-256-1027 arus...@onramp.net
These are my views, on anyone else they would look silly. FREE THE BERKELEY 4.4
When you do certain things to a VG, LV (and probably PV),
AIX will lock the VG so that nothing else can access it
while certain operations are performed.
Some AIX commands which are in script form can be interrupted
in the middle of doing something.If they have locked the VG and
get interrupted they leave this lock on.
If you try to access the VG again, via the LVM commands, then
you get this message.
read the /usr/lpp/bos/README and look for the word (putlvodm).
: ----------------------------------------------------
: Barry Wolman ba...@transarc.com
: Transarc Corporation 412/338-4364 (voice)
: 707 Grant Street 412/338-4404 (fax)
: Pittsburgh, PA 15219
--
Freddie Mendoza
Internet: a...@tkg.com
The Kernel Group Inc.