Re: disk missing in a VG

From: Fette, Gustavo (gustavo.fette@EDS.COM)
Date: Thu May 06 2004 - 09:27:29 EDT


We tried that without success...

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Bill
Verzal
Sent: Thursday, May 06, 2004 10:17 AM
To: aix-l@Princeton.EDU
Subject: Re: disk missing in a VG

So you ran the 'odmdelete' commands from earlier in the thread ?

Try a 'synclvodm -v rootvg'

BV
--------------------------------------------------------

"If everything is coming your way, then you are in the wrong lane"

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

             "Fette, Gustavo"
             <gustavo.fette@ED
             S.COM> To
             Sent by: IBM AIX aix-l@Princeton.EDU
             Discussion List cc
             <aix-l@Princeton.
             EDU> Subject
                                       Re: disk missing in a VG

             05/06/2004 08:07
             AM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

Remember that the disk in no longer in the system...

root # unmirrorvg rootvg hdisk1
0516-306 getlvodm: Unable to find physical volume hdisk1 in the Device
        Configuration Database.
0516-1135 unmirrorvg: The unmirror of the volume group failed.
        The volume group is still partially or fully mirrored.
USMITR_F50-[/]
root # unmirrorvg rootvg 000222305dee2c41
0516-304 getlvodm: Unable to find device id 000222305dee2c410000000000000000
in the Device
        Configuration Database.
0516-1135 unmirrorvg: The unmirror of the volume group failed.
        The volume group is still partially or fully mirrored.

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Bill
Verzal
Sent: Thursday, May 06, 2004 9:55 AM
To: aix-l@Princeton.EDU
Subject: Re: disk missing in a VG

"unmirrorvg rootvg hdisk1"

Then reducevg by PVID.

BV
--------------------------------------------------------

"If everything is coming your way, then you are in the wrong lane"

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

             "Fette, Gustavo"
             <gustavo.fette@ED
             S.COM> To
             Sent by: IBM AIX aix-l@Princeton.EDU
             Discussion List cc
             <aix-l@Princeton.
             EDU> Subject
                                       Re: disk missing in a VG

             05/06/2004 07:43
             AM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

 What I'm doing is umounting the filesystems ie /home /SYBASE125 etc...
That
way and using reducevg -d rootvg 000222305dee2c41 I'm deleting the PPs
but... I cannot umount hd8 hd6, etc...

Have to boot from disk or tape? There's another way to delete those PPs?

-----Original Message-----
From: Fette, Gustavo
Sent: Thursday, May 06, 2004 9:19 AM
To: 'IBM AIX Discussion List'
Subject: RE: disk missing in a VG

Look at this:

root # lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 1 1 closed/syncd N/A
hd6 paging 16 32 2 open/stale N/A
paging00 jfs 45 45 1 closed/syncd N/A
paging01 paging 45 45 1 open/syncd N/A
hd8 jfslog 1 2 2 open/stale N/A
hd4 jfs 6 12 2 open/stale /
hd2 jfs 117 234 2 open/stale /usr
hd9var jfs 3 3 1 open/syncd /var
hd3 jfs 7 7 1 open/syncd /tmp
hd1 jfs 2 4 2 open/stale /home
SYBASE125 jfs 160 320 2 open/syncd /SYBASE125
master sybasedb 12 24 2 open/stale N/A
sybprocs sybasedb 19 38 2 open/syncd N/A
hd10opt jfs 3 3 1 closed/syncd /opt

I had PVs mirrored with mklvcopy into hdisk1, the IBM guy fisically removed
the disk... Now that this doen't belong to the system anymore.

Because I have partitions on the disk (apparently because the fisical disk
don't exists anymore...) I had to run this:

root # reducevg -d rootvg 000222305dee2c41
0516-914 rmlv: Warning, all data belonging to logical volume
        hd1 on physical volume 000222305dee2c41 will be destroyed.
rmlv: Do you wish to continue? y(es) n(o)? Y

But got this error:

0516-1008 rmlv: Logical volume hd1 must be closed. If the logical
        volume contains a filesystem, the umount command will close
        the LV device.
0516-884 reducevg: Unable to remove physical volume 000222305dee2c41.

Do you guys understand the situation?

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Bill
Verzal
Sent: Wednesday, May 05, 2004 6:14 PM
To: aix-l@Princeton.EDU
Subject: Re: disk missing in a VG

reducevg rootvg 000222305dee2c41

You can remove it by PVID.

BV
--------------------------------------------------------

"If everything is coming your way, then you are in the wrong lane"

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

             "Fette, Gustavo"
             <gustavo.fette@ED
             S.COM> To
             Sent by: IBM AIX aix-l@Princeton.EDU
             Discussion List cc
             <aix-l@Princeton.
             EDU> Subject
                                       Re: disk missing in a VG

             05/05/2004 04:01
             PM

             Please respond to
                  IBM AIX
              Discussion List
             <aix-l@Princeton.
                   EDU>

The disk was removed... but the problem is in the volume group... is still
looking for the ID of the old disk... that's what we have to delete...

From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Patrick B. O'Brien
Sent: Wednesday, May 05, 2004 5:37 PM
To: aix-l@Princeton.EDU
Subject: Re: disk missing in a VG

I'd first get another PV in rootvg and see if aix will let you mirror stuff
up quickly before you go any farther.

I'm sure others have more ideas, I'm thinking of doing the below, then run
cfgmgr and the replacement PV should be assigned hdisk1.

odmdelete -q name=hdisk1 -o CuDv
odmdelete -q name=hdisk1 -o CuAt
odmdelete -q name=hdisk1 -o CuVPD
odmdelete -q value3=hdisk1 -o CuDvDr

Then of course, perform your mirroring steps on hdisk1.

I could be wrong.

      -----Original Message-----
      From: Fette, Gustavo [mailto:gustavo.fette@EDS.COM]
      Sent: Wednesday, May 05, 2004 1:15 PM
      To: aix-l@Princeton.EDU
      Subject: disk missing in a VG

      Hi everyone!!!

                                  I had problems with one disk (internal
      SCSI hdisk1) called IBM technician... the "clever" guy said the disk
      was bad and fisically remoed it without removing the logical
      partition copies and the hdisk1 from the Volume Group...

      Now I'm having this:

      root # lsvg -p rootvg
      rootvg:
      PV_NAME PV STATE TOTAL PPs FREE PPs FREE
      DISTRIBUTION
      hdisk0 active 537 148
      40..16..00..00..92
      0516-304 lsvg: Unable to find device id 000222305dee2c41 in the
      Device
              Configuration Database.
      000222305dee2c41 missing 537 146
      16..13..00..09..108
      hdisk1 active 537 537
      108..107..107..107..108

      As you see I have the new disk as hdisk1 good, but still have the old
      hdisk1 with its ID in the system, does anyone of you know how to
      remove it?

      Best regards,

      Gustavo Fette
      MMH - GOSD
      EDS Argentina
      Arias 1851 - Buenos Aires
      Phone: +54 11 4704-3403
      Mobile: +54 9 11 5110-2325



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