Deleting a disk volume from an MVG volume configuration
Before removing a disk volume from an MVG volume, make sure that the data is safely evacuated. You can use the MVG evacuation workflow to evacuate the data.
See About MSDP server evacuation.
Once evacuation is complete, you can delete the disk volume from the MVG volume configuration using NetBackup web UI or command line.
If the disk volume is already lost or unrecoverable, you can forcibly remove it. See Identifying the orphan images stored on the lost disk volume.
Ensure that all other disk volumes in the MVG volume are healthy and accessible before starting.
To delete a disk volume from an MVG volume
- Create a configuration file to shrink the MVG volume in the following format.
Create a configuration file in the following format. Specify only one disk volume to remove. If it's the only disk volume, follow the instructions to delete the entire MVG volume instead. See Deleting an MVG volume.
Sample format:
V7.5 "operation" "shrink-virtual-volume" string V7.5 "virtualVolume" "<mvg-volume-name>" string V7.5 "diskVolume" "<msdp-server>:<msdp-volume>:Y" string
Example:
cat /root/delete-host4-from-mvg-local.cfg V7.5 "operation" "shrink-virtual-volume" string V7.5 "virtualVolume" "mvg-local" string V7.5 "diskVolume" "mvgdemo-host4.mvgdemo.com:PureDiskVolume:Y" string
- Apply the configuration.
nbdevconfig -setconfig -storage_server <mvg-server> -stype PureDisk -configlist <configuration-file>
- Confirm Disk Volume removal. Run the following command or verify through the MVG volume details page in the web UI.
cacontrol --mvg listvvols