I have some problem to mount ceph file system

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

 



Hello 
I have a question about ceph.

When I mount ceph, I do the command as follow :

# mount -t ceph -o name=admin,secret=XXXXXX 10.1.0.1:6789/ /mnt/ceph -vv

now I create an user "foo" and make a secretkey by ceph-authtool like that :

# ceph-authtool /etc/ceph/keyring.bin -n client.foo --gen-key

then I add the key into ceph :

# ceph auth add client.foo osd 'allow *' mon 'allow *' mds 'allow' -i 
/etc/ceph/keyring.bin

so i can mount ceph by foo :

# mount -t ceph -o name=foo,secret=XOXOXO 10.1.0.1:6789/ /mnt/ceph -vv

my question is if i don't want "foo" that has permission to mount 10.1.0.1:6789/

HOW TO DO IT?

if there is a directory "foo"

I want he can mount 10.1.0.1:6789:/foo/

but have no access to mount 10.1.0.1:6789:/


Thanks,
Frank

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux