Re: migratepv... is there an AIX 4.3 equivalent?



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


.



Relevant Pages

  • Solaris RAID failover problems
    ... My intent is to mirror the drives completely, ... Can't read disk label. ... WARNING: md: d10: needs maintenance ... WARNING: forceload of misc/md_trans failed ...
    (comp.unix.solaris)
  • Re: Huge Av Disk Queue Length
    ... Write performance = 130 per mirror ... Mixed performance at a 1:1 R:W ratio = 195 IOPS per mirror. ... (sort of like weighted fair queuing for disk performance). ... put a 3020 in each location with FCP shelves for the primary data and SATA ...
    (microsoft.public.exchange.admin)
  • Re: how i locate swap area
    ... what you have with the command 'vgdisplay -v vg00'. ... Why Mirror Copies is 0? ... it seems that you have no disk mirroring. ... Primary Partition Table: ...
    (comp.sys.hp.hpux)
  • Re: Using mirroring to replace drive?
    ... I upgrade and rebuild it. ... drive which happens to be the system disk. ... and mirror the failing drive on the new drive. ... upgrade to 7.0 after establishing the new good drives). ...
    (freebsd-questions)
  • Re: VxVM : Cant open /dev/vx/rdsk/bootdg/rootvol
    ... disk as explained in the document). ... before "Reattaching the plexes rootvol-01, swapvol-01, to the relevant ... of the root mirror and change the state of the rootdisk to detached. ... # vxplex att rootvol-01 rootvol-02 ...
    (comp.unix.solaris)