]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: uid, gid for subvolume create and subvolumegroup create commands
authorJos Collin <jcollin@redhat.com>
Sun, 27 Oct 2019 15:42:38 +0000 (21:12 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 14 Nov 2019 09:07:49 +0000 (14:37 +0530)
Fixes: https://tracker.ceph.com/issues/40959
Signed-off-by: Jos Collin <jcollin@redhat.com>
doc/cephfs/fs-volumes.rst

index 9284b0901ddd5ad65fd4590541b5122eef7011fa..13f7644b0002a2e8d75e78f6c118a638257b8095 100644 (file)
@@ -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::