raidcom delete ldev

Storage Advisor Embedded User Guide

Part Number

Deletes the specified LDEVs or V-VOLs. A device group can also be specified instead of an LDEV.

This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command.

Note: If a failure occurs in a processor on an MP blade or a controller, this command cannot be run even on an MP blade or a controller on which no failure occurs.


raidcom delete ldev {-ldev_id <ldev#> | -grp_opt <group option> 
     -device_grp_name <device group name>  [<device name>] }
     [-operation initialize_capacity_saving]

Options and parameters

-ldev_id <ldev#> (0-65279)

Specifies the LDEV number (0-65279). For example:

  • -ldev_id 200
-grp_opt <group option>

Specifies the device information extracted from the LDEV belonging to the device group. Specify "ldev" (fixed). The information of LDEV belonging to the device group is used.

-device_grp_name <device group name> [<device name>]

Specifies the name of device group (maximum 32 characters) to be operated.

To operate an LDEV in the device group, specify the device name of LDEV (maximum 32 characters) within the device group.

If the device name is omitted, all the LDEVs belonging in the device group are operated.

[-operation initialize_capacity_saving]

Deletes an LDEV for which the capacity saving setting is enabled. When you specify this option, use the raidcom get command_status command to check if the LDEV deletion started, and then use the raidcom get ldev command to check if VOL_TYPE of the LDEV is changed from REMOVING to NOT DEFINED. If you perform another operation during or immediately after deletion of the LDEV, the operation might fail. In this case, wait a while and then retry the operation.

(VSP 5000 series) When there are no pool-associated LDEVs for which the capacity saving setting is deduplication_compression, the deduplication system data volumes are automatically deleted asynchronously with the deletion of the LDEVs. To verify that a deduplication system data volume is deleted, use the raidcom get pool -key saving command to check the LDEV number, and use the raidcom get ldev command to verify that VOL_TYPE of the LDEV is changed from REMOVING to NOT DEFINED.

  • Deleting a deduplication volume using this command might take a while. Also, more pool/physical capacity might be used. You cannot stop the deletion operation while it is in process.
  • If you want to delete all of the pool-associated volumes for which capacity saving is enabled, first execute the raidcom modify ldev command to block both the pool-associated volumes and the deduplication system data volumes, and then execute the raidcom initialize pool command. By executing the raidcom initialize pool command before deleting the volumes, you can shorten the time for the volume deletion process and prevent the increase of pool capacity to be used.


Deleting an LDEV: 200.

raidcom delete ldev -ldev_id 200

Deleting an LDEV belonging to the device group: grp1.

raidcom delete ldev -grp_opt ldev -device_grp_name grp1

Deleting an LDEV: 200, for which capacity saving setting is enabled.

# raidcom delete ldev -ldev_id 200 -operation initialize_capacity_saving