SMB hangs with NT_STATUS_IO_TIMEOUT after upgrading to 13.0-U6.1

JMY1000

Dabbler
Joined
Feb 24, 2022
Messages
16
Hi all, we recently upgraded from 13.0-U3.1 to 13.0-U6.1; after this upgrade, our SMB seems very broken. The service does seem to run:

Code:
root@server[~]# service smbd status
smbd is running as pid 2622.
root@server[~]# smbstatus

Samba version 4.15.13
PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing
----------------------------------------------------------------------------------------------------------------------------------------

Service      pid     Machine       Connected at                     Encryption Signing
---------------------------------------------------------------------------------------------
No locked files


But attempting to connect over SMB results in the connection simply timing out, with no further information.

Code:
root@server[~]# smbclient -L //<server_ip> -U jmy1000 -d 3
lp_load_ex: refreshing parameters
Initialising global parameters
Processing section "[global]"
added interface ix1 ip=<server_ip> bcast=<xx.xx.xx>.255 netmask=255.255.254.0
Client started (version 4.15.13).
Connecting to <server_ip> at port 445
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
root@server[~]# midclt call smb.status AUTH_LOG | jq
[]


I don't see anything suspicious in /var/log/messages, or in /var/log/samba4:

Code:
root@server[~]# cat /var/log/samba4/log.smbd
[2024/01/03 00:22:42.682625,  0] ../../source3/smbd/server.c:1734(main)
  smbd version 4.15.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2021
[2024/01/03 00:22:42.693011,  1] ../../source3/profile/profile.c:55(set_profile_level)
  INFO: Profiling turned OFF from pid 3623
[2024/01/03 00:22:43.087634,  1] ../../source3/smbd/files.c:811(file_init_global)
  file_init_global: Information only: requested 3771576 open files, 59392 are available.
[2024/01/03 00:47:21.143465,  0] ../../source3/smbd/server.c:1734(main)
  smbd version 4.15.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2021
[2024/01/03 00:47:21.153232,  1] ../../source3/profile/profile.c:55(set_profile_level)
  INFO: Profiling turned OFF from pid 4319
[2024/01/03 00:47:21.505445,  1] ../../source3/smbd/files.c:811(file_init_global)
  file_init_global: Information only: requested 3771576 open files, 59392 are available.
[2024/01/03 00:52:00.467408,  0] ../../source3/smbd/server.c:1734(main)
  smbd version 4.15.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2021
[2024/01/03 00:52:00.477144,  1] ../../source3/profile/profile.c:55(set_profile_level)
  INFO: Profiling turned OFF from pid 4578
[2024/01/03 00:52:00.833740,  1] ../../source3/smbd/files.c:811(file_init_global)
  file_init_global: Information only: requested 3771576 open files, 59392 are available.
[2024/01/03 01:06:44.478847,  0] ../../source3/smbd/server.c:1734(main)
  smbd version 4.15.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2021
[2024/01/03 01:06:44.489788,  1] ../../source3/profile/profile.c:55(set_profile_level)
  INFO: Profiling turned OFF from pid 5013
[2024/01/03 01:06:44.858269,  1] ../../source3/smbd/files.c:811(file_init_global)
  file_init_global: Information only: requested 3771576 open files, 59392 are available.
[2024/01/03 01:15:14.288915,  0] ../../source3/smbd/server.c:1734(main)
  smbd version 4.15.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2021
[2024/01/03 01:15:14.298831,  1] ../../source3/profile/profile.c:55(set_profile_level)
  INFO: Profiling turned OFF from pid 5401
[2024/01/03 01:15:14.654848,  1] ../../source3/smbd/files.c:811(file_init_global)
  file_init_global: Information only: requested 3771576 open files, 59392 are available.
[2024/01/03 01:25:03.094936,  0] ../../source3/smbd/server.c:1734(main)
  smbd version 4.15.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2021
[2024/01/03 01:25:03.141834,  1] ../../source3/profile/profile.c:55(set_profile_level)
  INFO: Profiling turned OFF from pid 2620
[2024/01/03 01:25:03.561780,  1] ../../source3/smbd/files.c:811(file_init_global)
  file_init_global: Information only: requested 3771576 open files, 59392 are available.
[2024/01/03 01:25:03.667215,  0] ../../source3/smbd/server.c:1734(main)
  smbd version 4.15.13 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2021
[2024/01/03 01:25:03.675469,  1] ../../source3/profile/profile.c:55(set_profile_level)
  INFO: Profiling turned OFF from pid 2640


Any idea what's going on?

Edit: Since I was a dumb-dumb and posted this to the archives instead of the main forums I can't reply.
Unfortunately using 127.0.0.1 didn't work, it also times out. Here's the output, along with the output of testparm -s:

Code:
root@server[~]# smbclient -L //127.0.0.1 -U jmy1000 -d 3
lp_load_ex: refreshing parameters
Initialising global parameters
Processing section "[global]"
added interface ix1 ip=<server_ip> bcast=<xx.xx.xx>.255 netmask=255.255.254.0
Client started (version 4.15.13).
Connecting to 127.0.0.1 at port 445
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
root@server[~]# testparm -s
Load smb config files from /usr/local/etc/smb4.conf
Loaded services file OK.
Weak crypto is allowed

Server role: ROLE_STANDALONE

# Global parameters
[global]
        aio max threads = 2
        bind interfaces only = Yes
        disable spoolss = Yes
        dns proxy = No
        enable web service discovery = Yes
        kernel change notify = No
        load printers = No
        logging = file
        map to guest = Bad User
        max log size = 5120
        nsupdate command = /usr/local/bin/samba-nsupdate -g
        registry shares = Yes
        server multi channel support = No
        server role = standalone server
        server string = FreeNAS Server
        unix extensions = No
        idmap config *: range = 90000001-100000000
        fruit:nfs_aces = No
        rpc_server:mdssvc = disabled
        rpc_daemon:mdssd = disabled
        idmap config * : backend = tdb
        directory name cache size = 0
        dos filemode = Yes


[cookie]
        comment = Main server share
        ea support = No
        kernel share modes = No
        path = /mnt/server/club
        posix locking = No
        read only = No
        smbd max xattr size = 2097152
        vfs objects = fruit streams_xattr shadow_copy_zfs ixnas zfs_core aio_fbsd
        fruit:resource = stream
        fruit:metadata = stream
        nfs4:chown = true
        ixnas:dosattrib_xattr = false


[vm-alpine]
        ea support = No
        kernel share modes = No
        path = /mnt/server/Virtual Machines
        posix locking = No
        read only = No
        smbd max xattr size = 2097152
        vfs objects = fruit streams_xattr shadow_copy_zfs ixnas zfs_core aio_fbsd
        fruit:resource = stream
        fruit:metadata = stream
        nfs4:chown = true
        ixnas:dosattrib_xattr = false


[signup]
        browseable = No
        comment = Holds Utility for Account Registration
        ea support = No
        guest ok = Yes
        mangled names = no
        path = /mnt/server/clubsignup
        read only = No
        smbd max xattr size = 2097152
        vfs objects = audit catia fruit streams_xattr ixnas
        fruit:resource = stream
        fruit:metadata = stream
        fruit:encoding = native
        nfs4:chown = true
        ixnas:dosattrib_xattr = false
 
Last edited:
Top