Error reported during import of disk group
vxvm:vxdg: ERROR: Disk group oradg: import failed: Disk is sharable, operation not supported
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
clusterid: ops <=== The name of the cluster which the disk belongs to.
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
Imported Document Id