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!

Samba 4 ZFS and dos attributes

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
kfnas
Starter
Starter
Posts: 65
Joined: 06 Mar 2014 18:41
Status: Offline

Samba 4 ZFS and dos attributes

Post by kfnas »

Hello, as I have annouced my findings here:
viewtopic.php?f=78&t=8340&e=1&view=unread#p51190

I have come to another issue regarding dos attributes. to play simple, I do not recommend on samba4 to run dos attributes due the "unexpecting behaviour" on ZFS when moving files from one dir to another...
This is not an issue on UFS.. so better hands off from dos attrib... BUT...

I have found, that when turned off dos attributes, the "creation time" is not the birth time of the file on UFS. On ZFS the interaction is OK.
I have tested to put
store dos attributes = yes
under share property of UFS... but that does not work...
any expert here how to overcome the issue, since for me (and I guess that for everybody) it is important to know, when the file was created(changed) and when the file was borned over samba/copy...
over shell using stat command I can see the times.. they are but without dos attribs not propagated/converted over samba4

Code: Select all

test: ufs # stat -x test
  File: "test"
  Size: 11169368     FileType: Regular File
  Mode: (0775/-rwxrwxr-x)         Uid: ( 1001/    test)  Gid: ( 1111/   TEST)
Device: 0,113   Inode: 11    Links: 1
Access: Thu Feb 26 12:05:11 2015
Modify: Sat Feb  7 12:57:32 2015
Change: Thu Feb 26 12:05:12 2015
over SMB share:

Code: Select all

                                        DD.MM.YYYYY hh:mm:ss,ms
Last write time:                        07.02.2015  13:57:32,000
Creation time:                          07.02.2015  13:57:32,000
Last access time:                       26.02.2015  13:05:11,000
Change time:                            07.02.2015  13:57:32,000
please advice!

Post Reply

Return to “CIFS/SMB (Samba)”