United States-English |
|
|
HP-UX System Administrator's Guide: Logical Volume Management: HP-UX 11i Version 3 > Chapter 4 Troubleshooting LVMWarning and Error Messages |
|
This section lists some of the warning and error messages reported by LVM. For each message, the cause is described and an action is recommended. Often an error message contains the device number for a device, rather than the device file name. For example, you might see the following message in /var/adm/syslog/syslog.log:
To map this error message to a specific disk, search under the /dev directory for a device file with a device number that matches the printed value. That is, search for a file with a minor number matching the lower six digits of the number following dev:. The device number in this example is 1f022000; its lower six digits are 022000, so search for that value using the following command:
Use the pvdisplay command to determine which volume group contains this physical volume as follows:
If the pvdisplay command fails, search for the physical volume in the LVM configuration files /etc/lvmtab and /etc/lvmtab_p as follows:
If your version of lvmadm does not recognize the –l option, use the strings command as follows:
Based on the output of these commands, the error message refers to physical volume /dev/dsk/c2t2d0, which belongs to volume group vg03. Similarly, some LVM error messages in /var/adm/syslog/syslog.log contain the device number for a volume group. For example:
The major number 128 indicates that this is a Version 2.x volume group. A Version 1.0 volume group has a major number of 64. To map this error message to a volume group, search under the /dev directory for a volume group device file with a device number that matches the major and minor numbers. In this example, the major number is 128 and the minor number is 0x002000, so search for those value using the following command:
The example error message refers to the Version 2.x volume group vgtest. Message Text
CauseThe number of current physical volumes (Cur PV) and active physical volumes (Act PV) are not the same. Cur PV and Act PV must always agree for the volume group. This error also indicates that /etc/lvmtab or /etc/lvmtab_p, which is used to match physical volumes to a volume group, is out of date with the LVM data structures in memory and on disk. Recommended ActionTry to locate any missing disks. For each of the disk in the volume group, use ioscan and diskinfo to confirm that the disk is functioning properly. Message Text
CauseThe system does not have HP MirrorDisk/UX installed. Recommended ActionMessage Text
CauseThere is not enough space in the volume group to extend the logical volume to the requested size. This is typically caused by one of the following situations:
Recommended Action
Message Text
CauseThe system does not have HP MirrorDisk/UX installed. Recommended ActionMessage Text
CauseThe boot disk firmware cannot access the entire range of the swap logical volume. This happens with older host bus adapters when primary swap is configured past 4 GB on the disk. Recommended ActionUpgrade the system firmware or use a newer host bus adapter that supports block addressing. If neither of these actions succeeds, reduce the size of the primary swap logical volume so that it does not exceed 4 GB. Message Text
CauseThe specified path is not part of any volume group, because the path has not been successfully attached to the otherwise active volume group it belongs to. Recommended ActionCheck the specified path name to make sure it is correct. If the error occurred while detaching a physical volume, specify a different path. If it is not clear whether any path was attached before, individually detach each path to the physical volume using pvchange with the –a n option. Message Text
CauseThis warning is advisory. It is generated whenever a path or physical volume is detached. Recommended ActionMessage Text
CauseThe LVM header on the disk is incorrect. This can happen when an existing LVM disk is overwritten with a command like dd or pvcreate. If the disk is shared between two systems, one system might not be aware that the disk is already in a volume group. The corruption can also be caused by running vgchgid incorrectly when using BC split volumes. Recommended ActionRestore a known good configuration to the disk using vgcfgrestore. Be sure to use a valid copy dated before the first occurrence of the problem. For example:
Message Text
CauseThe vgcfgrestore command was used to initialize a disk that already belongs to an active volume group. Recommended ActionDetach the physical volume or deactivate the volume group before attempting to restore the physical volume. If the disk may be corrupted, detach the disk and mark it using vgcfgrestore, then attach it again without replacing the disk. This causes LVM to reinitialize the disk and synchronize any mirrored user data mapped there. Message Text
CauseYou are activating a Version 2.x volume group, and the kernel driver for Version 2.x volume groups is not loaded. Recommended ActionLoad the lvmp driver, as follows:
Message Text
CauseYou are activating a Version 2.x volume group, and your operating system release does not support Version 2.x volumes. Recommended ActionUpdate your system to the March 2008 release of HP-UX 11i Version 3 or a newer release. Message Text
CauseThis error has the following possible causes:
Recommended Action
Message Text
CauseThere are multiple LVM group files with the same minor number. Recommended ActionList the LVM group files. If there are any duplicate minor numbers, export one of the affected volume groups, optionally create a new group file with a unique minor number, and reimport the volume group. If you are not familiar with this procedure, contact your HP support representative for assistance.
Message Text
CauseThe volume group device file does not exist, and this version of the vgcreate command does not automatically create it. Recommended ActionCreate the directory for the volume group and create a group file, as described in “Creating the Volume Group Device File”. Message Text
CauseThe physical volume pvname is a bootable disk, and vgname is a Version 2.x volume group. Version 2.x volume groups do not support bootable physical volumes. Recommended ActionUse the pvcreate command without the -B option to reinitialize the disk, as described in “Initializing a Disk for LVM Use”. For example:
Use the vgmodify command to convert the disk to a nonbootable disk, as described in “Changing Physical Volume Boot Types”. Alternately, use the pvcreate command without the -B option to reinitialize the disk, as described in “Initializing a Disk for LVM Use”. For example:
Message Text
CauseThe volume group reserved area (VGRA) at the front of each LVM disk cannot hold all the information about the disks in this volume group. This error typically occurs if you use disks larger than 100 GB. Recommended ActionAdjust the volume group creation parameters. Use the –s option of the vgcreate command to select an extent size larger than 4 MB, or use the –p option to select a smaller number of physical volumes. For more information on these options, see vgcreate(1M). For recommendations on extent sizes, see Appendix C. Message Text
CauseThis error has the following possible causes:
Recommended Action
Message Text
CauseOne of the LVM configuration files, either /etc/lvmtab or /etc/lvmtab_p, is missing. Recommended ActionCreate the /etc/lvmtab and /etc/lvmtab_p files using the following command:
For additional information on the vgscan command and its option, see vgscan(1M). Message Text
CauseThe possible causes of this error are described under the “vgchange(1M)” error messages. Recommended ActionSee the recommended actions under the “vgchange(1M)” error messages. Message Text
CauseThe disk size exceeds the volume group maximum disk size. This limitation is defined when the volume group is created, as a product of the extent size specified with the –s option of vgcreate and the maximum number of physical extents per disk specified with the –e option. Typically, the disk is successfully added to the volume group, but not all of the disk is accessible. Recommended ActionUse the vgmodify command to adjust the maximum number of physical extents per disk. Alternately, you can re-create the volume group with new values for the –s and –e options. Message Text
CauseThe volume group device files do not exist, and this version of the vgimport command does not automatically create them. Recommended ActionCreate the directory for the volume group, and create a group file, as described in “Creating the Volume Group Device File”. Message Text
CauseThere are two possible causes for this message:
Recommended ActionMessage Text
CauseLVM cannot synchronize the data on a replaced disk automatically, for example, when LVM discovers an unmirrored logical volume residing on a disk that was just replaced. Recommended ActionRestore the contents of the logical volume from backup. Message Text
Cause:This message is advisory. It is generated whenever a disk path is detached. Recommended ActionMessage Text
CauseThis message appears when you import a volume group from a previous release of HP-UX. The format of the MWC changed at HP-UX 11i Version 3, so if the volume group contains mirrored logical volumes using MWC, LVM converts the MWC at import time. It also performs a complete resynchronization of all mirrored logical volumes, which can take substantial time. Recommended ActionMessage Text
CauseThis message can be displayed on the first system boot after upgrading to HP-UX 11i Version 3. It is a transient message caused by updates to the I/O configuration. Later in the boot process, LVM registers for event notification again, and succeeds. Recommended Action |
Printable version | ||
|