Time Machine is unable to connect after migrating from TrueNas Core to Scale

I’ve been using TrueNas Core for years. I decided to move from Core to Scale. The migration went well but the time machine share doesn’t work for the time machine backups. It’s an SMB share and it brought the configuration from the Core instalation where it worked fine. All other SMB shares work for the same Macs.

I’ve tried to forget the drive and add it again without sucess from the Mac side.

Any idea on how to fix it ?

You can start by posting the running configuration testparm -s and review contents of logs /var/log/samba4/log.smbd

Load smb config files from /etc/smb4.conf
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE

Global parameters

[global]
bind interfaces only = Yes
disable spoolss = Yes
dns proxy = No
load printers = No
logging = file
max log size = 5120
passdb backend = tdbsam:/var/run/samba-cache/private/passdb.tdb
printcap name = /dev/null
registry shares = Yes
restrict anonymous = 2
server multi channel support = No
server string = TrueNAS Server
winbind request timeout = 2
idmap config * : range = 90000001 - 100000000
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:veto_appledouble = no
fruit:delete_empty_adfiles = yes
fruit:nfs_aces = false
fruit:zero_file_id = yes
fruit:posix_rename = yes
fruit:metadata = stream
rpc_server:mdssvc = disabled
rpc_daemon:mdssd = disabled
idmap config * : backend = tdb
create mask = 0775
directory mask = 0775
vfs objects = fruit streams_xattr

[NAS]
path = /mnt/NAS
posix locking = No
read only = No
smbd max xattr size = 2097152
vfs objects = fruit streams_xattr shadow_copy_zfs
fruit:posix_rename = yes
fruit:delete_empty_adfiles = yes
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:zero_file_id = yes
fruit:veto_appledouble = no
tn:vuid =
fruit:time machine max size = 0
fruit:time machine = False
fruit:resource = stream
fruit:metadata = stream
nfs4:chown = True
tn:home = False
tn:path_suffix =
tn:purpose = DEFAULT_SHARE

[Series]
path = /mnt/NAS/Videos/Series
posix locking = No
read only = No
smbd max xattr size = 2097152
vfs objects = fruit streams_xattr shadow_copy_zfs
fruit:posix_rename = yes
fruit:delete_empty_adfiles = yes
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:zero_file_id = yes
fruit:veto_appledouble = no
tn:vuid =
fruit:time machine max size = 0
fruit:time machine = False
fruit:resource = stream
fruit:metadata = stream
nfs4:chown = True
tn:home = False
tn:path_suffix =
tn:purpose = DEFAULT_SHARE

[TM]
path = /mnt/NAS/TM/%U
posix locking = No
read only = No
smbd max xattr size = 2097152
vfs objects = tmprotect fruit streams_xattr shadow_copy_zfs ixnas aio_fbsd
ixnas:zfs_auto_homedir = true
zfs_core:zfs_auto_create = true
tn:vuid = 13423b46-b64e-4416-844a-7847f83f0a62
fruit:time machine max size = 0
fruit:time machine = yes
fruit:resource = stream
fruit:metadata = stream
nfs4:chown = True
tn:home = False
tn:path_suffix = %U
tn:purpose = ENHANCED_TIMEMACHINE

This is the content of the log file /var/log/samba4/log.smbd

[2024/08/22 14:18:21.918014, 0] …/…/source3/smbd/server.c:1746(main)
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
[2024/08/22 14:18:21.920370, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:18:21.926018, 1] …/…/source3/profile/profile.c:49(set_profile_level)
INFO: Profiling turned OFF from pid 3600
[2024/08/22 14:18:22.887463, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:18:25.172124, 0] …/…/source3/smbd/server.c:1746(main)
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
[2024/08/22 14:18:25.173621, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:18:25.178016, 1] …/…/source3/profile/profile.c:49(set_profile_level)
INFO: Profiling turned OFF from pid 4204
[2024/08/22 14:18:26.859492, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:18:28.717762, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:18:56.634294, 0] …/…/source3/smbd/server.c:1746(main)
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
[2024/08/22 14:18:56.635777, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:18:56.649250, 1] …/…/source3/profile/profile.c:49(set_profile_level)
INFO: Profiling turned OFF from pid 4521
[2024/08/22 14:18:57.438348, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:18:59.430352, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:19:04.584936, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:19:04.594285, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:19:04.594382, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:19:04.594521, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:19:04.594563, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:19:04.595910, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:19:04.595983, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:19:04.596056, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:19:04.596128, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:19:04.651416, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:19:04.691977, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:19:04.729350, 0] …/…/source3/smbd/msdfs.c:106(parse_dfs_path_strict)
parse_dfs_path_strict: can’t parse hostname from path \truenas._smb._tcp.local
[2024/08/22 14:19:32.780985, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:19:34.415619, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:19:34.416036, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:19:34.416145, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:19:34.416201, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:19:34.417215, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:19:34.417287, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:19:34.417325, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:19:34.417354, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:19:34.455942, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:19:34.491562, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:19:34.529916, 0] …/…/source3/smbd/msdfs.c:106(parse_dfs_path_strict)
parse_dfs_path_strict: can’t parse hostname from path \truenas._smb._tcp.local
[2024/08/22 14:19:41.777576, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:19:41.779384, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:19:41.812037, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:19:46.047320, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:19:46.047544, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:19:46.047615, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:19:46.047719, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:19:46.049225, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:19:46.049323, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:19:46.049407, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:19:46.049468, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:19:46.086258, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:19:46.123225, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:19:46.162081, 0] …/…/source3/smbd/msdfs.c:106(parse_dfs_path_strict)
parse_dfs_path_strict: can’t parse hostname from path \truenas._smb._tcp.local
[2024/08/22 14:20:08.823444, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:20:08.824500, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:20:08.828763, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:20:08.831025, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:20:08.876245, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:20:08.884385, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:20:08.884446, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:20:08.884522, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:20:08.884562, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:20:08.885570, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:20:08.885660, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:20:08.885699, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:20:08.885730, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:20:08.930209, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:20:08.969729, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:20:09.008914, 0] …/…/source3/smbd/msdfs.c:106(parse_dfs_path_strict)
parse_dfs_path_strict: can’t parse hostname from path \truenas._smb._tcp.local
[2024/08/22 14:20:15.662508, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:20:15.663837, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:20:15.726634, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:20:15.732347, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:20:15.732472, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:20:15.732538, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:20:15.732662, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:20:15.733464, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:20:15.733519, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:20:15.733603, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:20:15.733640, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:20:15.816177, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:20:15.890457, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:20:15.991730, 0] …/…/source3/smbd/msdfs.c:106(parse_dfs_path_strict)
parse_dfs_path_strict: can’t parse hostname from path \truenas._smb._tcp.local
[2024/08/22 14:21:13.298293, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:21:13.299582, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:21:13.405863, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:21:13.415679, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:21:13.415776, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:21:13.415832, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:21:13.415926, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:21:13.417143, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:21:13.417255, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:21:13.417320, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:21:13.417368, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:21:13.459898, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:21:13.497959, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:21:13.534998, 0] …/…/source3/smbd/msdfs.c:106(parse_dfs_path_strict)
parse_dfs_path_strict: can’t parse hostname from path \truenas._smb._tcp.local
[2024/08/22 14:22:37.701814, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:22:37.703813, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:22:37.706039, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:22:37.812605, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:22:37.817780, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:22:37.817853, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:22:37.817924, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:22:37.817963, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:22:37.818750, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:22:37.818847, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:22:37.818902, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:22:37.818944, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:22:37.903719, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:22:38.000137, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:22:38.101523, 0] …/…/source3/smbd/msdfs.c:106(parse_dfs_path_strict)
parse_dfs_path_strict: can’t parse hostname from path \truenas._smb._tcp.local
[2024/08/22 14:22:57.505682, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:22:59.514159, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:24:41.913351, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:24:41.915910, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:24:41.916053, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:24:42.017437, 1] …/…/lib/param/loadparm.c:1909(lpcfg_do_global_parameter)
lpcfg_do_global_parameter: WARNING: The “syslog only” option is deprecated
[2024/08/22 14:24:42.024490, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:24:42.024573, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:24:42.024626, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:24:42.024689, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:24:42.025613, 0] …/…/lib/util/modules.c:49(load_module)
Error loading module ‘/usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so’: /usr/lib/x86_64-linux-gnu/samba/vfs/aio_fbsd.so: cannot open shared object file: No such file or directory
[2024/08/22 14:24:42.025669, 0] …/…/source3/smbd/vfs.c:185(vfs_init_custom)
error probing vfs module ‘aio_fbsd’: NT_STATUS_UNSUCCESSFUL
[2024/08/22 14:24:42.025731, 0] …/…/source3/smbd/vfs.c:399(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for aio_fbsd
[2024/08/22 14:24:42.025766, 0] …/…/source3/smbd/smb2_service.c:612(make_connection_snum)
make_connection_snum: vfs_init failed for service TM
[2024/08/22 14:24:42.116861, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:24:42.209609, 0] …/…/source3/smbd/msdfs.c:119(parse_dfs_path_strict)
parse_dfs_path_strict: Hostname truenas._smb._tcp.local is not ours.
[2024/08/22 14:24:42.311144, 0] …/…/source3/smbd/msdfs.c:106(parse_dfs_path_strict)
parse_dfs_path_strict: can’t parse hostname from path \truenas._smb._tcp.local

Remove all the auxiliary parameters you have set for your shares. Many are invalid. For example aio_fbsd is 100% freebsd only.

vfs objects = fruit streams_xattr shadow_copy_zfs

This is also an invalid / broken configuration

Thanks