Deleting an MVG volume
An MVG volume is not deleted from the MVG server when the corresponding disk pool on NetBackup web UI is deleted.
To delete an MVG volume
- (Optional) Take a backup of the MSDP volume group configuration. Run the following command on the MVG server to dump the MVG volume configuration information to a file.
cacontrol --mvg listvvols [<dsid-of-mvg-volume>]
- Create the configuration file for the MVG volume deletion in the following format.
V7.5 "operation" "delete-virtual-volume" string V7.5 "virtualVolume" "<mvg-vol>" string
- Delete an MVG volume in the MVG server.
nbdevconfig -setconfig -storage_server <mvg-server> -stype PureDisk -configlist <configuration-file>
This command removes an MVG volume association information from the MSDP servers of the disk volumes and removes an MVG volume information from the MVG server. Ensure that the MSDP servers are accessible when you run this command.
If an MSDP server is down for some reason, the command does not fail. Do not use this command if an MSDP server is down as the MVG volume associated information is not removed from that MSDP server.
Run the following commands on that MSDP server to manually remove the information from it when it is back.
cacontrol --dataselection removefromvvol <dsid-of-disk-volume> <disk-volume> <msdp-server> <mvg-server> <mvg-volume>
cacontrol --dataselection refresh-disk-volume <msdp-server> <disk-volume >