Veritas InfoScale™ 7.3.1 Troubleshooting Guide - Linux
- Introduction
- Section I. Troubleshooting Veritas File System
- Section II. Troubleshooting Veritas Volume Manager
- Recovering from hardware failure
- Failures on RAID-5 volumes
- Recovery from failure of a DCO volume
- Recovering from instant snapshot failure
- Recovering from failed vxresize operation
- Recovering from boot disk failure
- VxVM boot disk recovery
- Recovery by reinstallation
- Managing commands, tasks, and transactions
- Backing up and restoring disk group configurations
- Troubleshooting issues with importing disk groups
- Recovering from CDS errors
- Logging and error messages
- Troubleshooting Veritas Volume Replicator
- Recovery from configuration errors
- Errors during an RLINK attach
- Errors during modification of an RVG
- Recovery on the Primary or Secondary
- Recovering from Primary data volume error
- Primary SRL volume error cleanup and restart
- Primary SRL header error cleanup and recovery
- Secondary data volume error cleanup and recovery
- Troubleshooting issues in cloud deployments
- Recovering from hardware failure
- Section III. Troubleshooting Dynamic Multi-Pathing
- Section IV. Troubleshooting Storage Foundation Cluster File System High Availability
- Troubleshooting Storage Foundation Cluster File System High Availability
- Troubleshooting CFS
- Troubleshooting fenced configurations
- Troubleshooting Cluster Volume Manager in Veritas InfoScale products clusters
- Troubleshooting interconnects
- Troubleshooting Storage Foundation Cluster File System High Availability
- Section V. Troubleshooting Cluster Server
- Troubleshooting and recovery for VCS
- VCS message logging
- Gathering VCS information for support analysis
- Troubleshooting the VCS engine
- Troubleshooting Low Latency Transport (LLT)
- Troubleshooting Group Membership Services/Atomic Broadcast (GAB)
- Troubleshooting VCS startup
- Troubleshooting issues with systemd unit service files
- Troubleshooting service groups
- Troubleshooting resources
- Troubleshooting I/O fencing
- System panics to prevent potential data corruption
- Fencing startup reports preexisting split-brain
- Troubleshooting CP server
- Troubleshooting server-based fencing on the Veritas InfoScale products cluster nodes
- Issues during online migration of coordination points
- Troubleshooting notification
- Troubleshooting and recovery for global clusters
- Troubleshooting licensing
- Licensing error messages
- VCS message logging
- Troubleshooting and recovery for VCS
- Section VI. Troubleshooting SFDB
Restoring a missing or corrupted master boot record
The system may fail to boot if the master boot record (MBR) on track 0 of the root disk is missing or corrupted. Corruption of the MBR causes the system to fail to boot, and usually to stop at the GRUB or LILO prompt.
GRUB outputs an error message in the form Error number and then halts. See the GRUB reference manual for help in interpreting this error.
The portion of the LILO prompt that is displayed can be used in diagnosing the problem, as described in the LILO reference manual.
To recreate the MBR on the root disk:
- Power up the system and boot it from Linux installation CD number 1.
- On a Red Hat system, run the following command at the boot prompt to put the system in rescue mode:
boot: linux rescue
On a SUSE system, choose the Rescue option from the menu.
Log in as root, select your language and keyboard, and choose to skip finding your installation.
- Make a temporary mount point, /vxvm, and mount the root partition on it:
# mkdir /vxvm # mount -t ext3 /dev/sda1 /vxvm
In this example, the root partition is /dev/sda1, and the root file system type is ext3. You may need to modify this command according to your system configuration. For example, the root file system may be configured as a reiserfs file system.
- If the disk has a separate boot partition, mount this on /vxvm/boot:
# mount -t ext3 /dev/sda2 /vxvm/boot
In this example, the boot partition is /dev/sda2, and the boot file system type is ext3. You may need to modify this command according to your system configuration.
- Recreate the master boot record (MBR) on the root disk.
For the GRUB boot loader:
Check that the contents of the GRUB configuration file (/vxvm/boot/grub/menu.lst or /vxvm/etc/grub.conf as appropriate) are correct, and use the grub command to recreate the MBR on the disk (here /boot is assumed to be on partition 2):
# /vxvm/sbin/grub grub> root (hd0,1) grub> setup (hd0) grub> quit
For the LILO boot loader:
Check that the contents of the /vxvm/etc/lilo.conf file are correct, and use the lilo command to recreate the MBR on the replacement disk:
# /vxvm/sbin/lilo -r /vxvm
In these examples, the MBR is written to /dev/sda. You may need to modify the commands according to your system configuration.
- Unmount the partitions, run sync, and then exit the rescue shell:
# cd / # umount /vxvm/boot # umount /vxvm # sync # exit
- Reboot the system from the disk with the reconstructed MBR, and select vxvm_root at the GRUB or LILO boot prompt.