Samba and Quota (Linux)

Frank van Maarseveen fvm at
Wed Oct 13 16:24:59 GMT 1999

On Thu, Oct 14, 1999 at 02:02:23AM +1000, Celso Kopp Webber wrote:
> Whenever a Windows client tries to
> write a file that goes beyond his/her hard limit quota, the file seems to be
> created with the correct size, but it gets truncated on the server's
> filesystem.
Unless there's no error code this is not a bug. When a file is opened, seeked
far beyond EOF and a few bytes are written then the file appears to be big
according to ls -l but in reality contains so called phantom blocks: it
is a sparse file. So, size may disagree with the actual number of disk blocks

> I have also another situation here concerning quotas: every client maps its
> home directory to a single server. But some users have their home dir on an
> NFS mounted directory. Although a "quota -u login" reports his quota
> correctly on the NFS server, Samba does report the whole NFS mounted file
> system size and user space.
So "quota -u login" on the NFS client reports the wrong number when NFS
mounted fs are involved? then the bug is either in quota or in rpc.quotad
on the server.


More information about the samba-technical mailing list