I'm using FreeNAS 11.2U2.1 (newest) and macOS 10.13.6. If I have a folder on my SMB share that contains many many files, and then try to delete it from macOS Finder, it'll often fail with the message:
"The operation can’t be completed because the item “MacOS” is in use."
"MacOS" is indeed the name of a folder inside the folder I'm trying to delete. Only one user is connected to the share (from one computer).
Someone else is seeing similar: https://www.ixsystems.com/community...11-1-u6-11-2-release.71746/page-2#post-519631
I've tried increasing the log level, but I'm not sure it's working, because every time I come back to the screen, it no longer shows the log level I previously selected. Is that a bug in itself?
The last few lines of /var/log/samba4/log.smbd are:
Anyone else having this problem? Do the logs above give any hint?
"The operation can’t be completed because the item “MacOS” is in use."
"MacOS" is indeed the name of a folder inside the folder I'm trying to delete. Only one user is connected to the share (from one computer).
Someone else is seeing similar: https://www.ixsystems.com/community...11-1-u6-11-2-release.71746/page-2#post-519631
I've tried increasing the log level, but I'm not sure it's working, because every time I come back to the screen, it no longer shows the log level I previously selected. Is that a bug in itself?
The last few lines of /var/log/samba4/log.smbd are:
Code:
[2019/03/18 19:49:01.725229, 3] ../source3/smbd/dir.c:662(dptr_create) creating new dirptr 0 for path big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app, expect_close = 0 [2019/03/18 19:49:01.725428, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/. fname=. (.) [2019/03/18 19:49:01.725855, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/.. fname=.. (..) [2019/03/18 19:49:01.726350, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents fname=Contents (Contents) [2019/03/18 19:49:01.727536, 3] ../source3/smbd/smb2_server.c:3195(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:158 [2019/03/18 19:49:01.730469, 3] ../source3/smbd/dir.c:662(dptr_create) creating new dirptr 0 for path big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents, expect_close = 0 [2019/03/18 19:49:01.730688, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/. fname=. (.) [2019/03/18 19:49:01.731219, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/.. fname=.. (..) [2019/03/18 19:49:01.731737, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/MacOS fname=MacOS (MacOS) [2019/03/18 19:49:01.732276, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/Resources fname=Resources (Resources) [2019/03/18 19:49:01.732770, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/PkgInfo fname=PkgInfo (PkgInfo) [2019/03/18 19:49:01.733302, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/Frameworks fname=Frameworks (Frameworks) [2019/03/18 19:49:01.733834, 3] ../source3/smbd/dir.c:1225(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/_CodeSignature fname=_CodeSignature (_CodeSignature) [2019/03/18 19:49:01.735574, 3] ../source3/smbd/smb2_server.c:3195(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:158 [2019/03/18 19:49:01.738707, 2] ../source3/smbd/open.c:1447(open_file) builder opened file big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/PkgInfo read=Yes write=No (numopen=4) [2019/03/18 19:49:01.740309, 3] ../source3/smbd/smb2_read.c:421(smb2_read_complete) smbd_smb2_read: fnum 2721744304, file big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/PkgInfo, length=8 offset=0 read=8 [2019/03/18 19:49:01.741313, 2] ../source3/smbd/close.c:802(close_normal_file) builder closed file big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/PkgInfo (numopen=3) NT_STATUS_OK [2019/03/18 19:49:01.776684, 3] ../source3/smbd/dir.c:662(dptr_create) creating new dirptr 0 for path big/ooeuoeuo/build_results_rev47168/Debug/Brainsight-2.3.x/NIRSTestApp.app/Contents/MacOS, expect_close = 0 [2019/03/18 19:49:01.776817, 3] ../source3/smbd/smb2_server.c:3195(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at ../source3/smbd/smb2_query_directory.c:158 [2019/03/18 19:49:04.952019, 3] ../source3/smbd/trans2.c:3465(smbd_do_qfsinfo) smbd_do_qfsinfo: level = 1003 [2019/03/18 19:49:04.952740, 3] ../source3/lib/sysquotas.c:488(sys_get_quota) sys_get_vfs_quota() failed for mntpath[.] bdev[(null)] qtype[1] id[-1]: Operation not supported [2019/03/18 19:49:04.952774, 3] ../source3/lib/sysquotas.c:488(sys_get_quota) sys_get_vfs_quota() failed for mntpath[.] bdev[(null)] qtype[3] id[-1]: Operation not supported
Anyone else having this problem? Do the logs above give any hint?