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!

Smb errors!

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
macafee
NewUser
NewUser
Posts: 2
Joined: 09 Nov 2014 13:19
Status: Offline

Smb errors!

Post by macafee »

Today, I fresh install the nas4free 9.3.0.2 - Nayla (revision 1213). Everything is good but smb that I meet the strang problem.
I found many errors in the log.

Code: Select all

nmbd[1896]: [2014/12/25 20:33:15.386817, 0] ../source3/nmbd/nmbd_become_dmb.c:294(become_domain_master_browser_bcast)
Dec 25 20:29:15 	backup 	smbd[2312]: unknown tag type 64
Dec 25 20:29:15 	backup 	smbd[2312]: [2014/12/25 20:29:15.693994, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
Dec 25 20:29:11 	backup 	smbd[2312]: unknown tag type 64
Dec 25 20:29:11 	backup 	smbd[2312]: [2014/12/25 20:29:11.636678, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
Dec 25 20:29:11 	backup 	smbd[2312]: unknown tag type 64
Dec 25 20:29:11 	backup 	smbd[2312]: [2014/12/25 20:29:11.397790, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
How to resolve this problem?

lukinomt
NewUser
NewUser
Posts: 3
Joined: 10 Oct 2012 20:36
Status: Offline

Re: Smb errors!

Post by lukinomt »

Hello, looks you are not only one with the problems :) (+1)

maulbongo
Starter
Starter
Posts: 48
Joined: 25 Jun 2012 08:59
Status: Offline

Re: Smb errors!

Post by maulbongo »

Since upgrading to 9.3.0.2 I get loads of errors with Samba

Code: Select all

Dec 29 11:43:38	ewnas01	smbd[10882]: STATUS=daemon 'smbd' finished starting up and ready to serve connections===============================================================
Dec 29 11:43:38	ewnas01	smbd[10882]: [2014/12/29 11:43:38.010584, 0] ../lib/util/fault.c:73(fault_report)
Dec 29 11:43:38	ewnas01	smbd[10882]: INTERNAL ERROR: Signal 11 in pid 10882 (4.1.14)
Dec 29 11:43:38	ewnas01	smbd[10882]: Please read the Trouble-Shooting section of the Samba HOWTO
Dec 29 11:43:38	ewnas01	smbd[10882]: [2014/12/29 11:43:38.010650, 0] ../lib/util/fault.c:75(fault_report)
Dec 29 11:43:38	ewnas01	smbd[10882]: ===============================================================
Dec 29 11:43:38	ewnas01	smbd[10882]: [2014/12/29 11:43:38.010678, 0] ../source3/lib/util.c:785(smb_panic_s3)
Dec 29 11:43:38	ewnas01	smbd[10882]: PANIC (pid 10882): internal error
Dec 29 11:43:38	ewnas01	smbd[10882]: [2014/12/29 11:43:38.010923, 0] ../source3/lib/util.c:896(log_stack_trace)
Dec 29 11:43:38	ewnas01	smbd[10882]: BACKTRACE: 5 stack frames:
Dec 29 11:43:38	ewnas01	smbd[10882]: #0 0x802ca609c <smb_panic_s3+108> at /usr/local/lib/libsmbconf.so.0
Dec 29 11:43:38	ewnas01	smbd[10882]: #1 0x801469bc5 <smb_panic+37> at /usr/local/lib/libsamba-util.so.0
Dec 29 11:43:38	ewnas01	smbd[10882]: #2 0x8014698d7 <fault_setup_disable+407> at /usr/local/lib/libsamba-util.so.0
Dec 29 11:43:38	ewnas01	smbd[10882]: #3 0x8014698f3 <fault_setup_disable+435> at /usr/local/lib/libsamba-util.so.0
Dec 29 11:43:38	ewnas01	smbd[10882]: #4 0x804506236 <pthread_sigmask+918> at /lib/libthr.so.3
Dec 29 11:43:38	ewnas01	smbd[10882]: [2014/12/29 11:43:38.011097, 0] ../source3/lib/dumpcore.c:312(dump_core)
Dec 29 11:43:38	ewnas01	smbd[10882]: unable to change to %N.core
Dec 29 11:43:38	ewnas01	smbd[10882]: refusing to dump core
Dec 29 11:43:38	ewnas01	smbd[10804]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsScheduled cleanup of brl and lock database after unclean shutdown
Which is really annoying, because it slows down a lot and often shares and files are not accessable anymore.

I testet nearly every setting for samba, but no luck.
Unfortunately I was to fast and after Upgrading, I also upgraded the zfs features, so Downgrading is not possible anymore, because 9.2 does not recognize the pool anymore.
Is there a possibility to revert back to Samba 3.6, because this worked like a charm, or could you dao and zoon provide a quick fix build of 9.3 which includes samba 3.6 instead of 4?
greetings maulbongo

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Smb errors!

Post by Onichan »

I was getting frequent crashes as well and after trying a bunch of different auxiliary parameters I might have it working. So far after a bunch of transfer tests and running for a day I haven't gotten any more crashes, but still get the tag errors.

What seems to have stopped the crashes is:
Max Protocol SMB2
disable sendfile and disable AIO

Then you must reboot all clients!

Also during the testing I added

Code: Select all

kernel change notify = no
to the auxiliary parameters, but I'm not sure if that was required.

maulbongo
Starter
Starter
Posts: 48
Joined: 25 Jun 2012 08:59
Status: Offline

Re: Smb errors!

Post by maulbongo »

Thanks for the tip I'm testing this at the moment and report back.
greetings maulbongo

maulbongo
Starter
Starter
Posts: 48
Joined: 25 Jun 2012 08:59
Status: Offline

Re: Smb errors!

Post by maulbongo »

The "kernel change notify = no" did the job.

Max Protocol put to smb3 use sendfile is deactivatet, because this causes trouble (with smb2 this can't be activated) AIO is enabled.
So all works like a charme again, as it was before, thanks.
greetings maulbongo

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: Smb errors!

Post by daoyama »

maulbongo wrote:Max Protocol put to smb3 use sendfile is deactivatet, because this causes trouble (with smb2 this can't be activated)
It's a bug! I will fix.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

maulbongo
Starter
Starter
Posts: 48
Joined: 25 Jun 2012 08:59
Status: Offline

Re: Smb errors!

Post by maulbongo »

Hi dao,

whats the bug, that it's not working with smb2 or causing trouble with smb3?
Thanks anyway for your good and fast work.
greetings maulbongo

maulbongo
Starter
Starter
Posts: 48
Joined: 25 Jun 2012 08:59
Status: Offline

Re: Smb errors!

Post by maulbongo »

Ah, already read the commit ;)
greetings maulbongo

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Smb errors!

Post by Onichan »

maulbongo wrote:The "kernel change notify = no" did the job.

Max Protocol put to smb3 use sendfile is deactivatet, because this causes trouble (with smb2 this can't be activated) AIO is enabled.
So all works like a charme again, as it was before, thanks.
Thanks, I figured all of it wasn't required. I was just trying to get it working right then and was planning to eventually go back and individually test them all.

User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Re: Smb errors!

Post by MikeMac »

I could confirm. Log of my NAS (build 1213) is full of

Code: Select all

Jan 10 01:40:02 	smbd[3966]: 	unknown tag type 64
Jan 10 01:40:02 	smbd[3966]: 	[2015/01/10 01:40:02.056996, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
Jan 10 01:40:01 	smbd[3966]: 	unknown tag type 64
Jan 10 01:40:01 	smbd[3966]: 	[2015/01/10 01:40:01.682267, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
Jan 10 01:40:01 	smbd[3966]: 	unknown tag type 64
Jan 10 01:40:01 	smbd[3966]: 	[2015/01/10 01:40:01.364452, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
during copy form win7 machine
SMB2, senfile off, AIO on
By the way, changing of SMB2 to SMB3 and switching AIO off does not changed mentioned log entries - messages continue to appear.

I had tried to reboot both NAS and only Windows machine in the my neywork after last partemeters change to SMB2 ans AIO on - no influence.

Concerning "kernel change notify = no"
I am afraid, this only hides the problem, not solved.

crutch
NewUser
NewUser
Posts: 5
Joined: 09 Jan 2015 23:49
Status: Offline

Re: Smb errors!

Post by crutch »

macafee wrote:Today, I fresh install the nas4free 9.3.0.2 - Nayla (revision 1213). Everything is good but smb that I meet the strang problem.
I found many errors in the log.
How to resolve this problem?
Hello, macafee.
Could you please check the ZFS ACL (This will provide ZFS ACL support) checkbox in the properties of your share and try again?
In my installation I don`t use an ACL functionality, but 'unknown tag type 64' messages have gone after the option specified has been enabled.

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Smb errors!

Post by Onichan »

MikeMac wrote:I could confirm. Log of my NAS (build 1213) is full of

Code: Select all

Jan 10 01:40:02 	smbd[3966]: 	unknown tag type 64
Jan 10 01:40:02 	smbd[3966]: 	[2015/01/10 01:40:02.056996, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
Jan 10 01:40:01 	smbd[3966]: 	unknown tag type 64
Jan 10 01:40:01 	smbd[3966]: 	[2015/01/10 01:40:01.682267, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
Jan 10 01:40:01 	smbd[3966]: 	unknown tag type 64
Jan 10 01:40:01 	smbd[3966]: 	[2015/01/10 01:40:01.364452, 0] ../source3/modules/vfs_posixacl.c:171(smb_ace_to_internal)
during copy form win7 machine
SMB2, senfile off, AIO on
By the way, changing of SMB2 to SMB3 and switching AIO off does not changed mentioned log entries - messages continue to appear.

I had tried to reboot both NAS and only Windows machine in the my neywork after last partemeters change to SMB2 ans AIO on - no influence.

Concerning "kernel change notify = no"
I am afraid, this only hides the problem, not solved.
MikeMac, the kernel change notify = no and sendfile=off was only to fix the crashes, not to fix the unknown tag. While the unknown tag is annoying, it doesn't appear to effect anything, while the frequent crashes were causing a lot of problems.

User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Re: Smb errors!

Post by MikeMac »

Onichan wrote: While the unknown tag is annoying, it doesn't appear to effect anything
I have not seen crashes yet, thank you for advice. But I am glad to share simple solution against unknown tag 64 messages, found by reader of my Russian blog.

Just check option ZFS ACL (This will provide ZFS ACL support) at smb share control dialog. This option is unchecked by default.

I had this done and and do not see annoyng messages anymore

smish
NewUser
NewUser
Posts: 6
Joined: 13 Jan 2015 03:16
Status: Offline

Re: Smb errors!

Post by smish »

Onichan wrote:
Also during the testing I added

Code: Select all

kernel change notify = no
to the auxiliary parameters, but I'm not sure if that was required.
Just reporting this worked for me as well. Thank you good sir!

stayhard
Starter
Starter
Posts: 15
Joined: 15 Dec 2012 13:34
Status: Offline

Re: Smb errors!

Post by stayhard »

Im getting this in my log:

smbd[59754]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsFailed to fetch record!
nmbd[2297]: [2015/02/05 22:05:18.154442, 0] ../source3/nmbd/nmbd_incomingrequests.c:118(process_name_release_request)
nmbd[2297]: process_name_release_request: Attempt to release name WORKGROUP<1d> from IP 192.168.0.106 on subnet 192.168.0.107 being rejected as it is one of our names.

What is the problem? The server is working perfect, or is it just me who do not notice it?



EDIT!!
I had my windows 7 machine connected to a homegroup, leaved that and connected to a workgroup instead. Not a single post in the log now :)
NAS4Free
OS USB: 16Gb
Swap: 4Gb
RAM: 4Gb@1333MHz
CPU: i3 550 3.2GHz
PSU: 250w
Storage: 4x500Gb UFS Raid-5, 1x2Tb UFS (3,5Tb)

morestress
NewUser
NewUser
Posts: 4
Joined: 11 Oct 2014 00:50
Status: Offline

Re: Smb errors!

Post by morestress »

maulbongo wrote:The "kernel change notify = no" did the job.

Max Protocol put to smb3 use sendfile is deactivatet, because this causes trouble (with smb2 this can't be activated) AIO is enabled.
So all works like a charme again, as it was before, thanks.

Hi,
I'm fairly new to Nas4Free.
Can you please tell me how to do this "kernel change notify = no"?
I didn't see anything in the GUI.
Thanks

maulbongo
Starter
Starter
Posts: 48
Joined: 25 Jun 2012 08:59
Status: Offline

Re: Smb errors!

Post by maulbongo »

Hi,

you can add these within "services/cifs/smb/settings"

At the Bottom there is an option "Auxiliary parameters"
greetings maulbongo

infinion
Starter
Starter
Posts: 41
Joined: 22 Aug 2012 22:11
Status: Offline

Re: Smb errors!

Post by infinion »

crutch wrote:
macafee wrote:Today, I fresh install the nas4free 9.3.0.2 - Nayla (revision 1213). Everything is good but smb that I meet the strang problem.
I found many errors in the log.
How to resolve this problem?
Hello, macafee.
Could you please check the ZFS ACL (This will provide ZFS ACL support) checkbox in the properties of your share and try again?
In my installation I don`t use an ACL functionality, but 'unknown tag type 64' messages have gone after the option specified has been enabled.
Just upgraded from 972 Shigawire Full to 2268 Jesper Embedded and this fixed the type 64 log entries for me. Thanks!
Added, this required save & restart on the smdb service and a reboot of the clients.

Post Reply

Return to “CIFS/SMB (Samba)”