[ceph-fuse] Quota size change does not notify another ceph-fuse client.

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

 



Dear cephers,
    I met a problem when using ceph-fuse with quota enabled.

   My ceph version is :
   ceph version 10.2.5 (c461ee19ecbc0c5c330aca20f7392c9a00730367)

    I have two ceph-fuse process in two different hosts(node1 and node2)
    One ceph-fuse is mounted with root directory  on /mnt/cephfs on node1.
    [root@node1] ceph-fuse -m mds-host:6789 /mnt/cephfs
    I set quota on a sub directory volumes/nas0 in /mnt/cephfs.
    [root@node1] setfattr -n ceph.quota.max_bytes -v 100000000000 /mnt/cephfs/volumes/nas0

    One ceph-fuse is mounted with /volumes/nas0 on node2 with client quota enabled.
    [root@node2] ceph-fuse --id yxy  -r /volumes/nas0 /shares/share0/
   
[root@node2]$ cat /etc/ceph/ceph.client.yxy.keyring
[client.yxy]   
    key = AQBmtMdYNPnOJRAAg5t+gkUDmqTpQhZh2VXlWg==
        caps mds = "allow * path=/volumes/nas0"
    caps mon = "allow *"
    caps osd = "allow *"

[root@node2 ]$ cat /etc/ceph/ceph.conf
[global]
mon_initial_members=xxxxx
mon_host = xxxxx
client quota = true

DF commond show that ceph-fuse has  94GB capacity just equal to the size we set.
    ceph-fuse                 94G  4G 90G 3% /shares/share0


But when I resize the quota with /volumes/nas0.
[root@node1 ~]# setfattr -n ceph.quota.max_bytes -v 70000000000 /mnt/cephfs/volumes/nas0

On node2 , DF command stilll show 94GB capacity.
ceph-fuse                 94G  4G 90G 3% /shares/share0

One host resizes the quota size and another host  does not know the change.
Is it  a problem with ceph-fuse?
Appreciate any reply.

penglaixy


 

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux