On Wed, Jan 29, 2020 at 3:04 AM Frank Schilder <[email protected]> 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.

The client gets the file layout information when the file is created
(i.e. the RPC response from the MDS) . It doesn't have _any_ access to
"/". It can't even stat "/".

> 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?

Yes.

-- 
Patrick Donnelly, Ph.D.
He / Him / His
Senior Software Engineer
Red Hat Sunnyvale, CA
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to