Re: migratepv... is there an AIX 4.3 equivalent?
- From: "John Hoover" <john.hoover@xxxxxxxxx>
- Date: 26 Feb 2007 08:29:05 -0800
Why not break the mirror? If the disk is failed anyway, the mirror is
practically useless...
Is it an SSA disk? This is the procedure I use for failed SSA disk in
a mirror:
You need to check the error logs to see what drives are bad.
errpt -a |grep pdisk
Do the following to check to see if the drives listed in the error log
show failed or good.
diag
Hit enter to proceed
Task Selection
SSA Service Aids
Link Verification
Return on d###:ssa0
Identify which pdisk goes with which hdisk
smit ssad
SSA Physical Disks
Show Physical to Logical SSA Disk Relationship
Verify that the one(s) that say missing are the same hdisk(s) as
above.
lsvg -p <vgname>
Write down the logical volume names from the following command so they
can be used later.
lspv -l hdisk# (# being the number of the hdisk from above)
Remove the mirrored copies from the drive being replaced. The
following is an example, please substitute data4 for the logical
volume name from above and hdisk3 for the hdisk it is on. The 1 is
for removing 1 copy.
rmlvcopy data4 1 hdisk3
Keep doing this for every logical volume on that disk
Type the following to see if you removed everything from that disk
before proceeding.
lspv -l hdisk# (# being the number of the hdisk from above)
Remove the failed disk from the volume group.
reducevg <vgname> hdisk#
Set the failed drive in Service Mode.
diag
Hit enter to proceed
Task Selection
SSA Service Aids
Set service mode
Select pdisk that is bad and hit return
Set or Reset Service Mode -- this will cause and amber light to come
on for the drive that needs replacement
Physically replace drive know.
Hit return on pdisk that was replaced and choose Set or Reset
Service Mode
Remove the hdisk and pdisk definitions from the system.
rmdev -dl hdisk#
rmdev -dl pdisk#
Reconfigure system to find new disk
cfgmgr
Check to see if the drive got added back in correctly.
lsdev -C |grep hdisk
lsdev -Cc pdisk
-If it was added back in correctly proceed on other wise go back to
the rmdev commands.
Add new disk into volume group.
extendvg <vgname> hdisk#
Recreate mirrored copies of logical volumes. The following is an
example, please substitute data4 for the logical volume name from list
created earlier and hdisk3 for the hdisk it is on. The 2 is for
adding a second copy.
mklvcopy data4 2 hdisk3
-Repeat until all logical volumes have done.
Resync the mirrored copies.
syncvg -p hdisk#
Check to see if all filesystems are synced up.
lsvg -l <vgname> |pg
-You need to check that the LV State says OPEN/SYNCD
HTH
John
On Feb 23, 1:25 pm, "p595pimp" <christiancolb...@xxxxxxxxx> wrote:
client has a failing HD (hdisk4), but the machine is a 10 year old
rs6000 with AIX 4.3.3. I know of a method to replace a failing disk
like this, without even breaking the mirror, using migratepv in AIX
5.3, but i don't think migratepv was introduced until AIX 5.1 or
so...
so...
is there an equivalent method to do this using AIX 4.3?
Thanks,
-P
.
- Follow-Ups:
- Re: migratepv... is there an AIX 4.3 equivalent?
- From: p595pimp
- Re: migratepv... is there an AIX 4.3 equivalent?
- References:
- migratepv... is there an AIX 4.3 equivalent?
- From: p595pimp
- migratepv... is there an AIX 4.3 equivalent?
- Prev by Date: Re: EST5EDT,M3.2.0,M11.1.0.. DST 4.3.3
- Next by Date: Re: URGENT- Select sytem call taking time !
- Previous by thread: Re: migratepv... is there an AIX 4.3 equivalent?
- Next by thread: Re: migratepv... is there an AIX 4.3 equivalent?
- Index(es):
Relevant Pages
|