Samba Quota Problem with XFS Filesystem

Christoph Hellwig hch at
Thu Jan 15 11:09:50 MST 2015

On Wed, Jan 14, 2015 at 04:20:47PM +0100, Marc Fischer wrote:
> Hello Community,
> we've converted our Samba Fileserver to the xfs filesystem.
> So we've got Suse Linux Enterprise Server 12 with Samba Version 4.1.12. Actually we use user quota for our home mountpoint.  The user quota in linux is displayed correctly, but with samba in Windows you see the double size. I've found a lot of people who have the same problem, but no solution for this issue.
> Do you have some hints to solve this or is it a bug in the Samba 4 version?

Can you run a strace or look at configure logs if Samba is using
the XFS or the VFS quota interface?  I think the latter has a bug
where quota reporting is off by a factor of two.

More information about the samba-technical mailing list