]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Show how new data pools can be added to CephFS for file layouts
authorWido den Hollander <wido@42on.com>
Thu, 18 Dec 2014 09:59:31 +0000 (10:59 +0100)
committerWido den Hollander <wido@42on.com>
Thu, 18 Dec 2014 09:59:31 +0000 (10:59 +0100)
doc/cephfs/file-layouts.rst

index 82d2958f85a20d267bfd6401d7c2700a35233757..95be8ae3e577242e8173f7cbae015301f71b0660 100644 (file)
@@ -144,4 +144,18 @@ directories do not have layouts set:
     $ getfattr -n ceph.file.layout dir/childdir/grandchild
     # file: dir/childdir/grandchild
     ceph.file.layout="stripe_unit=4194304 stripe_count=4 object_size=4194304 pool=cephfs_data"
+
     
+Adding a data pool to the MDS
+---------------------------------
+
+Before you can use a pool with CephFS you have to add it to the Metadata Servers.
+
+.. code-block:: bash
+
+    $ ceph mds add_data_pool cephfs_data_ssd
+    # Pool should now show up
+    $ ceph fs ls
+    .... data pools: [cephfs_data cephfs_data_ssd ]
+
+Make sure that your cephx keys allows the client to access this new pool.