VERITAS Volume Manager 4.1 Administrator's Guide

Administering Cluster Functionality
Administering VxVM in Cluster Environments
Chapter 10374
CAUTION The operating system cannot tell if a disk is shared. To protect data
integrity when dealing with disks that can be accessed by multiple
systems, use the correct designation when adding a disk to a disk group.
VxVM allows you to add a disk that is not physically shared to a shared
disk group if the node where the disk is accessible is the only node in the
cluster. However, this means that other nodes cannot join the cluster.
Furthermore, if you attempt to add the same disk to different disk
groups on two nodes at the same time, the results are undefined. Perform
all configuration on one node only, and preferably on the master node.
Forcibly Adding a Disk to a Disk Group
NOTE Disks can only be forcibly added to a shared disk group on the master
node.
If VxVM does not add a disk to an existing disk group because that disk
is not attached to the same nodes as the other disks in the disk group,
you can forcibly add the disk using the following command:
# vxdg -f adddisk -g diskgroup [diskname=]devicename
CAUTION Only use the force option(-f) if you are fully aware of the consequences
such as possible data corruption.
Importing Disk Groups as Shared
NOTE Shared disk groups can only be imported on the master node.
Disk groups can be imported as shared using the vxdg -s import
command. If the disk groups are set up before the cluster software is run,
the disk groups can be imported into the cluster arrangement using the
following command: