When you create a GAD pair, the P-VOL's LDEV ID is set as the virtual LDEV ID of the S-VOL. Before the pair can be created, the GAD reserve attribute must be set on the volume that will become the S-VOL. Setting the reserve attribute deletes the virtual LDEV ID of the volume, so that the virtual LDEV ID of the P-VOL can be set to the volume when the GAD pair is created.
Note: Setting the GAD reserve attribute (deleting the virtual LDEV ID)
makes the volume unusable by some software products (for example,
ShadowImage). For details, see the interoperability requirements for
GAD.
Procedure
Set the GAD reserve attribute to 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 to which the reserve attribute was 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).