Re: ceph fs dir-layouts and sub-directory mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux