On Fri, Jul 6, 2018 at 6:30 PM Chad William Seys <cwseys@xxxxxxxxxxxxxxxx> wrote: > > Hi all, > I'm having a problem that when I mount cephfs with a quota in the > root mount point, no ceph-fuse appears in 'mount' and df reports: > > Filesystem 1K-blocks Used Available Use% Mounted on > ceph-fuse 0 0 0 - /srv/smb > > If I 'ls' I see the expected files: > # ls -alh > total 6.0K > drwxrwxr-x+ 1 root smbadmin 18G Jul 5 17:06 . > drwxr-xr-x 5 root smbadmin 4.0K Jun 16 2017 .. > drwxrwx---+ 1 smbadmin smbadmin 3.0G Jan 18 10:50 bigfix-relay-cache > drwxrwxr-x+ 1 smbadmin smbadmin 15G Jul 6 11:51 instr_files > drwxrwx---+ 1 smbadmin smbadmin 0 Jul 6 11:50 mcdermott-group > > Quotas are being used: > getfattr --only-values -n ceph.quota.max_bytes /srv/smb > 10000 > > Turning off the quota at the mountpoint allows df and mount to work > correctly. > > I'm running 12.2.4 on the servers and 12.2.5 on the client. That's pretty weird, not something I recall seeing before. When quotas are in use, Ceph is implementing the same statfs() hook to report usage to the OS, but it's doing a getattr() call to the MDS inside that function. I wonder if something is going slowly, and perhaps the OS is ignoring filesystems that don't return promptly, to avoid hanging "df" on a misbehaving filesystem? I'd debug this by setting "debug ms = 1", and finding the client's log in /var/log/ceph. John > > Is there a bug report for this? > Thanks! > Chad. > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com