Skip to content

Commit

Permalink
doc/cephfs: rectify prompts in fs-volumes.rst
Browse files Browse the repository at this point in the history
Make sure all prompts are unselectable. This PR is meant to be
backported to Reef, Quincy, and Pacific, to get all of the prompts into
a fit state so that a line-edit can be performed on the Englsh language
in this file.

Follows ceph#51427.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1f88f10)
  • Loading branch information
zdover23 committed May 12, 2023
1 parent ff6013f commit 4052c25
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions doc/cephfs/fs-volumes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Requirements
mon 'allow r'
mgr 'allow rw'


FS Volumes
----------

Expand Down Expand Up @@ -153,11 +152,10 @@ When creating a subvolume group you can specify its data pool layout (see
:doc:`/cephfs/file-layouts`), uid, gid, file mode in octal numerals, and
size in bytes. The size of the subvolume group is specified by setting
a quota on it (see :doc:`/cephfs/quota`). By default, the subvolume group
is created with octal file mode '755', uid '0', gid '0' and the data pool
is created with octal file mode ``755``, uid ``0``, gid ``0`` and the data pool
layout of its parent directory.


Remove a subvolume group using::
Remove a subvolume group using:

$ ceph fs subvolumegroup rm <vol_name> <group_name> [--force]

Expand Down Expand Up @@ -251,7 +249,6 @@ Remove a subvolume using::

$ ceph fs subvolume rm <vol_name> <subvol_name> [--group_name <subvol_group_name>] [--force] [--retain-snapshots]


The command removes the subvolume and its contents. It does this in two steps.
First, it moves the subvolume to a trash folder, and then asynchronously purges
its contents.
Expand Down Expand Up @@ -280,7 +277,7 @@ Authorize cephx auth IDs, the read/read-write access to fs subvolumes::

$ ceph fs subvolume authorize <vol_name> <sub_name> <auth_id> [--group_name=<group_name>] [--access_level=<access_level>]

The 'access_level' takes 'r' or 'rw' as value.
The ``access_level`` takes ``r`` or ``rw`` as value.

Deauthorize cephx auth IDs, the read/read-write access to fs subvolumes::

Expand Down

0 comments on commit 4052c25

Please sign in to comment.