The production host has two images of the diskgroup "prodg".
NOTES:
EMC BCV cloned images of EMC STD lun "emc1_0120" have been performed to "emc1_00dc" and "emc1_011e"
EMC BCV cloned images of EMC STD lun "emc1_0121" have been performed to "emc1_00dd" and "emc1_011f"
BCV group #1 contains "emc1_00dc" and "emc1_00dd"
BCV group #2 contains "emc1_011e" and "emc1_011f"
* All the EMC BCV images have been split with symmir.
Prior to importing the respective EMC BCV cloned images, set a memorable VxVM tag corresponding to the group of BCV luns
dopey# vxdisk settag bcv1 emc1_00dc emc1_00dd
dopey# vxdisk settag bcv2 emc1_011e emc1_011f
How to list the VxVM tag content
dopey# vxdisk listtag
DEVICE NAME VALUE
emc1_00dc bcv1 -
emc1_00dd bcv1 -
emc1_011e bcv2 -
emc1_011f bcv2 -
How to import the EMC devices associated with VxVM tag "bcv"
* To use the "-o useclonedev=on and -o updateid" you will require the Storage Foundation Enterprise License.
dopey# vxdg -n bcv1_prodg -o useclonedev=on -o updateid -o tag=bcv1 import prodg
The above command imports EMC luns associated with tag "bcv1", in this instance "emc1_00dc" and "emc1_00dd"
dopey# vxdg -n bcv2_prodg -o useclonedev=on -o updateid -o tag=bcv2 import prodg
The above command imports EMC luns associated with tag "bcv2", in this instance "emc1_011e" and "emc1_011f"
Following the multple EMC BCV diskgroup imports, the "clone_disk" disk flag attribute will be populated against the corresponding EMC BCV luns.
Extended attribute content displayed when running "vxdisk -e list"
dopey# vxdisk -e -o alldgs list | grep prodg
emc1_00dc auto:cdsdisk emc1_0120 bcv1_prodg online clone_disk c1t5006048C536979A0d80s2 bcv
emc1_00dd auto:cdsdisk emc1_0121 bcv1_prodg online clone_disk c1t5006048C536979A0d81s2 bcv
emc1_011e auto:cdsdisk emc1_0120 bcv2_prodg online clone_disk c1t5006048C536979A0d118s2 bcv
emc1_011f auto:cdsdisk emc1_0121 bcv2_prodg online clone_disk c1t5006048C536979A0d119s2 bcv
emc1_0120 auto:cdsdisk emc1_0120 prodg online c1t5006048C536979A0d120s2 std
emc1_0121 auto:cdsdisk emc1_0121 prodg online c1t5006048C536979A0d121s2 std
* Extended attribute content highlighting hardware technology is available as of 5.0 MP3.
In this instance, EMC STD and EMC BCV luns can be easily identified.