[Samba] vfs_get_ntquota() failed for service

FERON Matthieu mferon at itsgroup.com
Tue Dec 23 09:04:18 MST 2014


Hello all,

I have a problem with samba 3.6.6 on a Debian 7 . It floods the daemon log file with this error: vfs_get_ntquota() failed for service [DevSfrCloud]
I notice that it may be the reason for a lag time when making file operations like updating a tree from subversion. I didn't find any answer searching on google.
Is anyone can explain me how to stop this check of quota?

I tried to re-install samba but it doesn't change anything.

Below, the logs that appears to be interesting from my point of view

Thanks for any help

regards

Matthieu

[2014/12/23 17:01:21.324364,  3] lib/sysquotas_nfs.c:120(sys_get_nfs_quota)
  sys_get_nfs_quota: got unsupported quota type '1', only supported type is '2' (SMB_USER_QUOTA_TYPE)
[2014/12/23 17:01:21.324402,  3] lib/sysquotas.c:417(sys_get_quota)
  sys_get_nfs_quota() failed for mntpath[/data] bdev[10.0.0.74:/DATAS/NAS/SFRCLOUD/DEV] qtype[1] id[-1]: Fonction non implantée.
[2014/12/23 17:01:21.324439,  0] smbd/trans2.c:3220(smbd_do_qfsinfo)
  vfs_get_ntquota() failed for service [DevSfrCloud]
[2014/12/23 17:01:21.324639,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(3521) cmd=50 (SMBtrans2) NT_STATUS_NOT_SUPPORTED
[2014/12/23 17:01:21.324722,  3] smbd/process.c:1662(process_smb)
  Transaction 632 of length 74 (0 toread)
[2014/12/23 17:01:21.324774,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.324810,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 1006
[2014/12/23 17:01:21.324846,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1006
[2014/12/23 17:01:21.324975,  3] lib/sysquotas_nfs.c:120(sys_get_nfs_quota)
  sys_get_nfs_quota: got unsupported quota type '1', only supported type is '2' (SMB_USER_QUOTA_TYPE)
[2014/12/23 17:01:21.325016,  3] lib/sysquotas.c:417(sys_get_quota)
  sys_get_nfs_quota() failed for mntpath[/data] bdev[10.0.0.74:/DATAS/NAS/SFRCLOUD/DEV] qtype[1] id[-1]: Fonction non implantée.
[2014/12/23 17:01:21.325051,  0] smbd/trans2.c:3220(smbd_do_qfsinfo)
  vfs_get_ntquota() failed for service [DevSfrCloud]
[2014/12/23 17:01:21.325204,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(3521) cmd=50 (SMBtrans2) NT_STATUS_NOT_SUPPORTED
[2014/12/23 17:01:21.325932,  3] smbd/process.c:1662(process_smb)
  Transaction 633 of length 90 (0 toread)
[2014/12/23 17:01:21.325997,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.326041,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [.] [/data/www]
[2014/12/23 17:01:21.326079,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: . reduced to /data/www
[2014/12/23 17:01:21.326119,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0644
[2014/12/23 17:01:21.327653,  3] smbd/process.c:1662(process_smb)
  Transaction 634 of length 90 (0 toread)
[2014/12/23 17:01:21.327732,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.327796,  3] smbd/vfs.c:905(check_reduced_name)
  check_reduced_name [.] [/data/www]
[2014/12/23 17:01:21.327835,  3] smbd/vfs.c:1039(check_reduced_name)
  check_reduced_name: . reduced to /data/www
[2014/12/23 17:01:21.327875,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0644
[2014/12/23 17:01:21.328972,  3] smbd/process.c:1662(process_smb)
  Transaction 635 of length 76 (0 toread)
[2014/12/23 17:01:21.329032,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.329069,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/12/23 17:01:21.329112,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 14502) level=1005 call=7 total_data=0
[2014/12/23 17:01:21.329178,  3] smbd/process.c:1662(process_smb)
  Transaction 636 of length 76 (0 toread)
[2014/12/23 17:01:21.329222,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.329256,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/12/23 17:01:21.329299,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 14500) level=1005 call=7 total_data=0
[2014/12/23 17:01:21.329920,  3] smbd/process.c:1662(process_smb)
  Transaction 637 of length 88 (0 toread)
[2014/12/23 17:01:21.330001,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.330040,  3] smbd/error.c:81(error_packet_set)
 error packet at smbd/nttrans.c(2531) cmd=160 (SMBnttrans) NT_STATUS_INVALID_PARAMETER
[2014/12/23 17:01:21.330098,  3] smbd/process.c:1662(process_smb)
  Transaction 638 of length 88 (0 toread)
[2014/12/23 17:01:21.330140,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.330176,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/nttrans.c(2531) cmd=160 (SMBnttrans) NT_STATUS_INVALID_PARAMETER
[2014/12/23 17:01:21.330990,  3] smbd/process.c:1662(process_smb)
  Transaction 639 of length 45 (0 toread)
[2014/12/23 17:01:21.331053,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.331087,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=14502
[2014/12/23 17:01:21.331777,  3] smbd/process.c:1662(process_smb)
  Transaction 640 of length 45 (0 toread)
[2014/12/23 17:01:21.331865,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.331904,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=14500
[2014/12/23 17:01:21.331976,  3] smbd/process.c:1662(process_smb)
  Transaction 641 of length 45 (0 toread)
[2014/12/23 17:01:21.332047,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.332084,  3] smbd/reply.c:4848(reply_close)
  close fd=-1 fnum=14497 (numopen=2)
[2014/12/23 17:01:21.332962,  3] smbd/process.c:1662(process_smb)
  Transaction 642 of length 45 (0 toread)
[2014/12/23 17:01:21.333025,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.333060,  3] smbd/reply.c:4848(reply_close)
  close fd=-1 fnum=14498 (numopen=1)
[2014/12/23 17:01:21.333386,  3] smbd/process.c:1662(process_smb)
  Transaction 643 of length 74 (0 toread)
[2014/12/23 17:01:21.333434,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.333469,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 1007
[2014/12/23 17:01:21.333504,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1007
[2014/12/23 17:01:21.334476,  3] lib/sysquotas.c:417(sys_get_quota)
  sys_get_nfs_quota() failed for mntpath[/data] bdev[10.0.0.74:/DATAS/NAS/SFRCLOUD/DEV] qtype[2] id[0]: Adresse déjà utilisée.
[2014/12/23 17:01:21.334632,  3] lib/sysquotas_nfs.c:120(sys_get_nfs_quota)
  sys_get_nfs_quota: got unsupported quota type '4', only supported type is '2' (SMB_USER_QUOTA_TYPE)
[2014/12/23 17:01:21.334670,  3] lib/sysquotas.c:417(sys_get_quota)
  sys_get_nfs_quota() failed for mntpath[/data] bdev[10.0.0.74:/DATAS/NAS/SFRCLOUD/DEV] qtype[4] id[0]: Fonction non implantée.
[2014/12/23 17:01:21.335558,  3] smbd/process.c:1662(process_smb)
  Transaction 644 of length 74 (0 toread)
[2014/12/23 17:01:21.335622,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 30333) conn 0x7f498db71260
[2014/12/23 17:01:21.335658,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 1007
[2014/12/23 17:01:21.335694,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1007
[2014/12/23 17:01:21.336653,  3] lib/sysquotas.c:417(sys_get_quota)
  sys_get_nfs_quota() failed for mntpath[/data] bdev[10.0.0.74:/DATAS/NAS/SFRCLOUD/DEV] qtype[2] id[0]: Adresse déjà utilisée.
[2014/12/23 17:01:21.336825,  3] lib/sysquotas_nfs.c:120(sys_get_nfs_quota)
  sys_get_nfs_quota: got unsupported quota type '4', only supported type is '2' (SMB_USER_QUOTA_TYPE)
[2014/12/23 17:01:21.336867,  3] lib/sysquotas.c:417(sys_get_quota)
  sys_get_nfs_quota() failed for mntpath[/data] bdev[10.0.0.74:/DATAS/NAS/SFRCLOUD/DEV] qtype[4] id[0]: Fonction non implantée.


More information about the samba mailing list