Detaches a volume from an instance.


euca-detach-volume volume_id [-i instance_id ][-d device ][-f ]


Option Description Required
volume_id Volume ID to be detached Yes
-i, --instance instance_id Instance ID No
-d, --device device Device name No
-f, --force Forces detachment if the previous detachment did not occur cleanly. Use only as a last resort to detach a volume from a failed instance. Perform file system check and repair procedures if you use this option.  

Common Options

Option Description
--show-empty-fields Show empty fields as "(nil)".
--region user@region Region and/or user name to search when looking up config file data. Only valid for EC2 endpoints.
-U,--url url URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean.
-I,--access-key-id key_id User's access key ID.
-S,--secret-key secret_key User's secret key.
--security-token token User's security token.
--debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error.
-h,--help Display the manual page for the command.
--version Display the version of this tool.



euca-detach-volume vol-639C3E6C
VOLUME  vol-639C3E6C