cancel
Showing results for 
Search instead for 
Did you mean: 

VxVM: Understanding the V-5-1-587 error message

Vivian_Wu
Level 3
Employee

The V-5-1-587 error message indicates that a disk import failed. The second portion of the message briefly describes the reason for the error. Depending on the reason, you can either clear the locks or force the disk group to be imported to solve the issue.

UMI V-5-1-587

 

Clearing the locks

Second Part of the Message

Description

Disk is in use by another host

Indicates the disk group that you tried to import has disk(s) moved from a crashed system, or from a system that fails to detect the group before the move. You must clear the locks stored on the disks.

No valid disk found containing disk group

Indicates the disk group does not contain any valid disks (but it might contain disks). A mismatch between the host ID in the configuration copies and that stored in the /etc/vx/volboot file may make the disks invalid.

To solve these issues, do one of the following:

  • Clear the locks on a specific set of devices:

              # vxdisk clearimport devicename ...

  • Clear the locks during import:

              # vxdg -C import diskgroup

Warning: When you use the vxdisk clearimport or vxdg -C import command to clear the locks, make sure that the disks in this disk group are not in use by another host. If the disks are in use by another host, clearing the locks allows the disks to be accessed at the same time from multiple hosts. This can result in data corruption.

 

Forcing the disk group to be imported

Second Part of the Message

Description

Disk for disk group not found

Indicates the disk(s) is not accessible after the last successful import of the disk group. This is a recoverable error.

Disk group has no valid configuration copies

Indicates a fatal error. You must repair the hardware or create a new disk group, and recover the disk group configuration and data.

To solve these issues, force the disk group to be imported:

# vxdg -f import diskgroup

The -f option forces an import if one or more disks are currently unusable or inaccessible. When you use the -f option to force the import of an incomplete disk group, it counts as a successful import. The next time this disk group is imported, the –f option is no longer required. The import completes successfully as long as all the disks in this disk group are accessible.

Warning: Be careful when you use the -f option. It can cause the same disk group to be imported twice from different sets of disks. Consequently, the disk group configuration may become inconsistent.

You can also use the vxdiskadm utility to clear the locks or force the disk groups to be imported:

  • Select the menu item “Enable access to (deport) a disk group” to deport a disk group.
  • Select the menu item “Enable access to (import) a disk group” to import a disk group.

The vxdiskadm import operation checks for host import locks and prompts to see if you want to clear any that are found. It also starts volumes in the disk group.

For more information on importing the disk groups, see:

vxdg (1M) 6.0.1 manual pages:

vxdiskadm (1M) 6.0.1 manual pages:

Veritas Storage Foundation and High Availability documentation for other releases can be found on the SORT website.

0 REPLIES 0