What's the hardware used? And how are the pool+dataset setup?
OK, great thank you! Will try that. Do I not need that? All client machines are Mac OSX machines. The warning presented when trying to unset it reads kinda scary (mangled characters in file names etc.)Try commenting out the auxiliary parameter as well. Might be the mixture of fruit, catia, etc triggered a migration to using "apple-style character encoding". If you didn't explicitly set that, then unset it.
Depends on how dataset was configured when it was created. Try creating a new dataset with the "SMB" share type, copy 4000 files to it, then delete.So I tired removing the aux parameter but it still takes 2 seconds per file to delete. This is when deleting 300 files from a folder containing around 4000 files. When I copy those 300 files to a new folder and delete those there is goes very fast. So I suspect deleting from folders that contain a lot of items gets extremely slow?
net conf setparm TEST "vfs objects" "streams_xattr shadow_copy_zfs ixnas aio_fbsd" service samba_server onerestart smbutil statshares -a output in MacOS that Server connection isn't an OSX server.After doing this OSX showed the red "no access" logo on the folder containing the TEST share as if I had lost access to them.If this is a test environment, try the following:
net conf setparm TEST "vfs objects" "streams_xattr shadow_copy_zfs ixnas aio_fbsd"
Then unmount all SMB shares from MacOS side.
Thenservice samba_server onerestart
Then in Finder "Go->Connect to Server" and input "smb://<ip of server>/TEST"
Then verify insmbutil statshares -aoutput in MacOS that Server connection isn't an OSX server.
Then repeat test on your TEST share.
SMB_NEGOTIATE SMBV_NEG_SMB1_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB2_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB3_ENABLED
SMB_VERSION SMB_3.02
SMB_SHARE_TYPE DISK
SIGNING_SUPPORTED TRUE
EXTENDED_SECURITY_SUPPORTED TRUE
UNIX_SUPPORT TRUE
LARGE_FILE_SUPPORTED TRUE
OS_X_SERVER TRUE
FILE_IDS_SUPPORTED TRUE
DFS_SUPPORTED TRUE
FILE_LEASING_SUPPORTED TRUE
MULTI_CREDIT_SUPPORTED TRUE
ENCRYPTION_SUPPORTED TRUESERVER_NAME xxxxxx
USER_ID 502
SMB_NEGOTIATE SMBV_NEG_SMB1_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB2_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB3_ENABLED
SMB_VERSION SMB_3.1.1
SMB_SHARE_TYPE DISK
SIGNING_SUPPORTED TRUE
EXTENDED_SECURITY_SUPPORTED TRUE
LARGE_FILE_SUPPORTED TRUE
FILE_IDS_SUPPORTED TRUE
DFS_SUPPORTED TRUE
FILE_LEASING_SUPPORTED TRUE
MULTI_CREDIT_SUPPORTED TRUE SERVER_NAME XXX._smb._tcp.local
USER_ID 501
SMB_NEGOTIATE SMBV_NEG_SMB1_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB2_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB3_ENABLED
SMB_VERSION SMB_3.02
SMB_SHARE_TYPE DISK
SIGNING_SUPPORTED TRUE
EXTENDED_SECURITY_SUPPORTED TRUE
LARGE_FILE_SUPPORTED TRUE
FILE_IDS_SUPPORTED TRUE
DFS_SUPPORTED TRUE
FILE_LEASING_SUPPORTED TRUE
MULTI_CREDIT_SUPPORTED TRUE
ENCRYPTION_SUPPORTED TRUE