Re: Break root mirror on AIX 4.3.3
- From: "rs6000er" <rs6000er@xxxxxxxx>
- Date: 28 Aug 2006 09:52:26 -0700
take a look the following.
Breaking the mirror
# unmirrorvg rootvg hdisk1
You will receive information messages explaining the following:
0516-1246 rmlvcopy: If hd5 is the boot logical volume, please run 'chpv
-c '
as root user to clear the boot record and avoid a potential boot
off an old boot image that may reside on the disk from which
this logical volume is moved/removed.
0516-1132 unmirrorvg: Quorum requirement turned on, reboot system for
this to take effect for rootvg.
0516-1144 unmirrorvg: rootvg successfully unmirrored, user should
perform bosboot of system to reinitialize boot records. Then, user
must modify bootlist to just include: hdisk0.
At this point, take the recommended actions of clearing the boot image
(chpv -c hdisk#) and of updating the bootlist:
# bosboot -ad /dev/hdisk0
# bootlist -m normal cd# hdisk# etc..
If you are to permanently stay with one hdisk in rootvg, you will also
want to reboot the system so that quorum will be turned back on.
Also, if you have a dedicated dump device, you will need to make sure
that you have created a new dump device on the existing good drive and
then reassign the primary dump device to be a logical volume on the
existing drive. In example, after the unmirrorvg command finishes, you
should see the following:
# lspv -l hdisk1
dumplv
At this point, if hdisk1 is still active, you can simply do a migratepv
to move the dumplv from hdisk1 to hdisk0.
# migratepv -l dumplv hdisk1 hdisk0
However, if the drive is in a missing state or has gone bad, then you
would need to do the following:
# lslv dumplv ---> get the characteristics of the logical volume so
that
you can recreate it
LOGICAL VOLUME: dumplv VOLUME GROUP: rootvg
LV IDENTIFIER: 00097c7f00004c00000000e9732a0422.16 PERMISSION:
read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: sysdump WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 16
megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 20 PPs: 20
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: N/A LABEL: None
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
# sysdumpdev -Pp /dev/sysdumpnull --> this reassigns the dump device
permanently to sysdumpnull, so that you can remove dumplv without any
problems
# rmlv dumplv --> after you remove dumplv, you are now free to recreate
it
# mklv -t sysdump -y dumplv rootvg 20 hdisk0 --> recreates dumplv on
hdisk0
# sysdumpdev -Pp /dev/dumplv --> assigns the primary dump device to be
dumplv once again
# reducevg rootvg hdisk1
# rmdev -dl hdisk#
Now, the system administrator is free to remove the hot-swap drive by
the following procedure.
Additional commands:
# ipl_varyon -i --> tells what drives are bootable
# bootlist -om normal --> tells what devices you have in the bootlist
Frank
abhishektvr@xxxxxxxxx wrote:
Hi i want to upgrade my AIX 4.3.3 to 5.3 on my RS/6000 , for this i
need to break the root mirror which is rootvg , verify the bootlist
order, create boot record , verify the LP/PP status and perform mksysb
on the single rootvg disk ....Please advise on the necessary
steps....Thanks in advance..
.
- References:
- Break root mirror on AIX 4.3.3
- From: abhishektvr
- Break root mirror on AIX 4.3.3
- Prev by Date: Restore from mksysb CD's
- Next by Date: Re: Restore from mksysb CD's
- Previous by thread: Break root mirror on AIX 4.3.3
- Next by thread: Re: Break root mirror on AIX 4.3.3
- Index(es):
Relevant Pages
|