Here is system details :
Platform : vSphere
Version : TrueNAS-12.0-U6
CPU : 8 Core
Ram : 32GB
Interface : 1000baseT
Before our previous pc burned out, we were running freenas 11 u3 and export recycle bin was working smoothly. After pc and drives are burned out, I did a fresh install on Vsphere.
- Vmtools installed
- System -> Tunables configured to use vmx(4) drivers. Created a new tunable with the Variable if_vmx_load, Value "YES", and Type loader
- Services -> SMB
- Directory Services -> Active Directory (It works smoothly no issues)
- There is only one pool and one dataset
- ACL Manager for Dataset (We want to allow only domain users to access this group)
Here is the problem starts
Sharing -> Windows Shares (SMB)
if I set "Purpose" as "No Present" "export Recycle bin" option is not working. Only subfolder tree is available but not able to keep files.
But when I set it as "Private SMB Datasets and Shares" then "%U" path suffix added and "export recycle bin" option is working. When I deleted any file, it moves to .recycle. Only problem is all the files are private to each domain user! so no one can see each other's files which is not my purpose.
I already check previous topics and followed suggestions such as 1 share 1 dataset, leave Auxiliary Parameters empty, but no result.
How we can solve it?
UPDATE 01/11/2021
Here is the samba log file where we got an error
Platform : vSphere
Version : TrueNAS-12.0-U6
CPU : 8 Core
Ram : 32GB
Interface : 1000baseT
Before our previous pc burned out, we were running freenas 11 u3 and export recycle bin was working smoothly. After pc and drives are burned out, I did a fresh install on Vsphere.
- Vmtools installed
- System -> Tunables configured to use vmx(4) drivers. Created a new tunable with the Variable if_vmx_load, Value "YES", and Type loader
- Services -> SMB
- Directory Services -> Active Directory (It works smoothly no issues)
- There is only one pool and one dataset
- ACL Manager for Dataset (We want to allow only domain users to access this group)
Here is the problem starts
Sharing -> Windows Shares (SMB)
if I set "Purpose" as "No Present" "export Recycle bin" option is not working. Only subfolder tree is available but not able to keep files.
But when I set it as "Private SMB Datasets and Shares" then "%U" path suffix added and "export recycle bin" option is working. When I deleted any file, it moves to .recycle. Only problem is all the files are private to each domain user! so no one can see each other's files which is not my purpose.
I already check previous topics and followed suggestions such as 1 share 1 dataset, leave Auxiliary Parameters empty, but no result.
How we can solve it?
UPDATE 01/11/2021
Here is the samba log file where we got an error
Code:
... [2021/11/01 14:23:57.911711, 3] ../../source3/smbd/smb2_server.c:3280(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_CANCELLED] || at ../../source3/smbd/smb2_notify.c:126 [2021/11/01 14:23:57.916239, 3] ../../source3/smbd/smb2_server.c:3280(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_CANCELLED] || at ../../source3/smbd/smb2_notify.c:126 [2021/11/01 14:23:57.945649, 3] ../../source3/smbd/smb2_server.c:3280(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_CANCELLED] || at ../../source3/smbd/smb2_notify.c:126 [2021/11/01 14:23:57.955190, 3] ../../source3/smbd/smb2_server.c:3280(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_CANCELLED] || at ../../source3/smbd/smb2_notify.c:126 [2021/11/01 14:23:57.961078, 3] ../../source3/smbd/dir.c:911(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found TRANSFER/. fname=. (.) [2021/11/01 14:23:57.961171, 3] ../../source3/smbd/dir.c:911(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found TRANSFER/.. fname=.. (..) [2021/11/01 14:23:57.961274, 3] ../../source3/smbd/dir.c:911(smbd_dirptr_get_entry) smbd_dirptr_get_entry mask=[*] found TRANSFER/tobedeleted.txt fname=tobedeleted.txt (tobedeleted.txt) [2021/11/01 14:23:57.961383, 3] ../../source3/smbd/smb2_server.c:3280(smbd_smb2_request_error_ex) smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[STATUS_NO_MORE_FILES] || at ../../source3/smbd/smb2_query_directory.c:159 [2021/11/01 14:23:57.963808, 2] ../../source3/smbd/open.c:1461(open_file) ESC\kadir.sariaslan opened file TRANSFER/tobedeleted.txt read=No write=No (numopen=2) [2021/11/01 14:23:57.965163, 3] ../../source3/modules/vfs_recycle.c:727(recycle_unlink_internal) recycle: Move error 18 (Cross-device link), purging file TRANSFER/tobedeleted.txt (.recycle/ESC/kadir.sariaslan/TRANSFER/tobedeleted.txt) ...
Last edited: