VxVM vxdisk ERROR V-5-1-13909 The settag command failed on the following devices with error: Disk is in use by another host
Veritas disk access (da) name "emc1_00dc" refers to the EMC BCV lun which is a cloned image of EMC SRDF "R2" lun "emc1_0072".
SRDF "DR" SERVER: Bashful
Bashful # vxdisk -eo alldgs list | grep emc0
emc1_00dc auto:cdsdisk - (DopeyDg) online clone_disk c1t5006048C536979A0d80s2 bcv <<<< BCV image of "emc1_0072"
emc1_0072 auto:cdsdisk - (DopeyDg) online udid_mismatch c1t5006048C536979A0d65s2 srdf-r2 <<<< SRDF R2 lun. Write-Disabled
The hostid needs to be cleared for the BCV lun, in order for the tag name to be assigned using the "vxdisk settag
Bashful # vxdisk settag bcv emc1_00dc
VxVM vxdisk ERROR V-5-1-13909 The settag command failed on the following devices with error: Disk is in use by another host
emc1_00dc
In this instance the EMC SRDF "R2" lun has a hostid of "Dopey" which relates to the EMC SRDF "R1" lun image presented to the production server.
Bashful # vxdisk list emc1_00dc
Device: emc1_00dc
devicetag: emc1_00dc
type: auto
hostid: Dopey <<<< The hostid displayed is from the SRDF "R1" lun on the Production host "Dopey"
disk: name=r1-008C id=1298306345.49.Dopey
group: name=DopeyDg id=1298306534.57.Dopey
info: format=cdsdisk,privoffset=256,pubslice=2,privslice=2
flags: online ready private autoconfig autoimport imported clone_disk
pubpaths: block=/dev/vx/dmp/emc1_00dcs2 char=/dev/vx/rdmp/emc1_00dcs2
guid: {0f4a924c-1dd2-11b2-9af5-0003baa6d11f}
udid: EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030304443
site: -
version: 3.1
iosize: min=512 (bytes) max=2048 (blocks)
public: slice=2 offset=65792 len=4058368 disk_offset=0
private: slice=2 offset=256 len=65536 disk_offset=0
update: time=1298542682 seqno=0.22
ssb: actual_seqno=0.1
headers: 0 240
configs: count=1 len=48144
logs: count=1 len=7296
Defined regions:
config priv 000048-000239[000192]: copy=01 offset=000000 enabled
config priv 000256-048207[047952]: copy=01 offset=000192 enabled
log priv 048208-055503[007296]: copy=01 offset=000000 enabled
lockrgn priv 055504-055647[000144]: part=00 offset=000000
Multipathing information:
numpaths: 1
c1t5006048C536979A0d80s2 state=enabled
Note: As of 5.0 MP3 onwards, the VxVM CLI command "vxdisk -e list" is capable of reporting the extended attribute based content for EMC BCV, BCV-NR, MIRROR, SRDF-R1, SRDF-R2, TDEV device states and EMC lun types.
This document attempts to explain the steps required to assign a VxVM tag against a BCV image which is a cloned image of a SRDF (R2) device when using Veritas Volume Manager and DMP.
Note: The SRDF (R2) lun is in a write-disabled state at the time of the BCV split operation.
In this instance, the configuration consists of "4" EMC SRDF "R1" devices presented to production server "Dopey" from EMC Symmetrix id (SID) "822". An additional "4" EMC SRDF "R2" devices have been presented to DR server "Bashful" from EMC Symmetrix ID (SID) "414".