You can delete a virtual disk without shutting down the VM first if all of the following conditions are met:
- The VM may not be suspended.
- The VM must have XenServer Tools installed.
- The virtual disk may not be a system disk.
- The virtual disk must be deactivated first. Note that the term "deactivate" is equivalent to "unplug", which is the term used for this operation in the XenServer Administrator's Guide and in the CLI.
If any of these conditions are not satisfied, you will have to shut the VM down before you can delete the virtual disk.
Important: Deleting a virtual disk will permanently delete the disk,
destroying any data stored on it.