Re: Locked rootvg

From: Patrick B. O'Brien (pobrien@DOIT.NV.GOV)
Date: Mon May 24 2004 - 14:14:14 EDT


How about a 'syncvg -v rootvg'?

-----Original Message-----
From: Ignacio Vidal [mailto:ividal@BIYCSA.COM.AR]
Sent: Monday, May 24, 2004 11:07 AM
To: aix-l@Princeton.EDU
Subject: Re: Locked rootvg

Bill:
I tryed that.
When I "run synclvodm -v rootvg", a message indicating that I shoud execute varyonvg appears.
When I run "varyonvg rootvg", I get a message like "LVM system call returned an unknown error code (3)"
And everything starts again...

Regards

Ignacio

> -----Mensaje original-----
> De: Bill Verzal [mailto:BVerzal@KOMATSUNA.COM]
> Enviado el: Monday, May 24, 2004 2:56 PM
> Para: aix-l@Princeton.EDU
> Asunto: Re: Locked rootvg
>
>
> The pre-existent lock was put there by something. Do you
> know what it was
> ?
>
> Did you try 'synclvodm -v rootvg' ?
>
> BV
> --------------------------------------------------------
>
> If the speed of light is 299792458 m / s, what is the speed of dark?
>
> Bill Verzal
> AIX Administrator, Komatsu America
> (847) 970-3726 - direct
> (847) 970-4184 - fax
>
>
>
> Ignacio Vidal
> <ividal@BIYCSA.CO
> M.AR>
> To
> Sent by: IBM AIX aix-l@Princeton.EDU
> Discussion List
> cc
> <aix-l@Princeton.
> EDU>
> Subject
> Re: Locked rootvg
>
> 05/24/2004 02:44
> PM
>
>
> Please respond to
> IBM AIX
> Discussion List
> <aix-l@Princeton.
> EDU>
>
>
>
>
>
>
> I thought that chfs failed "because" of the lock on rootvg
> (the lock was
> pre-existent).
>
> I tryed redefinevg (as suggested by Simon) but the result was:
>
> # redefinevg -d hdisk0 rootvg
> 0516-574 redefinevg: Volume Group name rootvg is already used.
> 0516-621 redefinevg: The Device Configuration Database is
> inconsistent.
> Execute exportvg rootvg followed by importvg to synchronize
> the database.
> # lsvg -o
> vgfnclpatch
> (... more vg's ...)
> 0516-304 : Unable to find device id 000f8baf3322d3af in the Device
> Configuration Database.
> vgid=000f8baf3322d3af
> #
> # redefinevg -i 000f8baf3322d3af rootvg
> 0516-574 redefinevg: Volume Group name rootvg is already used.
> 0516-621 redefinevg: The Device Configuration Database is
> inconsistent.
> Execute exportvg rootvg followed by importvg to synchronize
> the database.
>
> #
>
>
> The question, now, is: can I execute an exportvg/importvg
> without problems
> for data (is it safe...)?
>
> Thanks
>
> Ignacio
>
>
>
>
>
> > -----Mensaje original-----
> > De: Bill Verzal [mailto:BVerzal@KOMATSUNA.COM]
> > Enviado el: Monday, May 24, 2004 11:24 AM
> > Para: aix-l@Princeton.EDU
> > Asunto: Re: Locked rootvg
> >
> >
> > So evidently the 'chfs' command failed when you tried to add
> > space - which
> > left you with the locked VG.
> >
> > BV
> > --------------------------------------------------------
> >
> > If the speed of light is 299792458 m / s, what is the speed of dark?
> >
> > Bill Verzal
> > AIX Administrator, Komatsu America
> > (847) 970-3726 - direct
> > (847) 970-4184 - fax
> >
> >
> >
> > Ignacio Vidal
> > <ividal@BIYCSA.CO
> > M.AR>
> > To
> > Sent by: IBM AIX aix-l@Princeton.EDU
> > Discussion List
> > cc
> > <aix-l@Princeton.
> > EDU>
> > Subject
> > Re: Locked rootvg
> >
> > 05/24/2004 11:12
> > AM
> >
> >
> > Please respond to
> > IBM AIX
> > Discussion List
> > <aix-l@Princeton.
> > EDU>
> >
> >
> >
> >
> >
> >
> > Bill:
> > During this weekend I have not logged into the system, nor
> > the operators.
> > The only error was referred to a full /home file system, I
> > "reached" this
> > problem when I tried to add more free space to that filesystem.
> > On the other hand, the system doesn't seem to have any
> problem at all.
> >
> >
> > Ignacio
> >
> >
> >
> >
> > > -----Mensaje original-----
> > > De: Bill Verzal [mailto:BVerzal@KOMATSUNA.COM]
> > > Enviado el: Monday, May 24, 2004 11:08 AM
> > > Para: aix-l@Princeton.EDU
> > > Asunto: Re: Locked rootvg
> > >
> > >
> > > Time for more background. Please describe what you were
> > > doing when this
> > > happened. What was running on the LVM before this happened
> > > and what have
> > > you done since ?
> > >
> > > BV
> > > --------------------------------------------------------
> > >
> > > If the speed of light is 299792458 m / s, what is the
> speed of dark?
> > >
> > > Bill Verzal
> > > AIX Administrator, Komatsu America
> > > (847) 970-3726 - direct
> > > (847) 970-4184 - fax
> > >
> > >
> > >
> > > Ignacio Vidal
> > > <ividal@BIYCSA.CO
> > > M.AR>
> > > To
> > > Sent by: IBM AIX aix-l@Princeton.EDU
> > > Discussion List
> > > cc
> > > <aix-l@Princeton.
> > > EDU>
> > > Subject
> > > Re: Locked rootvg
> > >
> > > 05/24/2004 10:48
> > > AM
> > >
> > >
> > > Please respond to
> > > IBM AIX
> > > Discussion List
> > > <aix-l@Princeton.
> > > EDU>
> > >
> > >
> > >
> > >
> > >
> > >
> > > Bill:
> > > I tryed that, and got:
> > >
> > > # chvg -u rootvg
> > > 0516-328 putlvodm: Identifier not entered.
> > > Usage:
> > > putlvodm [-a IntraPolicy] [-B label] [-c Copies] [-e
> > > InterPolicy]
> > > [-L LVid] [-l LVname] [-n NewLVName] [-r
> > Relocate] [-s
> > > Strict]
> > > [-t Type] [-u UpperBound] [-y Copyflag]
> > > [-z Size] [-S StripeSize] LVid
> > > putlvodm [-o Auto-on] [-k] [-K] [-q VGstate]
> > > [-v VGname] [-V] VGid
> > > putlvodm [-p VGid] [-P] PVid
> > > 0516-732 chvg: Unable to change volume group rootvg.
> > > #
> > >
> > >
> > > It is like if I cannot see rootvg.
> > > Any other idea?
> > > Do you need more data?
> > > Thanks a lot!
> > >
> > > Ignacio
> > >
> > >
> > >
> > > > -----Mensaje original-----
> > > > De: Bill Verzal [mailto:BVerzal@KOMATSUNA.COM]
> > > > Enviado el: Monday, May 24, 2004 10:46 AM
> > > > Para: aix-l@Princeton.EDU
> > > > Asunto: Re: Locked rootvg
> > > >
> > > >
> > > > chvg -u rootvg
> > > > --------------------------------------------------------
> > > >
> > > > If the speed of light is 299792458 m / s, what is the
> > speed of dark?
> > > >
> > > > Bill Verzal
> > > > AIX Administrator, Komatsu America
> > > > (847) 970-3726 - direct
> > > > (847) 970-4184 - fax
> > > >
> > > >
> > > >
> > > > Ignacio Vidal
> > > > <ividal@BIYCSA.CO
> > > > M.AR>
> > > > To
> > > > Sent by: IBM AIX aix-l@Princeton.EDU
> > > > Discussion List
> > > > cc
> > > > <aix-l@Princeton.
> > > > EDU>
> > > > Subject
> > > > Locked rootvg
> > > >
> > > > 05/24/2004 10:30
> > > > AM
> > > >
> > > >
> > > > Please respond to
> > > > IBM AIX
> > > > Discussion List
> > > > <aix-l@Princeton.
> > > > EDU>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hello:
> > > > After I've observed that rootvg is in "locked" status,
> y tryed the
> > > > following:
> > > >
> > > >
> > > > # varyonvg -b rootvg
> > > > 0516-008 varyonvg: LVM system call returned an unknown
> > > > error code (3).
> > > > # echo $?
> > > > 3
> > > > #
> > > > # lsvg rootvg
> > > > 0516-010 : Volume group must be varied on; use varyonvg command.
> > > > #
> > > >
> > > > How can I recover from this failure?
> > > > Thanks in advance
> > > >
> > > > Ignacio
> > > >
> > >
> >
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:56 EDT