HP-UX 11i Operating Environment Update & Installation Test Procedures

Hewlett-Packard Company
19447 Pruneridge Avenue
Cupertino, California 95014
www.hp.com
24
OE UPDATE
HP-UX 11i Test Procedures
Headline:
Having Mirrored disk enabled will cause the following error:
Product .Filesets:
LVM.LVM-MIRROR-RUN
Defect or Error Messages:
The text from the swagent.log for each of the above fileset is as follows:
* Running "checkremove" script for fileset
"LVM.LVM-MIRROR-RUN".
ERROR: LVM Mirror option may be in use for logical volume
group /dev/vg00. Mirror option must be deactivated
before LVM-MIRROR-RUN can be removed. Once that is done,
re-execute swremove for LVM-MIRROR-RUN. Contact your
system administrator for help.
ERROR: [20257] The "checkremove" script for "LVM.LVM-MIRROR-RUN"
failed (exit code "1"). The script location was
"/var/adm/sw/products/LVM/LVM-MIRROR-RUN/checkremove".
WARNING: [140183] This script had errors but the execution of this
fileset will still proceed because the "enforce_scripts"
option was set to "false". Check the above output from the
script for further details.
* Running "checkremove" script for fileset
"LVM.LVM-MIRROR-RUN".
ERROR: LVM Mirror option may be in use for logical volume
group /dev/vg00. Mirror option must be deactivated
before LVM-MIRROR-RUN can be removed. Once that is done,
re-execute swremove for LVM-MIRROR-RUN. Contact your
system administrator for help.
ERROR: The "checkremove" script for "LVM.LVM-MIRROR-RUN"
failed (exit code "1"). The script location was
"/var/adm/sw/products/LVM/LVM-MIRROR-RUN/checkremove".
WARNING: This script had errors but the execution of this
fileset will still proceed because the "enforce_scripts"
option was set to "false". Check the above output from the
script for further details.
Explanation:
This is due to the fact that mirrored disk is still active. There are two ways to fix this problem
1. You can do a lvsplit before you start the update. This allows you a way to have a backup
copy of your starting point. You then will have to do an lvmerge to resync your Mirrored
disk.
2. You do not have to do an lvsplit before you do the update. This will cause all your
Mirrored disk to be updated at the same time. This will cause the errors below to be in the
swagent.lot
Either of the above methods works fine.