Skip to content

Commit

Permalink
Merge pull request #51458 from zdover23/wip-doc-2023-05-12-cephfs-fs-…
Browse files Browse the repository at this point in the history
…volumes-prompt-rectification

doc/cephfs: rectify prompts in fs-volumes.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
  • Loading branch information
zdover23 committed May 12, 2023
2 parents e0652e5 + 1f88f10 commit 694f059
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 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 @@ -170,10 +169,9 @@ 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:

.. prompt:: bash #
Expand Down Expand Up @@ -288,7 +286,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 @@ -321,7 +318,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 694f059

Please sign in to comment.