Re: how to limit access to pools ?

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

 



Hi Markus,

Limit access to specified pool through key authentication.:
Example, i having a pool is 'instances', and setting permission likes:

#ceph auth get-or-create client.instances mon 'allow r' osd 'allow rwx pool=instances'


--tuantaba
TA BA TUAN



On 07/16/2013 08:04 PM, Markus Goldberg wrote:
Hi,
i created a few pools with
'ceph osd pool create <poolname> 100 100'
and set a relation to corresponding directories with
 'cephfs /mnt/myceph/<dirname> set_layout -p <poolname>'.

I can list the pools with 'ceph osd pools'

I can mount the dirs/subdirs at the client with
'mount -t ceph xxx.xxx.xxx.xxx:6789:/dir1/dir2 /mnt/myceph -v -o name=admin,secretfile=/etc/ceph/admin.secret'
(admin.secret is the key for the data-rootdir (/) )

how can i give specific clients read/write access to only a subset of the pools ?


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[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