From 883e1aea96371da5d044b0c5c9cce707515db995 Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Thu, 18 Dec 2014 10:59:31 +0100 Subject: [PATCH] doc: Show how new data pools can be added to CephFS for file layouts --- doc/cephfs/file-layouts.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/cephfs/file-layouts.rst b/doc/cephfs/file-layouts.rst index 82d2958f85a..95be8ae3e57 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. -- 2.47.3