From: Wido den Hollander Date: Thu, 18 Dec 2014 09:59:31 +0000 (+0100) Subject: doc: Show how new data pools can be added to CephFS for file layouts X-Git-Tag: v0.91~45 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=883e1aea96371da5d044b0c5c9cce707515db995;p=ceph.git doc: Show how new data pools can be added to CephFS for file layouts --- diff --git a/doc/cephfs/file-layouts.rst b/doc/cephfs/file-layouts.rst index 82d2958f85a2..95be8ae3e577 100644 --- a/doc/cephfs/file-layouts.rst +++ b/doc/cephfs/file-layouts.rst @@ -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.