Error reported during import of disk group

Article:TECH20213  |  Created: 2002-01-19  |  Updated: 2008-01-02  |  Article URL http://www.symantec.com/docs/TECH20213
Article Type
Technical Solution

Product(s)

Environment

Issue



Error reported during import of disk group

Error



vxvm:vxdg: ERROR: Disk group oradg: import failed: Disk is sharable, operation not supported

Solution



Description:
=========
The following error is reported when trying to import a disk group:

# vxdg import oradg
vxvm:vxdg: ERROR: Disk group oradg: import failed: Disk is sharable,
operation not supported

# vxdisk -o alldgs list <= Shows the following for the disk group =>
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 sliced rootdisk rootdg online
c1t0d0s2 sliced - (oradg) online shared
c1t1d0s2 sliced - (oradg) online shared
c1t2d0s2 sliced - (oradg) online shared

The above states that the disk group is cluster-sharable. The disks in a shared disk group are stamped with the ID of the cluster to which the hosts belong and are marked with the shared flag.

# vxdisk list c1t0d0
Device: c1t0d0s2
devicetag: c1t0d0
type: sliced
clusterid: ops <=== The name of the cluster which the disk belongs to.



Solution:
=======
In a cluster environment it is necessary to use the -s option to import a disk group as cluster-sharable. This is only valid if the cluster is active on the host where the import takes place. Ensure that all the disks in a shared disk group are physically accessible by all hosts. A host which cannot access all the disks in a shared disk group cannot join the cluster.

The following command must be used on the master server to import the shared disk group oradg:
# vxdg -s import oradg

The following command can be used to determine whether a node is Master or Slave:
# vxdctl -c mode



Legacy ID



247560


Article URL http://www.symantec.com/docs/TECH20213


Terms of use for this information are found in Legal Notices