Volboot Issues

Check OS version: (verify if the product is supported)

# uname -a

Check if package was properly installed(completely):
# pkginfo -l VRTSvxvm

Check if Volume Manager modules were loaded:
# modinfo | egrep -i "vx|vrts"

Check if install-db file exists: (if it exists, delete the file)
# ls -l /etc/vx/reconfig.d/state.d/install-db

If install-db file exists then it is the reason why Volume Manager was not able to start up during boot up.

Install-db file exist causing Volume Manager not to start up automatically during boot up and volboot file was not created properly during installation.

Other possible cause:
– “installonly” option is used during installation
– Ran installer with “-configure” but failed to initialize VM and remove the “install-db” file

- Remove install-db file so that Volume Manager will automatically start during boot up
- Create volboot file by running "vxdctl init"
- Enable Volume Manager by running "vxdctl enable"
- Verify volume manager mode by running "vxdctl mode" to check if it is now in enable mode.

# The “install-db” file prevents the vxconfigd daemon from starting on system boot.
# If the file is present, remove it

rm /etc/vx/reconfig.d/state.d/install-db

# Restart the VxVM configuration daemon, setting the boot and enable modes for startup of
# vxconfigd after reboot:

vxconfigd -k -m boot
vxconfigd -k -m enable

# When attempting to start vxconfigd, if the following error is encountered:

# VxVM vxconfigd ERROR V-5-1-1589 enable failed: Volboot file not loaded
# transactions are disabled.

# The ‘/etc/vx/volboot’ file is missing or was not created during the installation process.
# Create the volboot file manually and restart vxconfigd with the following commands:

vxdctl init <hostname>
vxconfigd -k

# Verify proper operation of VxVM by issuing the command ‘vxdisk list’.

# If these operations are not possible, restart system and, in case of persistent problem,
# apply following workaround:

# Check to make sure vxdctl is enabled by running the command
vxdctl mode

# If it is not enabled, run the commands

vxiod set 10
vxconfigd -d
vxdctl init
vxdctl enable

Restoring the Volboot file :

To restore a missing or corrupted /etc/vx/volboot file
Put the system into maintenance mode.
Run vxconfigd in disabled mode:

# vxconfigd -m disable

Reinitialize the volboot file:
# vxdctl init diego

# vxdctl add disk sda privoffset=2144

Reset vxconfigd in boot mode:
# vxconfigd -kr reset -m boot

Use the following command to confirm that VxVM is running:
# vxdisk list


sda sliced rootdisk bootdg online

sdb sliced rootmir bootdg online

sdc sliced – – error

Reboot the system.