mirror of
https://github.com/ceph/ceph
synced 2025-02-16 07:17:21 +00:00
doc/rbd: refine "Listing Block Device Images"
Refine the text and prompts in "Listing Block Device Images" in doc/rbd/rados-rbd-cmds.rst. https://tracker.ceph.com/issues/57001 Signed-off-by: Zac Dover <zac.dover@gmail.com>
This commit is contained in:
parent
dc61eb4372
commit
ad3c93535f
@ -87,33 +87,47 @@ the default pool ``rbd``, execute the following::
|
||||
Listing Block Device Images
|
||||
===========================
|
||||
|
||||
To list block devices in the ``rbd`` pool, execute the following
|
||||
(i.e., ``rbd`` is the default pool name)::
|
||||
To list block devices in the ``rbd`` pool, run the following command:
|
||||
|
||||
rbd ls
|
||||
.. prompt:: bash $
|
||||
|
||||
To list block devices in a particular pool, execute the following,
|
||||
but replace ``{poolname}`` with the name of the pool::
|
||||
rbd ls
|
||||
|
||||
rbd ls {poolname}
|
||||
.. note:: ``rbd`` is the default pool name, and ``rbd ls`` lists the commands
|
||||
in the default pool.
|
||||
|
||||
To list block devices in a particular pool, run the following command, but
|
||||
replace ``{poolname}`` with the name of the pool:
|
||||
|
||||
.. prompt:: bash $
|
||||
|
||||
rbd ls {poolname}
|
||||
|
||||
For example::
|
||||
For example:
|
||||
|
||||
rbd ls swimmingpool
|
||||
.. prompt:: bash $
|
||||
|
||||
To list deferred delete block devices in the ``rbd`` pool, execute the
|
||||
following::
|
||||
rbd ls swimmingpool
|
||||
|
||||
rbd trash ls
|
||||
To list "deferred delete" block devices in the ``rbd`` pool, run the
|
||||
following command:
|
||||
|
||||
To list deferred delete block devices in a particular pool, execute the
|
||||
following, but replace ``{poolname}`` with the name of the pool::
|
||||
.. prompt:: bash $
|
||||
|
||||
rbd trash ls {poolname}
|
||||
rbd trash ls
|
||||
|
||||
For example::
|
||||
To list "deferred delete" block devices in a particular pool, run the
|
||||
following command, but replace ``{poolname}`` with the name of the pool:
|
||||
|
||||
rbd trash ls swimmingpool
|
||||
.. prompt:: bash $
|
||||
|
||||
rbd trash ls {poolname}
|
||||
|
||||
For example:
|
||||
|
||||
.. prompt:: bash $
|
||||
|
||||
rbd trash ls swimmingpool
|
||||
|
||||
Retrieving Image Information
|
||||
============================
|
||||
|
Loading…
Reference in New Issue
Block a user