VERITAS Volume Manager 3.1 Administrator's Guide

Disk Group Tasks
Moving Disk Groups Between Systems
Chapter 5 225
the disk group.
CAUTION The purpose of the lock is to ensure that
dual-ported disks
(disks that
can be accessed simultaneously by two systems) are not used by both
systems at the same time. If two systems try to manage the same disks
at the same time, configuration information stored on the disk is
corrupted. The disk and its data become unusable.
When you move disks from a system that has crashed or failed to detect
the group before the disk is moved, the locks stored on the disks remain
and must be cleared. The system returns the this error message:
vxdg:disk group
groupname
: import failed: Disk is in use
by another
host
To clear locks on a specific set of devices, use the following command:
# vxdisk clearimport
devicename
...
To clear the locks during import, use the following command:
# vxdg -C import
diskgroup
NOTE 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.
You may want to import a disk group when some disks are not available.
The import operation fails if some disks for the disk group cannot be
found among the disk drives attached to the system. When the import
operation fails, one of several error messages is displayed.
The following 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.
vxdg: Disk group
groupname
: import failed: Disk group
has no valid