Re: Replacing Failing SSA Disk

From: Green, Simon (Simon.Green@EU.ALTRIA.COM)
Date: Tue Mar 09 2004 - 12:06:50 EST


That's not quite how I'd do it.
If you have a free SSA slot, my preferred mechanism would be...

lspv Note which disks you've got.
Insert new disk
cfgmgr -l ssar I don't care if the new disk is a different number.
lspv See what the new one is.
migratepv hdisk17 hdiskXX
reducevg oravg hdisk17
ssaxlate -l hdisk17 To get the pdisk...
rmdev -dl hdisk17
rmdev -dl pdiskNN
Remove the defective disk

This way, you maintain the mirror at all times. It also minimises the
amount of I/O if you have LVs spanning disks.

If you're desperate to keep the disk as hdisk17, or don't have a free slot
then do it your way, but don't forget to remove the pdisk as well as the
hdisk.

--
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: Tim Muller [mailto:aix_sa_706@YAHOO.COM]
> Sent: 09 March 2004 16:22
> To: aix-l@Princeton.EDU
> Subject: Replacing Failing SSA Disk
>
>
> I am getting an SSA_DISK_ERR4 error on my J40 running
> AIX 4.3.3.  The disk is in a mirrored VG.  I have
> never replaced a disk on a running system before, so
> I'd feel better if someone would look over the
> procedure I'm planning to follow and let me know if I
> am overlooking anything.  Thanks very much.
>
> unmirrorvg oravg hdisk17
> reducevg oravg hdisk17
> rmdev -l hdisk17 -d
> [replace disk drive, let the drive be renamed hdisk17]
> extendvg oravg hdisk17
> mirrorvg oravg


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