*New 12.1 series Release:
2020-09-13: XigmaNAS 12.1.0.4.7743 - released

*New 11.4 series Release:
2020-09-12: XigmaNAS 11.4.0.4.7741 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

smbd errors causing share disconnects

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
thesugarat
NewUser
NewUser
Posts: 1
Joined: 12 Feb 2019 03:58
Status: Offline

smbd errors causing share disconnects

#1

Post by thesugarat »

Hello all,

Long time user of this software, started on freenas, then forked over to nas4free and now on the rebranded xigmanas. I have two xigmanas machines and this issue is happening on both. I have have cifs/samba shares on both mapped to a Windows 10 VM but it loses connectivity randomly after many days of these errors showing up in the log. I even loose access to the webgui... I can restart the webgui to get to the page again but the only thing that fixes the issue is a reboot. I've found that if I "log-out" of the shared drives from my main MacPro running High Sierra, the logs don't fill up. I've been dealing with it for months but as I hadn't changed anything in this configuration for quite some time I figured it was a samba bug and waited for the next update to xigmanas. But upgrading hasn't fixed anything. I am willing to concede that is connected to using OSX but I don't know how to fix it. Any help would be appreciated...

Feb 11 21:16:59 nas4free smbd[2368]: inotify_rm_watch returned Invalid argument
Feb 11 21:16:59 nas4free smbd[2368]: [2019/02/11 21:16:59.481808, 1] ../source3/smbd/notify_inotify.c:369(watch_destructor)
Feb 11 21:15:55 nas4free smbd[3087]: pcap cache not loaded
Feb 11 21:15:55 nas4free smbd[3087]: [2019/02/11 21:15:55.482195, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers)
Feb 11 21:15:55 nas4free smbd[3087]: Failed to fetch record!
Feb 11 21:15:55 nas4free smbd[3087]: [2019/02/11 21:15:55.482162, 1] ../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Feb 11 21:15:55 nas4free smbd[2368]: inotify_rm_watch returned Invalid argument
Feb 11 21:15:55 nas4free smbd[2368]: [2019/02/11 21:15:55.441471, 1] ../source3/smbd/notify_inotify.c:369(watch_destructor)
Feb 11 21:15:22 nas4free smbd[3087]: pcap cache not loaded
Feb 11 21:15:22 nas4free smbd[3087]: [2019/02/11 21:15:22.314541, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers)
Feb 11 21:15:22 nas4free smbd[3087]: Failed to fetch record!
Feb 11 21:15:22 nas4free smbd[3087]: [2019/02/11 21:15:22.314511, 1] ../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Feb 11 21:15:19 nas4free smbd[2368]: inotify_rm_watch returned Invalid argument
Feb 11 21:15:19 nas4free smbd[2368]: [2019/02/11 21:15:19.059767, 1] ../source3/smbd/notify_inotify.c:369(watch_destructor)
Feb 11 21:15:19 nas4free smbd[3087]: pcap cache not loaded

sleid
PowerUser
PowerUser
Posts: 786
Joined: 23 Jun 2012 07:36
Location: FRANCE LIMOUSIN CORREZE
Status: Offline

Re: smbd errors causing share disconnects

#2

Post by sleid »

Hello

Feb 11 21:15:55 nas4free smbd[3087]: pcap cache not loaded
Feb 11 21:15:55 nas4free smbd[3087]: [2019/02/11 21:15:55.482195, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers)
Feb 11 21:15:55 nas4free smbd[3087]: Failed to fetch record!
Feb 11 21:15:55 nas4free smbd[3087]: [2019/02/11 21:15:55.482162, 1] ../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Try
CIFS/SAMBA option : ntlm auth=yes
windows 10 : enable SMB v1


Feb 11 21:16:59 nas4free smbd[2368]: inotify_rm_watch returned Invalid argument
Feb 11 21:16:59 nas4free smbd[2368]: [2019/02/11 21:16:59.481808, 1] ../source3/smbd/notify_inotify.c:369(watch_destructor)

ignore
add to CIFS/SAMBA option : log level = 0
12.1.0.4 - Ingva (revision 7743)
FreeBSD 12.1-RELEASE-p9 #0 r365673M: Sun Sep 13 00:58:57 CEST 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 x WDC WD40EFRX + 3 x WDC WD30EZRX

Vascorod
NewUser
NewUser
Posts: 3
Joined: 20 Mar 2020 16:54
Status: Offline

Re: smbd errors causing share disconnects

#3

Post by Vascorod »

Hello everybody,
First - I'm a complete noob but a long time user of FreeNas/Nas4free and now Xigmanas.
Second - Recently installed xigmanas 12.1.0.4-7321 embebed.

Problem - I'm getting constant problems in smbd as follows:

Mar 20 14:22:44 nas4free 1 2020-03-20T14:22:44.773858+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:22:47 nas4free 1 2020-03-20T14:22:47.989918+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:22:47.989896, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:22:47 nas4free 1 2020-03-20T14:22:47.989950+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:22:51 nas4free 1 2020-03-20T14:22:51.049966+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:22:51.049947, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:22:51 nas4free 1 2020-03-20T14:22:51.049991+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:23:04 nas4free 1 2020-03-20T14:23:04.116768+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:23:04.116748, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:23:04 nas4free 1 2020-03-20T14:23:04.116795+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:23:04 nas4free 1 2020-03-20T14:23:04.117811+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:23:04.117803, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:23:04 nas4free 1 2020-03-20T14:23:04.117822+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:33:35 nas4free 1 2020-03-20T14:33:35.606480+00:00 nas4free.local plexinit 83755 - - Plexdata backup created successfully.
Mar 20 14:37:00 nas4free 1 2020-03-20T14:37:00.200116+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:37:00.200094, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:37:00 nas4free 1 2020-03-20T14:37:00.200145+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:37:04 nas4free 1 2020-03-20T14:37:04.036942+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:37:04.036921, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:37:04 nas4free 1 2020-03-20T14:37:04.036971+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:37:06 nas4free 1 2020-03-20T14:37:06.152939+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:37:06.152919, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:37:06 nas4free 1 2020-03-20T14:37:06.152966+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:37:09 nas4free 1 2020-03-20T14:37:09.191236+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:37:09.191215, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:37:09 nas4free 1 2020-03-20T14:37:09.191264+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:37:12 nas4free 1 2020-03-20T14:37:12.637614+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:37:12.637594, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:37:12 nas4free 1 2020-03-20T14:37:12.637642+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:37:16 nas4free 1 2020-03-20T14:37:16.157532+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:37:16.157509, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:37:16 nas4free 1 2020-03-20T14:37:16.157561+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:37:23 nas4free 1 2020-03-20T14:37:23.040735+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:37:23.040714, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)
Mar 20 14:37:23 nas4free 1 2020-03-20T14:37:23.040764+00:00 nas4free.local smbd 87125 - - inotify_rm_watch returned Invalid argument
Mar 20 14:37:25 nas4free 1 2020-03-20T14:37:25.936519+00:00 nas4free.local smbd 87125 - - [2020/03/20 14:37:25.936496, 1] ../../source3/smbd/notify_inotify.c:369(watch_destructor)

Anyone knows how to solve this?
Thanks

User avatar
raulfg3
Site Admin
Site Admin
Posts: 5178
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: smbd errors causing share disconnects

#4

Post by raulfg3 »

post nº 2 =

ignore
add to CIFS/SAMBA option : log level = 0
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

HP T510

Vascorod
NewUser
NewUser
Posts: 3
Joined: 20 Mar 2020 16:54
Status: Offline

Re: smbd errors causing share disconnects

#5

Post by Vascorod »

Thank you raulfg3 for y/ prompt reply but my version has the following options : Log Level - Disable/Minimum/Normal/Full/Debug (presently is defined as "Minimum")

So, log level = 0 equal to what, Disable ?

Can you clarify if disabling log level solves the errors (i.e. keeps errors from occurring) or just don't log them (errors still occur but "silently").

Tank you once more.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 5178
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: smbd errors causing share disconnects

#6

Post by raulfg3 »

errors still occur but "silently" because is not a "real" error.

use Log Level - Disable
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

HP T510

Vascorod
NewUser
NewUser
Posts: 3
Joined: 20 Mar 2020 16:54
Status: Offline

Re: smbd errors causing share disconnects

#7

Post by Vascorod »

Thanks.
"Errors" terminated.

Post Reply

Return to “CIFS/SMB (Samba)”