vinfra service compute server volume detach
Detach a volume from a virtual machine:
usage: vinfra service compute server volume detach --server <server> <volume>
--server <server>
- Virtual machine ID or name
<volume>
- Volume ID or name
Example:
# vinfra service compute server volume detach e4cb5363-1fb2-41f5-b24b-18f98a388cba \ --server 871fef54-519b-4111-b18d-d2039e2410a8 Operation successful.
This command detaches the volume with the ID e4cb5363-1fb2-41f5-b24b-18f98a388cba
from the VM with the ID 871fef54-519b-4111-b18d-d2039e2410a8
.