| United States-English |
|
|
|
![]() |
HP-UX System Administrator's Guide: Logical Volume Management: HP-UX 11i Version 3 > Chapter 4 Troubleshooting LVMTroubleshooting Tools Overview |
|
This section describes the tools available for troubleshooting LVM problems. You can collect information about your LVM configuration using the vgdisplay, lvdisplay, pvdisplay, and lvlnboot commands. As noted in “Planning for Recovery”, periodically collect the outputs from the commands listed in Table 4-1. Table 4-1 LVM Information to Collect and Maintain
In addition, use the lvmadm command for two purposes:
In addition, there are some tools available from your HP support representative:
Most LVM commands perform consistency checking. You can inspect your LVM configuration with the vgdisplay, lvdisplay, and pvdisplay commands, and look for inconsistencies. In addition, the pvck command performs explicit consistency checking on a physical volume. This command detects bad checksums caused by a forward system migration after a backward system migration. Run pvck only on deactivated volume groups. For more information, see pvck(1M).
LVM maintenance mode boot is a special way to boot your system that bypasses the normal LVM structures. Use it only for problems that prevent the system from otherwise booting. It is similar to single-user state in that many of the processes that normally start do not start, and many of the system checks are not performed. LVM maintenance mode is intended to enable you to boot your system long enough to repair damage to the system LVM data structures typically using vgcfgrestore, which then enables you to boot your system normally. Normally, the boot loader uses the LABEL file in the LIF volume to determine the location of the boot file system and the kernel /stand/vmunix. The LABEL file also contains the starting block and size of the root file system. Under a maintenance mode boot, the boot loader attempts to find the boot file system at the start of the boot disk's user data area rather than using information from the LIF volume. To obtain the root file system's starting block and size, the boot loader reads the file /stand/rootconf. Since LVM is not enabled, the root file system must be allocated contiguously. A maintenance mode boot differs from a standard boot as follows:
To boot in maintenance mode on a system with a root disk configured with LVM, use the -lm option to the boot loader. On an HP 9000 server, enter the following command:
On an HP Integrity server, enter the following command:
When you have repaired or restored the LVM configuration information, reboot the system using the following command:
For more information about LVM maintenance mode boots and troubleshooting problems with LVM structures, see Disk and File Management Tasks on HP-UX, published by Prentice Hall PTR, 1997. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||