Re: Break root mirror on AIX 4.3.3



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..

.



Relevant Pages

  • Re: disk missing in a VG
    ... Remember that the disk in no longer in the system... ... Unable to find physical volume hdisk1 in the Device ... 0516-1135 unmirrorvg: The unmirror of the volume group failed. ... root # unmirrorvg rootvg 000222305dee2c41 ...
    (AIX-L)
  • Re: disk missing in a VG
    ... i would do an alt_disk_install to hdisk1 and reboot ... disk missing in a VG ... Try a 'synclvodm -v rootvg' ... 0516-1135 unmirrorvg: The unmirror of the volume group failed. ...
    (AIX-L)
  • Re: Procedure for AIX 5.2 upgrade
    ... >> a script to add maintenance level upgrades to each of the servers. ... unmirrorvg -c 1 rootvg hdisk1 ... bootlist -m normal hdisk1 hdisk0 ...
    (comp.unix.aix)
  • Re: boot from SSA-disks?
    ... You can't import rootvg. ... on external disks - SSA, I assume - available to both systems. ... AIX FAQ at http://www.faqs.org/faqs/aix-faq/ ... > the AIX on SSA-disks and boot from this? ...
    (AIX-L)
  • Re: Cant remove hdisk from rootvg
    ... Then do a redefinevg -d hdisk0 rootvg & then synclvodm. ... This will read the vgda on the disk .. ... Run the next command to see if if ODM agrees with what you see on the disk. ... Disk VGDA says hdisk1 is IN the volume group and ODM says the disk is ...
    (AIX-L)