Re: remove missing disk with ID only
- From: "Leyden, Joseph" <LeydenJ@xxxxxxxxx>
- Date: Fri, 7 Apr 2006 09:30:46 -0700
basically that was it but since I was working with rootvg
and one of the logical volume (hd6) was of type PAGING,
your number 5 below would not work bec it saw it as still
active.
-----Original Message-----
From: Kenny [mailto:madsen@xxxxxxxxxxxxxxx]
Sent: Friday, April 07, 2006 9:13 AM
To: aix-l@xxxxxxxxxxxxx
Subject: 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
<https://lists.princeton.edu/listserv/aix-l.html>
New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
<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
- Prev by Date: Re: remove missing disk with ID only
- Next by Date: Re: remove missing disk with ID only
- Previous by thread: Re: remove missing disk with ID only
- Next by thread: Re: remove missing disk with ID only
- Index(es):
Relevant Pages
- Kernel Panic in reading raw devices
... If a disk is ... If I postpone closing the missing disk by ...
send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: reinstallation of window xp
... You might contact Microsoft and explain about the missing disk. ... inventory
anymore. ... get a Ultra Fine point "Sharpie" and transcribe the PID ... (microsoft.public.windowsxp.general) - Re: Dynamic Disk
... error events in eventvwr.msc for errors that point to the SCSI card (if the missing
disk is on a SCSI card) ... error events in eventvwr.msc for errors that point to the
hard disk itself. ... (microsoft.public.windows.file_system) - Re: remove missing disk with ID only
... was that I could not even get to the bad disk. ... remove missing disk
with ID only ... Do You Yahoo!? ... Mail has the best spam protection around
... (AIX-L) - Re: Solaris 10 + SVM = What a Piece of Sh#t !!!
... > the root file system when mirroring the root file system on a 2 ...
Solaris SVM is the easiest ever volume manager ... (comp.unix.solaris)