Re: Boot configuration problem

From: Holger.VanKoll@SWISSCOM.COM
Date: Mon Mar 15 2004 - 11:57:42 EST


and after running this (or manually deleting hd5 from odm) you still cannot recreate hd5 ??
error-msgs?

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Antonio R.
Sent: Monday, March 15, 2004 5:50 PM
To: aix-l@Princeton.EDU
Subject: Re: Boot configuration problem

Yes, I know it; That's rvgrecover script.... but it doesn't correct my problem.

> i fixed a similar problem with this script
>
>
> PV=hdisk0 # check this
> VG=rootvg
> cp /etc/objrepos/CuAt /etc/objrepos/CuAt.$$
> cp /etc/objrepos/CuDep /etc/objrepos/CuDep.$$
> cp /etc/objrepos/CuDv /etc/objrepos/CuDv.$$
> cp /etc/objrepos/CuDvDr /etc/objrepos/CuDvDr.$$
> lqueryvg -Lp $PV | awk '{print $2}' | while read LVname;
> do
> odmdelete -q "name=$LVname" -o CuAt
> odmdelete -q "name=$LVname" -o CuDv
> odmdelete -q "value3=$LVname" -o CuDvDr
> done
> odmdelete -q "name=$VG" -o CuAt
> odmdelete -q "parent=$VG" -o CuDv
> odmdelete -q "name=$VG" -o CuDv
> odmdelete -q "name=$VG" -o CuDep
> odmdelete -q "dependency=$VG" -o CuDep
> odmdelete -q "value1=10" -o CuDvDr
> odmdelete -q "value3=$VG" -o CuDvDr
> importvg -y $VG $PV # ignore lvaryoffvg errors
> varyonvg $VG
>
>
>
>
> -----Original Message-----
> From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Antonio R.
> Sent: Monday, March 15, 2004 5:05 PM
> To: aix-l@Princeton.EDU
> Subject: Re: Boot configuration problem
>
>
> I've tried it also.
>
> When I execute it, the lslv hd5 command never goes until a new reboot.
>
>
>
>
>
> > Perhaps the "redefinevg" command will help?
> >
> > --
> > Simon Green
> > Altria ITSC Europe Ltd
> >
> > AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
> >
> > New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
> >
> > N.B. Unsolicited email from vendors will not be appreciated.
> > Please post all follow-ups to the list.
> >
> > > -----Original Message-----
> > > From: Antonio R. [mailto:arv@VODAFONE.ES]
> > > Sent: 15 March 2004 13:42
> > > To: aix-l@Princeton.EDU
> > > Subject: Re: Boot configuration problem
> > >
> > >
> > > I did so, but I didnīt attach to my reply..
> > >
> > <SNIP>
> > >
> > > > So try it without specifying the LV.
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Antonio R. [mailto:arv@VODAFONE.ES]
> > > > > Sent: 15 March 2004 11:56
> > > > > To: aix-l@Princeton.EDU
> > > > > Subject: Re: Boot confoguration problem
> > > > >
> > > > >
> > > > > Problem continue ....
> > > > >
> > > > > # synclvodm -v rootvg hd5
> > > > > synclvodm: Physical volume data updated.
> > > > > 0516-532 synclvodm: logical volume hd5 not found in volume
> > > > > group rootvg.
> > > > > #
> > > > <SNIP>
> >
>



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