You are not logged in.
I'm seeing lots of these cluttering the system journal for a couple of weeks now:
smbd[311005]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
smbd[311005]: [2023/04/03 12:01:46.540669, 0] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
smbd[311005]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
smbd[311005]: [2023/04/03 12:01:47.230870, 0] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
smbd[311005]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
smbd[311005]: [2023/04/03 12:01:47.437152, 0] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
smbd[311005]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
smbd[311005]: [2023/04/03 12:01:47.451920, 0] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
smbd[311005]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
smbd[311005]: [2023/04/03 12:01:48.160117, 0] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
smbd[311005]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Unfortunately I cannot name the Samba package version this has started with as I haven't got enough journal history.
Looking at share_mode_lock.c doesn't enlighten me much and I can't seem to find matching reports online either. As far as I can tell cifs services are not impacted.
Anyone else seeing this?
Offline
I also noticed this today while transferring a pretty big folder.
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.386596, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.398181, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.409854, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.421252, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.432677, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.444226, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.455579, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.466952, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.478460, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Apr 09 16:36:25 zarya smbd[109378]: [2023/04/09 16:36:25.489728, 0, pid=109378, effective(1001, 1001), real(1001, 0), class=locking] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Apr 09 16:36:25 zarya smbd[109378]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
I honestly don't know what the cause is, but it's somewhat concerning... Especially since my transfer speed is pretty low compared to what it should be.
Offline
Same log entries here, starting March 19 after the samba-4.18.0-1 update. Haven't checked transfer speeds yet.
PS: Transfer speeds are good, error happens when copying to Samba server.
Last edited by bedouin (2023-04-11 20:12:25)
Offline
I can confirm exactly the same. :-(
Big data copy to a NVME based samba server with tons of same error messages!
Version extra/samba 4.18.2-2 [Installiert]
Mai 22 01:07:06 daten-box smbd[1149]: [2023/05/22 01:07:06.451503, 0] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Mai 22 01:07:06 daten-box smbd[1149]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Mai 22 01:07:06 daten-box smbd[1149]: [2023/05/22 01:07:06.451745, 0] ../../source3/locking/share_mode_lock.c:888(get_static_share_mode_data)
Mai 22 01:07:06 daten-box smbd[1149]: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND
Same log entries here, starting March 19 after the samba-4.18.0-1 update. Haven't checked transfer speeds yet.
PS: Transfer speeds are good, error happens when copying to Samba server.
Last edited by Akusari (2023-05-22 07:50:47)
black listed users: seth WorMzy
Please stay away from this thread - Thanks.
Offline
share_mode_lock.c
line 888 of
if (!NT_STATUS_IS_OK(state.status)) {
>> DBG_GET_SHARE_MODE_LOCK(status,
"get_static_share_mode_data_fn failed: %s\n",
nt_errstr(state.status));
I think you are wrong.
DBG_GET_SHARE_MODE_LOCK(state.status,
I think that is the correct answer.
Offline
this has been fixed upstream and should probably be in the next release
https://github.com/samba-team/samba/com … 9218199446
Offline