When you create a GAD pair, the same value as the LDEV ID of the P-VOL is set for the virtual LDEV ID of the S-VOL. Before the pair creation, GAD reserve must be assigned to the virtual attribute of the volume used as the S-VOL to set the virtual LDEV ID for the S-VOL.
Set the GAD reserve for
the virtual attribute of the LDEV ID (0x4444).
raidcom map resource -ldev_id 0x4444 -virtual_ldev_id reserve -IH1
Check command and output examples
Display the information about the volume (LDEV ID: 0x4444).
For the LDEV ID with the GAD reserve attribute set, ffff is displayed for VIR_LDEV (virtual LDEV ID).
raidcom get ldev -ldev_id 0x4444 -fx -IH1 Serial# : 822222 LDEV : 4444 VIR_LDEV : ffff SL : - CL : - VOL_TYPE : NOT DEFINED SSID : - RSGID : 1
Note: If you need to release the GAD reserve attribute,
use the raidcom unmap resource command (example:
raidcom unmap resource -ldev_id 0x4444 -virtual_ldev_id
reserve -IH1). After releasing the GAD reserve attribute,
use the check command to confirm that fffe is displayed for VIR_LDEV (virtual LDEV ID).