Deleting volumes

Virtual Storage Platform One SDS Block and SDS Cloud Virtual Private Storage Administration

Version
1.19.x
Audience
anonymous
Part Number
MK-24VSP1SDS028-03
ft:lastEdition
2026-04-20

Delete unnecessary volumes as follows.

Volumes cannot be deleted in the following cases.

  • If a path is set between a compute node and a volume, the volume cannot be deleted.

    Before you delete a volume, cancel the connection between the volume to be deleted and the associated compute node.

  • Volumes with "P-VOL", "P/S-VOL", or "S-VOL" snapshotAttribute cannot be deleted using the procedure described in this section. For details about how to delete these volumes, see Deleting snapshots.

  • A volume whose status is "ExpansionFailed" cannot be deleted. If you want to delete a volume whose status is "ExpansionFailed", expand the volume, verify that the status becomes "Normal", and then run the volume deletion command again.

  • Required role: VpsStorage

  1. Verify the ID of the intended volume.

    If you use the CLI to specify a volume by name, check the name of the volume.

    REST API: GET /v1/objects/volumes

    CLI: volume_list

  2. Delete the intended volume.

    Run either of the following commands with the volume ID specified.

    If you use the CLI, you can specify a name instead of the ID of the volume.

    REST API: DELETE /v1/objects/volumes/<id>

    CLI: volume_delete

    Verify the job ID which is displayed after the command is run.

    Note:
  3. Verify the state of the job.

    Run either of the following commands with the job ID specified.

    REST API: GET /v1/objects/jobs/<jobId>

    CLI: job_show

    If the job state is "Succeeded", the job is completed.

  4. Obtain a list of volumes and verify that the volumes are deleted.

    REST API: GET /v1/objects/volumes

    CLI: volume_list

    CAUTION:
    • If the storage cluster stops while a volume with data reduction enabled is being deleted, the delete job disappears (as a result of interruption or failure), and the storage cluster stops. When you restart the storage cluster, the delete operation will be automatically resumed.

    • If a volume with data reduction enabled is to be deleted, the larger the volume capacity is, the longer it takes for the volume to be deleted.

    • You can confirm the progress status of the data reduction function accompanying the deletion process in dataReductionProgressRate of volume information.

    • When the volume deletion process is completed, the target volume disappears from volume information. By obtaining a list of volumes, you can verify whether the target volume has disappeared.