[Samba] Problem with disk space.

Pedro Silva psilva at dcc.online.pt
Thu Feb 10 09:56:43 GMT 2005


Hi!

I'm using samba 3.0.10 on a server with Mandrake kernel 
2.6.3-16mdkenterprise. I've configured my samba server and my windows 
machines, and every thing seems to work fine.

The only problem I have, is when I log off from my windows client. I get 
message no space left on device, which is not true, and the profile 
stored in Documents and Settings\UserName is not copied to the server.

Below there is a copy of smb.conf and some log info. Just to get the all 
picture my samba server host mounts the user's home by NFS with right 
permissions.


In logs I can see the message saying that dfree is broken:

[2005/02/10 09:35:11, 3] lib/sysquotas.c:sys_get_quota(413)
   sys_get_vfs_quota() failed for mntpath[/net/areaz3/home] 
bdev[areaz3.alunos.dcc.fc.up.pt:/home] qtype[2] id[5228]: No such file 
or directory
[2005/02/10 09:35:11, 3] lib/sysquotas.c:sys_get_quota(413)
   sys_get_vfs_quota() failed for mntpath[/net/areaz3/home] 
bdev[areaz3.alunos.dcc.fc.up.pt:/home] qtype[4] id[5000]: No such file 
or directory
[2005/02/10 09:35:11, 0] smbd/dfree.c:disk_free(138)
   WARNING: dfree is broken on this system
[2005/02/10 09:35:11, 3] smbd/process.c:process_smb(1091)
   Transaction 151 of length 74
[2005/02/10 09:35:11, 3] smbd/process.c:switch_message(886)
   switch message SMBtrans2 (pid 19099) conn 0x83b76d0
[2005/02/10 09:35:11, 3] smbd/trans2.c:call_trans2qfsinfo(1825)
   call_trans2qfsinfo: level = 1007
[2005/02/10 09:35:11, 3] lib/sysquotas.c:sys_get_quota(413)
   sys_get_vfs_quota() failed for mntpath[/net/areaz3/home] 
bdev[areaz3.alunos.dcc.fc.up.pt:/home] qtype[2] id[5228]: No such file 
or directory
[2005/02/10 09:35:11, 3] lib/sysquotas.c:sys_get_quota(413)
   sys_get_vfs_quota() failed for mntpath[/net/areaz3/home] 
bdev[areaz3.alunos.dcc.fc.up.pt:/home] qtype[4] id[5000]: No such file 
or directory
[2005/02/10 09:35:11, 3] smbd/process.c:process_smb(1091)
   Transaction 152 of length 104
[2005/02/10 09:35:11, 3] smbd/process.c:switch_message(886)
   switch message SMBtrans2 (pid 19099) conn 0x83b76d0
[2005/02/10 09:35:11, 3] smbd/trans2.c:call_trans2qfilepathinfo(2346)
   call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2005/02/10 09:35:11, 3] smbd/trans2.c:call_trans2qfilepathinfo(2371)
   call_trans2qfilepathinfo: SMB_VFS_STAT of shell32.dll failed (No such 
file or directory)


This my server configuration:
# Samba config file created using SWAT
# from 192.168.0.34 (192.168.0.34)
# Date: 2005/02/10 09:22:46

# Global parameters
[global]
         dos charset = 850
         unix charset = ISO8859-1
         workgroup = LABCC
         netbios name = WINSERVER
         server string = Servidor Windows dos Alunos
         map to guest = Bad User
         passdb backend = ldapsam:ldap://ldap-labcc.alunos.dcc.fc.up.pt
         log level = 3
         log file = /var/log/samba/log.%m
         name resolve order = host
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         add machine script = 
/usr/share/samba/scripts/smbldap-useradd.pl -w -d /dev/null -g windows 
-c 'Windows Workstations Accounts' -s /bin/false %u
         logon path = \\%L\%U\profile
         logon drive = Z:
         domain logons = Yes
         os level = 33
         preferred master = Yes
         domain master = Yes
         dns proxy = No
         wins support = Yes
         ldap admin dn = cn=root,dc=dcc
         ldap group suffix = ou=Grupos
         ldap machine suffix = ou=Computadores
         ldap suffix = dc=alunos,dc=dcc
         ldap ssl = no
         ldap user suffix = ou=Pessoas
         admin users = Labadmin
         hosts allow = 192.168.0., 192.168.115., 127.

[homes]
         comment = Home Directories
         read only = No
         browseable = No




Thanks!
Pedro Silva


More information about the samba mailing list