Managing HP Serviceguard A.12.00.00 for Linux, June 2014
reconfiguration of the package. This option is applicable for both failover and multi-node
packages.
For example, if you enter a wrong fs_type value while adding a new filesystem to the pkg1.
*****************************
Package log during this time:
*****************************
Nov 28 23:41:19 root@test1.ind.hp.com master_control_script.sh[23516]: ###### reconfiguring package pkg1 ######
Nov 28 23:41:20 root@test1.ind.hp.com pr_util.sh[23621]: New VG vg_dd0
Nov 28 23:41:20 root@test1.ind.hp.com pr_util.sh[23621]: sg_activate_pr: activating PR on /dev/sdc
Nov 28 23:41:21 root@test1.ind.hp.com volume_group.sh[23687]: New VG vg_dd0
Nov 28 23:41:21 root@test1.ind.hp.com volume_group.sh[23687]: Attempting to addtag to vg vg_dd0...
Nov 28 23:41:21 root@test1.ind.hp.com volume_group.sh[23687]: addtag was successful on vg vg_dd0.
Nov 28 23:41:21 root@test1.ind.hp.com volume_group.sh[23687]: Activating volume group vg_dd0 .
Nov 28 23:41:22 root@test1.ind.hp.com filesystem.sh[23808]: FS added or changed /dev/vg_dd0/lvol3
Nov 28 23:41:22 root@test1.ind.hp.com filesystem.sh[23808]: Checking filesystems:
/dev/vg_dd0/lvol3
e2fsck 1.41.12 (17-May-2010)
mount: wrong fs type, bad option, bad superblock on /dev/vg_dd0/lvol3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
:
:
:
Nov 28 23:41:22 root@test1.ind.hp.com
master_control_script.sh[23516]:#########################################################################
Nov 28 23:41:22 root@test1.ind.hp.com master_control_script.sh[23516]: ###### Package reconfigure completed
with failures for pkg1 ######
Nov 28 23:41:22 root@test1.ind.hp.com master_control_script.sh[23516]: ###### Below is the summary of changes
for pkg1 ######
Nov 28 23:41:20 root@test1.ind.hp.com pr_util.sh[23621]: SUCCESS: Successfully activated PR on /dev/sdc
Nov 28 23:41:22 root@test1.ind.hp.com filesystem.sh[23808]: ERROR: Failed to fsck /dev/vg_dd0/lvol3.
Nov 28 23:41:22 root@test1.ind.hp.com filesystem.sh[23808]: ERROR: Will not attempt to apply remaining changes
due to the error encountered
Nov 28 23:41:22 root@test1.ind.hp.com filesystem.sh[23808]: WARNING: Not attempting to mount /dev/vg_dd0/lvol3
on /mnt1
Nov 28 23:41:22 root@test1.ind.hp.com master_control_script.sh[23516]:
#########################################################################
************************
syslog during this time:
************************
Nov 28 23:41:22 test1 cmserviced[18979]: Package Script for pkg1 failed with an exit(18).
Nov 28 23:41:22 test1 cmcld[18900]: Reconfigured package pkg1 on node test1.
Nov 28 23:41:22 test1 cmcld[18900]: Online reconfiguration of package pkg1 on node test1 failed. Check the
package log file for complete information.
Nov 28 23:41:22 test1 cmcld[18900]: Request from node test1 to disable global switching for package pkg1.
To rectify the failures, do one of the following:
1. Halt the package.
2. Make the required changes.
3. Restart the package
or
1. Verify and fix the problem using fsck command.
2. Verify the filesystem before mounting the device:
#e2fsck /dev/vg_dd0/lvol3
3. Mount the filesystem:
#mount /dev/vg_dd0/lvol3 /mnt1
4. Clear the online_modification_failed flag:
#cmmodpkg -f pkg1
5. Enable the global switching for the package:
#cmmodpkg -e pkg1
Table 13 describes how to fix the errors in the affected modules that are encountered during online
addition of a package.
252 Cluster and Package Maintenance