For the complete documentation index, see llms.txt. This page is also available as Markdown.

detach

Detach a Volume from a Server (the Volume is kept)

Usage

ionosctl compute server volume detach [flags]

Aliases

For server command:

[s svr]

For volume command:

[v vol]

For detach command:

[d]

Description

Use this command to detach a Volume from a Server, or detach all attached Volumes at once with --all. Depending on the Volume's HotUnplug capability, detaching may trigger a reboot of the Server.

This does NOT delete the Volume or its data: the Volume stays in the Virtual Data Center and can be re-attached later or attached to a different Server. To permanently remove it, delete it separately with ionosctl compute volume delete.

Use --wait (-w) to wait for the resource to reach AVAILABLE state. You can force the command to execute without user input using --force option.

Required values to run command:

  • Data Center Id

  • Server Id

  • Volume Id

Options

Examples

Last updated

Was this helpful?