VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Chapter 4, Creating and Administering Disk Groups
Moving Disk Groups Between Systems
119
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 following 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
Caution 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 tobe accessed at thesame time from multiple hostsand canresultin
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 followingmessage indicates afatal error that requireshardwarerepair orthe 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
configuration copies
The following message indicates a recoverable error.
vxdg: Disk group groupname: import failed: Disk for disk group not
found
If some ofthe disksin the diskgrouphave failed,forcethe disk group to beimported with
the command:
# vxdg -f import diskgroup
Caution Be careful when using the -f option. It can cause the same disk group to be
imported twice from different sets of disks, causing the disk group to become
inconsistent.