summaryrefslogtreecommitdiffstats
path: root/doc/cephfs
diff options
context:
space:
mode:
authorJos Collin <jcollin@redhat.com>2019-10-27 16:42:38 +0100
committerJos Collin <jcollin@redhat.com>2019-11-14 10:07:49 +0100
commit596c1fef6bacfc336ce0d11b7452e4bdab9f4b51 (patch)
treed1c11e4f6b566c23dcdf0ae84b59c48b714b0a01 /doc/cephfs
parentqa/tasks: uid, gid for subvolume create and subvolumegroup create commands (diff)
downloadceph-596c1fef6bacfc336ce0d11b7452e4bdab9f4b51.tar.xz
ceph-596c1fef6bacfc336ce0d11b7452e4bdab9f4b51.zip
doc: uid, gid for subvolume create and subvolumegroup create commands
Fixes: https://tracker.ceph.com/issues/40959 Signed-off-by: Jos Collin <jcollin@redhat.com>
Diffstat (limited to 'doc/cephfs')
-rw-r--r--doc/cephfs/fs-volumes.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst
index 9284b0901dd..13f7644b000 100644
--- a/doc/cephfs/fs-volumes.rst
+++ b/doc/cephfs/fs-volumes.rst
@@ -65,14 +65,14 @@ FS Subvolume groups
Create a subvolume group using::
- $ ceph fs subvolumegroup create <vol_name> <group_name> [--mode <octal_mode> --pool_layout <data_pool_name>]
+ $ ceph fs subvolumegroup create <vol_name> <group_name> [--pool_layout <data_pool_name> --uid <uid> --gid <gid> --mode <octal_mode>]
The command succeeds even if the subvolume group already exists.
When creating a subvolume group you can specify its data pool layout (see
-:doc:`/cephfs/file-layouts`), and file mode in octal numerals. By default, the
-subvolume group is created with an octal file mode '755', and data pool layout
-of its parent directory.
+:doc:`/cephfs/file-layouts`), uid, gid, and file mode in octal numerals. By default, the
+subvolume group is created with an octal file mode '755', uid '0', gid '0' and data pool
+layout of its parent directory.
Remove a subvolume group using::
@@ -116,17 +116,17 @@ FS Subvolumes
Create a subvolume using::
- $ ceph fs subvolume create <vol_name> <subvol_name> [--group_name <subvol_group_name> --mode <octal_mode> --pool_layout <data_pool_name> --size <size_in_bytes>]
+ $ ceph fs subvolume create <vol_name> <subvol_name> [--size <size_in_bytes> --group_name <subvol_group_name> --pool_layout <data_pool_name> --uid <uid> --gid <gid> --mode <octal_mode>]
The command succeeds even if the subvolume already exists.
When creating a subvolume you can specify its subvolume group, data pool layout,
-file mode in octal numerals, and size in bytes. The size of the subvolume is
+uid, gid, file mode in octal numerals, and size in bytes. The size of the subvolume is
specified by setting a quota on it (see :doc:`/cephfs/quota`). By default a
subvolume is created within the default subvolume group, and with an octal file
-mode '755', data pool layout of its parent directory and no size limit.
-
+mode '755', uid of its subvolume group, gid of its subvolume group, data pool layout of
+its parent directory and no size limit.
Remove a subvolume using::