On 1/29/20 6:03 PM, Frank Schilder wrote:
I would like to (in this order)

- set the data pool for the root "/" of a ceph-fs to a custom value, say "P" 
(not the initial data pool used in fs new)
- create a sub-directory of "/", for example "/a"
- mount the sub-directory "/a" with a client key with access restricted to "/a"

The client will not be able to see the dir layout attribute set at "/", its not 
mounted.

Will the data of this client still go to the pool "P", that is, does "/a" 
inherit the dir layout transparently to the client when following the steps above?

AFAIU:

"/" (the cephfs root) is "pool_A"

"/folder" is "pool_B"


If you want for your client to put data to "/folder" only, you should set "caps: [mds] allow rw path=/folder"

and yes, client data will be putted to "pool_B".




k
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to