Cleanup the manage-volumes admin doc
This was originaly copied over from "compute-manage-volumes.rst"
doc in the openstack-manuals repo but it's clearly mostly talking
about managing volumes on the Cinder side, not how they related
to compute server instances. Furthermore, Cinder already has a much
more detailed CLI guide on managing volumes, so this change removes
the content that's not specific to Nova and just links to the Cinder
docs.
Change-Id: I8e1c0d30debfdd4017c6d1a810a7b7dd382cd02d
(cherry picked from commit 9628d2a094
)
This commit is contained in:
parent
01b756f960
commit
f7461ebd3a
|
@ -3,51 +3,11 @@ Manage volumes
|
|||
==============
|
||||
|
||||
Depending on the setup of your cloud provider, they may give you an endpoint to
|
||||
use to manage volumes, or there may be an extension under the covers. In either
|
||||
case, you can use the ``openstack`` CLI to manage volumes.
|
||||
use to manage volumes. You can use the ``openstack`` CLI to manage volumes.
|
||||
|
||||
.. list-table:: **openstack volume commands**
|
||||
:header-rows: 1
|
||||
For the purposes of the compute service, attaching, detaching and
|
||||
:doc:`creating a server from a volume <../user/launch-instance-from-volume>`
|
||||
are of primary interest.
|
||||
|
||||
* - Command
|
||||
- Description
|
||||
* - server add volume
|
||||
- Attach a volume to a server.
|
||||
* - volume create
|
||||
- Add a new volume.
|
||||
* - volume delete
|
||||
- Remove or delete a volume.
|
||||
* - server remove volume
|
||||
- Detach or remove a volume from a server.
|
||||
* - volume list
|
||||
- List all the volumes.
|
||||
* - volume show
|
||||
- Show details about a volume.
|
||||
* - snapshot create
|
||||
- Add a new snapshot.
|
||||
* - snapshot delete
|
||||
- Remove a snapshot.
|
||||
* - snapshot list
|
||||
- List all the snapshots.
|
||||
* - snapshot show
|
||||
- Show details about a snapshot.
|
||||
* - volume type create
|
||||
- Create a new volume type.
|
||||
* - volume type delete
|
||||
- Delete a specific flavor
|
||||
* - volume type list
|
||||
- Print a list of available 'volume types'.
|
||||
|
||||
|
|
||||
|
||||
For example, to list IDs and names of volumes, run:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack volume list
|
||||
+--------+--------------+-----------+------+-------------+
|
||||
| ID | Display Name | Status | Size | Attached to |
|
||||
+--------+--------------+-----------+------+-------------+
|
||||
| 86e6cb | testnfs | available | 1 | |
|
||||
| e389f7 | demo | available | 1 | |
|
||||
+--------+--------------+-----------+------+-------------+
|
||||
Refer to the `block storage service CLI guide on managing volumes
|
||||
<https://docs.openstack.org/cinder/latest/cli/cli-manage-volumes.html>`_.
|
||||
|
|
Loading…
Reference in New Issue