This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Error Messages

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
apollo567
Site Admin
Site Admin
Posts: 675
Joined: 23 Jun 2012 06:37
Location: Ludwigshafen, Germany
Status: Offline

Error Messages

Post by apollo567 »

Hello,

what do these MEssages tell me please:

Sep 21 19:41:25 nas4free smbd[2990]: inotify_add_watch returned Bad file descriptor
Sep 21 19:41:25 nas4free smbd[2990]: [2015/09/21 19:41:25.367375, 1] ../source3/smbd/notify_inotify.c:377(inotify_watch)
Sep 21 19:41:10 nas4free smbd[2990]: inotify_add_watch returned Bad file descriptor
Sep 21 19:41:10 nas4free smbd[2990]: [2015/09/21 19:41:10.358345, 1] ../source3/smbd/notify_inotify.c:377(inotify_watch)
Sep 21 19:41:05 nas4free smbd[2990]: inotify_add_watch returned Bad file descriptor
Sep 21 19:41:05 nas4free smbd[2990]: [2015/09/21 19:41:05.293755, 1] ../source3/smbd/notify_inotify.c:377(inotify_watch)
Sep 21 19:40:52 nas4free smbd[2990]: inotify_add_watch returned Bad file descriptor
Sep 21 19:40:52 nas4free smbd[2990]: [2015/09/21 19:40:52.842903, 1] ../source3/smbd/notify_inotify.c:377(inotify_watch)
Sep 21 19:40:48 nas4free smbd[2990]: inotify_add_watch returned Bad file descriptor
Sep 21 19:40:48 nas4free smbd[2990]: [2015/09/21 19:40:48.861360, 1] ../source3/smbd/notify_inotify.c:377(inotify_watch)
Sep 21 19:40:46 nas4free smbd[2990]: inotify_add_watch returned Bad file descriptor
Sep 21 19:40:46 nas4free smbd[2990]: [2015/09/21 19:40:46.527549, 1] ../source3/smbd/notify_inotify.c:377(inotify_watch)
Sep 21 19:40:41 nas4free smbd[2990]: inotify_add_watch returned Bad file descriptor
Sep 21 19:40:41 nas4free smbd[2990]: [2015/09/21 19:40:41.807828, 1] ../source3/smbd/notify_inotify.c:377(inotify_watch

Regards
apollo
my NAS and its development until today: viewtopic.php?f=63&t=39&sid=039fed830cf ... 4d0abe4a04

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: Error Messages

Post by Parkcomm »

Code: Select all

smbd[2990]: inotify_add_watch returned Bad file descriptor
smdb - The smbd server daemon provides file sharing and printing services to Windows clients. In addition, it is responsible for user authentication, resource locking, and data sharing through the SMB protocol. (this daemon supports CIFS/SMB)

inotify_add_watch - inotify detect file system modifications, add_watch selects which files you want to monitor.

Bad file descriptor - Well something wen't wrong, could be all sorts of reasons (file is locked, bad file name, who knows)

So that was probably not very helpful.

If I had these errors I'd have a look for underlying errors. Is the disk out of space, run fsck etc. Possibly SMB/CIFS is out of synch with the actual file system (for instance you configured CIFS to share a directory and subsequently deleted it). After that I have no concrete suggestions.
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

Post Reply

Return to “CIFS/SMB (Samba)”