Provided by: ec2-api-tools_1.5.0.0-0ubuntu1_all bug

NAME

       ec2-detach-volume - Detach an attached volume

SYNOPSIS

        ec2detvol ([ec2-detach-volume])
        ec2detvol [GENERAL OPTIONS] VOLUME [-i INSTANCE [-d DEVICE]] [-f|--force]

GENERAL NOTES

        Any command option/parameter may be passed a value of '-' to indicate
        that values for that option should be read from stdin.

DESCRIPTION

        Detach an attached volume, forcefully if indicated, from the specified instance.
        The VOLUME parameter specifies the volume which to detach.

GENERAL OPTIONS

        -K, --private-key KEY
            Specify KEY as the private key to use. Defaults to the value of the
            EC2_PRIVATE_KEY environment variable (if set). Overrides the default.

        -C, --cert CERT
            Specify CERT as the X509 certificate to use. Defaults to the value
            of the EC2_CERT environment variable (if set). Overrides the default.

        -U, --url URL
            Specify URL as the web service URL to use. Defaults to the value of
            'https://ec2.amazonaws.com' (us-east-1) or to that of the
            EC2_URL environment variable (if set). Overrides the default.

        --region REGION
            Specify REGION as the web service region to use.
            This option will override the URL specified by the "-U URL" option
            and EC2_URL environment variable.

        -v, --verbose
            Verbose output.

        -?, --help
            Display this help.

        -H, --headers
            Display column headers.

        --debug
            Display additional debugging information.

        --show-empty-fields
            Indicate empty fields.

        --hide-tags
            Do not display tags for tagged resources.

        --connection-timeout TIMEOUT
            Specify a connection timeout TIMEOUT (in seconds).

        --request-timeout TIMEOUT
            Specify a request timeout TIMEOUT (in seconds).

SPECIFIC OPTIONS

        -i, --instance INSTANCE
            The running instance to which the volume is attached.

        -d, --device DEVICE
            A device name as which the VOLUME is exposed inside INSTANCE.

        -f, --force
            Forcefully disconnect VOLUME from INSTANCE.
            WARNING: This can lead to data loss or a corrupted file system.
                     Use this option only as a last resort to detach a volume
                     from a failed instance.  The instance will not have an
                     opportunity to flush file system caches nor file system
                     meta data.

SEE ALSO

         http://docs.amazonwebservices.com/AWSEC2/2011-11-01/CommandLineReference
         http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference