Revising the virtual LDEV ID at the secondary site when VSM auto-configuration is not used

Global Active Device for VSP One Block

Version
10.5.x
File Size
25537 KB
Audience
anonymous
Part Number
MK-23VSP1B011-11
ft:lastEdition
2026-06-23
  1. Check whether the same virtual LDEV ID as that of the primary volume is assigned to the virtual storage machine of the secondary site.
    raidcom get ldev -ldev_id 0x2222 -key front_end -cnt 1 -fx -IH101
    Serial# LDEV# SL CL VOL_TYPE VOL_Cap(BLK) PID ATTRIBUTE Ports PORT_No:LU#:GRPNAME ...
    811111 2222 - - NOT DEFINED

    The virtual LDEV ID (0x2222) is assigned to the virtual storage machine of the secondary site.

  2. Confirm the actual LDEV ID of the volume whose virtual LDEV ID is 0x2222.
    raidcom get ldev -ldev_id 0x2222 -fx -IH101
    Serial# : 811111 PHY_Serial# : 822222
    LDEV : 2222 PHY_LDEV : fefe
    SL : -
    CL : -
    VOL_TYPE : NOT DEFINED
    SSID : -
    RSGID : 1

    In this example, the virtual LDEV ID (0x2222) is assigned to the volume whose actual LDEV ID is 0xfefe.

  3. To use the virtual LDEV ID (0x2222) for a GAD pair volume, use the raidcom unmap resource command to remove assignment of the virtual LDEV ID (0x2222) from the volume whose LDEV ID is 0xfefe.
    raidcom unmap resource -ldev_id 0xfefe -virtual_ldev_id 0x2222 -IH1
  4. Confirm that the assignment of the virtual LDEV ID (0x2222) is removed from the volume whose LDEV ID is 0xfefe.
    raidcom get ldev -ldev_id 0x2222 -key front_end -cnt 1 -fx -IH101

    When you specify the virtual storage machine for HORCM_VCMD in the configuration definition file, and execute the raidcom get ldev command with the -cnt option, the virtual LDEV IDs existing in the specified range by the -cnt option are displayed.

    After you execute the above command, if the virtual LDEV ID 0x2222 is not displayed, the same virtual LDEV ID (0x2222) as that of the primary volume does not exist in the virtual storage machine of the secondary site.

Note: After releasing the virtual LDEV ID assignment, if you execute the raidcom get ldev command without specifying the -cnt option, the following error code and message are output:
raidcom: [EX_EGPERM] Permission denied with the Resource Group

In the example above, the virtual LDEV ID (0x2222) has not been defined after you released the virtual LDEV ID assignment. Therefore, the user of the virtual storage machine does not have access authority.

When a command is executed specifying a virtual storage machine (that is, using HORCM_VCMD), both the actual information and the virtual information of the specified resource must be assigned to the user. When the virtual storage machine is not specified (that is, using HORCM_CMD), the user can execute the command only if the actual information of the specified resource is assigned to the user.