Re: Replacing rootvg mirror disk



The command you're looking for is "rmdev -dl hdisk1". Aside from that,
you'll want to make sure it's in the bootlist and quorum is disabled so
it'll boot if it only has one good disk:

chvg -Qn rootvg
bosboot -ad hdisk1
bootlist -m normal hdisk0 hdisk1 (or cd0 hdisk0 hdisk1, or cd0 hdisk0 hdisk1
en0, or whatever you're using)
bootlist -m normal -o (will display the current bootlist)

You will probably want to go into 'diag' and verify you've got the right
disk by going into the SCSI hot swap manager (it's called something like
that) and doing an identify on hdisk1.

Other, more experienced voices on the list may also have suggestions about
dump devices and whatnot, personally I haven't fiddled with any of that.

--rm

_____

From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Karen K Boddy
Sent: Wednesday, January 16, 2008 1:04 PM
To: aix-l@xxxxxxxxxxxxx
Subject: Replacing rootvg mirror disk


I've only done this once before and it was quite a bit different situation.

hisk0 [rootvg] is mirrored to hdisk1. hdisk1 needs to be replaced. Running
AIX 5300-06-04. Is this sequence of commands corrrect?

unmirror rootvg hdisk1
reducevg rootvg hdisk1
I only know how to do this next step through smit:
Remove Disk from Operating System-Remove Disk without Data-select
appropriate disk and remove.

cfgmgr -v
Replace drive
cfgmgr -v
mirror -m rootvg hdisk1

I know I'm probably missing something and appreciate any input/advice.
Thank you,
Karen Boddy
Capital City Libraries


_____

Never miss a thing. Make Yahoo
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs> your homepage.



Relevant Pages

  • Copy/Mirror 2 identical disk (AIX 4.3.3)
    ... Now I intend to copy all of hdisk0 to the spare disk, ... extendvg rootvg hdisk1 ... mirrorvg -m rootvg hdisk1 ...
    (comp.unix.aix)
  • Re: Replacing rootvg mirror disk
    ... Subject: Replacing rootvg mirror disk ... The command you're looking for is "rmdev -dl hdisk1". ...
    (AIX-L)
  • Re: Replacing rootvg mirror disk
    ... Subject: Replacing rootvg mirror disk ... IBM Certificate of Proficiency - AIX Communications ... lspv -l hdisk1 ...
    (AIX-L)
  • Re: Cant configure hdisk
    ... Have you tried removing the hdisk1 device and then re-running cfgmgr? ... That should add the disk back as hdisk1. ...
    (AIX-L)
  • Re: Replacing rootvg mirror disk
    ... What kind of disk subsystem are we talking about? ... IBM Certified Advanced Technical Expert - RS/6000 AIX ... IBM Certificate of Proficiency - AIX Installation, ... The command you're looking for is "rmdev -dl hdisk1". ...
    (AIX-L)