Re: remove missing disk with ID only



Is this what you need?



With one drive missing out of the volume group.

Varyonvg -f dbvg

To remove the remaining info form the odm do the following:

1. lqueryvg -Atp hdisk2 (good disk)

2. This will return pvid information on the Physical line.

3. Pick the pvid that does not belong to the good disk.
The example will be an id like 001402438df89c55. (Use lspv to determine the
good one.)

4. Use lsvg -l dbvg to determine the logical volumes
associated with the bad volume group.

5. Issue a rmlvcopy lvname (yourlv name in this case) 1
your id for each logical volume name in the volume group.

6. When done you should notice lsvg -l dbvg is no longer
stale or mirrored.

7. Issue reducevg (your)vg your bad pvid

8. Issue rmdev -dl your bad pvid to finalize the cleanup.

















Kenny Madsen

3609 Peters Avenue

Morningside College

Sioux City, Iowa 51106

Ph. 712 274 5266



_____

From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Green, Simon
Sent: Friday, April 07, 2006 10:54 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: remove missing disk with ID only



Could you expand on this a little?
Do you mean that the failed disk still shows up in the volume group (lsvg
-p) or that it's not in the volume group but still appears to have a VGID?

What sort of disk is it? Is/was it part of an array or just a normal disk,
with mirroring controlled by LVM?



--
Simon Green
Altria ITSC Europe s.a.r.l.

AIX-L Archive at https://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: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Leyden, Joseph
Sent: 07 April 2006 15:52
To: aix-l@xxxxxxxxxxxxx
Subject: Re: remove missing disk with ID only

I had a mirror disk replaced and I can not get the old ID

on the bad disk 'reduced' from the volume group.



Whats the best way to clean this up?



Joe





Relevant Pages