Removing Volumes
Explains how to remove a volume using either the Control System or the CLI.
About this task
NOTE
When you remove a volume enabled for:- Cold tiering, the directory/folder for the volume in the metadata volume associated with the tier is also removed asynchronously.
- Warm tiering, the directory/folder for the volume in the metadata volume associated with the tier and the erasure-coded volume are also removed asynchronously.
Removing Volumes Using the Control System
About this task
To remove one or more volumes, in the Summary tab under :
NOTE
The Volumes page is under the
Volumes menu in the Kubernetes version of the
Control System.Procedure
Removing Volumes Using the CLI or REST API
About this task
The basic command to remove a volume is:
maprcli volume remove -name <volume name>
For complete reference information, see
volume remove.
NOTE
When a volume is removed, the data present in that volume is not purged from
the filesystem immediately. The following parameters control when the deleted
volumes are purged.cldb.purge.delay.hours— Time to wait (in hours) to trigger purge of any volume after CLDB becomes primary. The default value is 1 hour.cldb.volumes.purge.frequency— The frequency (in minutes) for purging the data of deleted volumes. The default value is 60 minutes.Use themaprclicommand to set these parameters. For example:maprcli config save -values {"cldb.purge.delay.hours":"2"} maprcli config save -values {"cldb.volumes.purge.frequency":"120"}