... | @@ -727,11 +727,16 @@ never do that. |
... | @@ -727,11 +727,16 @@ never do that. |
|
|
|
|
|
See also the [upstream procedure](https://docs.ganeti.org/docs/ganeti/3.0/html/admin.html#conversion-of-an-instance-s-disk-type) and [design document](https://docs.ganeti.org/docs/ganeti/3.0/html/design-disk-conversion.html).
|
|
See also the [upstream procedure](https://docs.ganeti.org/docs/ganeti/3.0/html/admin.html#conversion-of-an-instance-s-disk-type) and [design document](https://docs.ganeti.org/docs/ganeti/3.0/html/design-disk-conversion.html).
|
|
|
|
|
|
### Detaching a disk
|
|
### Removing or detaching a disk
|
|
|
|
|
|
If you need to remove a volume from an instance without destroying data, it's
|
|
If you need to destroy a volume from an instance, you can use the
|
|
possible to detach it. First, you must identify the disk's uuid using
|
|
`remove` flag to the `gnt-instance modify` command. First, you must
|
|
`gnt-instance info`, then:
|
|
identify the disk's uuid using `gnt-instance info`, then:
|
|
|
|
|
|
|
|
gnt-instance modify --disk <uuid>:remove test-01
|
|
|
|
|
|
|
|
But maybe you just want to detach the disk without destroying data,
|
|
|
|
it's possible to detach it. For this, use the `detach` keyword:
|
|
|
|
|
|
gnt-instance modify --disk <uuid>:detach test-01
|
|
gnt-instance modify --disk <uuid>:detach test-01
|
|
|
|
|
... | | ... | |