In HP-UX, upgrading an encapsulated DRD (dynamic root disk) clone disk to VxVM 5.0.1 creates the install-db file and could make the DRD clone disk unbootable.

book

Article ID: 100024851

calendar_today

Updated On:

Description

Error Message

Errors seen during system boot:

V-5-1-7601 vxvm:vxconfigd: ERROR: Could not open file /etc/vx/array.info for writing
V-5-1-11219 vxvm:vxconfigd: ERROR: Failed to open file /etc/vx/disk.info.new
Checking root file system.
..
Checking vxfs file systems
UX:vxfs fsck: ERROR: V-3-20908: /dev/vx/dsk/drd_rootdg/rootvol:sanity check failed: cannot stat /dev/vx/dsk/drd_rootdg/rootvol
UX:vxfs fsck: ERROR: V-3-20908: /dev/vx/dsk/drd_rootdg/homevol:sanity check failed: cannot stat /dev/vx/dsk/drd_rootdg/homevol
..
UX:vxfs fsck: ERROR: V-3-20945: /dev/vx/dsk/drd_rootdg/rootvol:cannot stat /dev/vx/dsk/drd_rootdg/rootvol
UX:vxfs fsck: ERROR: V-3-20945: /dev/vx/dsk/drd_rootdg/homevol:cannot stat /dev/vx/dsk/drd_rootdg/homevol
..
UX:vxfs fsck: ERROR: V-3-25742: /dev/vx/dsk/drd_rootdg/varvol:sanity check
failed: cannot open /dev/vx/dsk/drd_rootdg/varvol: No such device or address
..
/sbin/auto_parms[24]: who:  not found
/sbin/auto_parms[34]: ps:  not found
/sbin/auto_parms[34]: grep:  not found
/sbin/rc1.d/S093vxvm-reconfig[50]: /etc/vx/lib/vxcommon:  not found
interpreter "/bin/sh" not found
file link resolves to "/usr/bin/sh"
/sbin/rc[14]: /sbin/rc2.d/S021esm:  not found
/sbin/rc2.d/S213nparrsc[2]: model:  not found
/sbin/rc2.d/S213nparrsc[2]: grep:  not found
/sbin/rc2.d/S393secsh[27]: grep:  not found
..
  HP-UX Start-up in progress
__________________________

     Configure system crash dumps ............................................... OK
     Removing old vxvm files .................................................... OK
     VxVM INFO V-5-2-3360 VxVM device node check ................................ OK
     VxVM INFO V-5-2-3362 VxVM general startup .................................. OK
     Mount file systems ......................................................... FAIL *
     Remounting Root File System ................................................ OK
     Setting hostname ........................................................... FAIL *
     Start containment subsystem configuration .................................. FAIL *
 

Cause

This problem is seen only on encapsulated rootdisk that's cloned using the "drd clone" command and the DRD disk is upgraded to VxVM 5.0.1 using swinstall or "drd runcmd update -ux" commands.

Presence of /etc/vx/reconfig.d/state.d/install-db file indicates volume manager has not been initialized and thus prevents the startup of vxconfigd daemon in startup script: /sbin/rc1.d/S092vxvm-startup.This has been identified as a bug in the preinstall script. Symantec bug# e2364868.

Resolution

Workaround:

1. After upgrading the DRD clone disk to VxVM 5.0.1, check for the presence of the install-db file:
# ls -l /etc/vx/reconfig.d/state.d/install-db

2. If file is present, remove the file
# rm /etc/vx/reconfig.d/state.d/install-db

3. Unmount the DRD disk and boot the system from the upgraded clone disk.


Applies To

HP-UX 11.31
VxVM encapsulated rootdisk and cloned with drd command.
DRD clone disk upgraded to VxVM 5.0.1

Issue/Introduction

When an encapsulated root disk is cloned and the DRD disk is upgraded to VxVM 5.0.1 using swinstall command, file /etc/vx/reconfig.d/state.d/install-db is created on the clone disk. # drd runcmd swinstall -x autoreboot=true -s /var/spool/sw/base_501 \*

=======  03/20/11 08:51:53 PDT  BEGIN Executing Command On Inactive System
         Image (user=root)  (jobid=mtvrp402)

       * Checking for Valid Inactive System Image
       * Analyzing Command To Be Run On Inactive System Image
       * Locating Inactive System Image
       * Accessing Inactive System Image for Command Execution
       * Setting Up Environment For Command Execution
       * Executing Command On Inactive System Image
       * Using unsafe patch list version 20080324
       * Starting swagentd for drd runcmd
       * Executing command: "/usr/sbin/swinstall -x autoreboot=true -s
         /var/spool/sw/base_501 *"

=======  03/20/11 08:51:59 PDT  BEGIN swinstall SESSION
         (non-interactive) (jobid=mtvrp402-0412) (drd session)
.. # pwd
/var/opt/drd/mnts/sysimage_001/etc/vx/reconfig.d/state.d

# ll
total 2
-rw-r--r--   1 root       sys              1 Mar 20 08:53 install-db
This file prevents the startup of vxconfigd during system boot and root filesystems fail to mount.