Deleting a volume that was a P-VOL

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

After you delete a GAD pair by specifying the P-VOL, you can continue to use the volume that was the P-VOL of the pair. When you execute the raidcom get ldev command for a volume that continues to be available after pair deletion, a value other than ffff or fffe is displayed for the VIR_LDEV (virtual LDEV ID), or the VIR_LDEV is not displayed. If you want to stop using GAD and delete the volume, do the following:

  1. Delete the LU path to the volume.
  2. If the DKCMAIN microcode version is A0-05-41 or later, check whether VSM auto-configuration is used on the operation-target volume.

    If AUTO_VIRTUAL_STORAGE is YES, go to step 6. If AUTO_VIRTUAL_STORAGE is NO or if the DKCMAIN microcode version is earlier than A0-05-41, go to step 3.

    raidcom get ldev –ldev_id 0x1111 –key virtual –fx –IH100
    LDEV# VIR_LDEV Serial# V_Serial# V_ID V_NUMBER VOL_TYPE
    VIR_VOL_TYPE SSID VIR_SSID AUTO_VIRTUAL_STORAGE
    4444 5555 900061 900061 RH20ETP 0 OPEN-V-CVS
    - a - NO
    
  3. Delete the virtual LDEV ID.

    Command example for deleting virtual LDEV ID (0x5555) set for LDEV ID (0x4444):

    raidcom unmap resource -ldev_id 0x4444 -virtual_ldev_id 0x5555

    When you delete the virtual LDEV ID, the volume changes to a volume whose virtual LDEV ID has been deleted. If you use the raidcom get ldev command for a volume whose virtual LDEV ID has been deleted, fffe is displayed for the VIR_LDEV (virtual LDEV ID).

  4. When the virtual LDEV ID is reserved by the resource group other than meta_resource, delete the virtual LDEV ID from the resource group.
    Command example for deleting virtual LDEV ID (0x4444) from resource group (AnotherGroup), and then moving the virtual LDEV ID to meta_resource:
    raidcom delete resource -resource_name AnotherGroup -ldev_id 0x4444
  5. Set a virtual LDEV ID for the volume.
    Command example for setting virtual LDEV ID (0x4444) for volume (0x4444):
    raidcom map resource -ldev_id 0x4444 -virtual_ldev_id 0x4444
  6. Delete the volume.
    Command example:
    raidcom delete ldev -ldev_id 0x4444
    -operation initialize_capacity_saving

    If VSM auto-configuration is used, you can also delete the volume by specifying the virtual information reset option (-virtual_info reset).

    raidcom delete ldev -ldev_id 0x4444 -virtual_info reset
    -operation initialize_capacity_saving
    
    Note: You need to set a unique virtual LDEV ID within the storage systems that use the volume. If the same virtual LDEV ID is used by another storage system or virtual storage machine that has the same serial number and model, the server cannot distinguish between volumes. In the worst-case scenario, the server detects inconsistencies.