NFS Quotas and Samba 2.0.7

Chen Shiyuan csy at hjc.edu.sg
Sun Jun 11 08:11:46 GMT 2000


Hello everyone!

I am currently running Samba 2.0.7 on a RedHat Linux 6.1 box. My user home 
directories on this box are NFS mounted from another server. Quotas have 
been enabled on this server and rpc.rquotad is running.

On Linux, I can see the user's quotas via a quota -v <username> :-

testing:~# quota -v try
Disk quotas for user try (uid 1006): 
     Filesystem  blocks   quota   limit   grace   files   quota   limit   
1.1.1.1:/home        52    5120    5120              12       0       0    
    
However, when I tried to do a smbclient \\\\testing\\homes -Utry , I 
noticed that Samba shows me the total amount of disk space available on the 
mount rather than how much of the user's quota is left.

testing:~# smbclient \\\\testing\\homes -Utry
added interface ip=1.1.1.1 bcast=1.1.1.255 nmask=255.255.255.0
Password: 
Domain=[TESTING] OS=[Unix] Server=[Samba 2.0.7]
smb: \> dir
  .                                   D        0  Mon May  1 00:09:26 2000
  ..                                  D        0  Mon May  1 02:03:43 2000
  public_html                         D        0  Sun Apr  9 12:07:52 2000
  cgi-bin                             D        0  Sun Apr  9 12:07:52 2000
  mail                                D        0  Sun May 21 16:36:25 2000
  .pinerc                             H    11603  Mon May  1 00:09:26 2000
  .bash_history                       H      414  Sun May 21 16:47:57 2000
  .addressbook                        H        0  Sun Apr  9 12:12:51 2000
  .addressbook.lu                     H     2285  Sun Apr  9 12:12:51 2000

                53306 blocks of size 131072. 3465 blocks available
smb: \>

But if I were to access a non-NFS mounted share, Samba will show me how 
much of the disk quota is left rather than the total amount of space left 
on the device.

Does anyone have any idea how I can make Samba display the disk quotas 
correctly? Is this a bug in Samba or have I misconfigured something 
somewhere?

My current configuration for the [homes] share is as follows :-

[homes]
   comment = Testing Home Directory
   browseable = no
   read only = no



Thanks alot for your time and regards!


More information about the samba mailing list