Veritas Volume Manager 5.0.1 Troubleshooting Guide, HP-UX 11i v3, First Edition, November 2009
# vxdisk clearimport devicename...
To clear the locks during import, use the following command:
# vxdg -C import diskgroup
Warning: Be careful when using the vxdisk clearimport or vxdg -C import
command on systems that have dual-ported disks. Clearing the locks allows those
disks to be accessed at the same time from multiple hosts and can result in
corrupted data.
An import operation fails if some disks for the disk group cannot be found among
the disk drives attached to the system.
Disk for disk group not found
Disk group has no valid configuration copies
The first message indicates a recoverable error.
The second message indicates a fatal error that requires hardware repair or the
creation of a new disk group, and recovery of the disk group configuration and
data:
If some of the disks in the disk group have failed, you can force the disk group to
be imported with this command:
# vxdg -f import diskgroup
Warning: Be careful when using the -f option. It can cause the same disk group
to be imported twice from different sets of disks. This can cause the disk group
configuration to become inconsistent.
As using the -f option to force the import of an incomplete disk group counts as
a successful import, an incomplete disk group may be imported subsequently
without this option being specified. This may not be what you expect.
These operations can also be performed using the vxdiskadm utility. To deport a
disk group using vxdiskadm, select the menu item Remove access to (deport)
a disk group. To import a disk group, select the menu item Enable access 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.
91Error messages
Types of messages