[Samba] Enable XAT_OFFLINE extended attribute in Samba

Andrea Cucciarre' acucciarre at cloudian.com
Tue Mar 5 12:14:00 UTC 2019

My goal is to use the Offline file attribute of Windows when sharing 
with Samba:


It works when I share ZFS filesystem using the native ZFS CIFS sharing, 
but it fails when I share the same ZFS with Samba, that is the Offline 
files are not showed in Windows Client

Il 3/4/2019 8:06 PM, Jeremy Allison via samba ha scritto:
> On Mon, Mar 04, 2019 at 06:39:21PM +0000, Rowland Penny wrote:
>> On Mon, 4 Mar 2019 10:25:59 -0800
>> Jeremy Allison via samba <samba at lists.samba.org> wrote:
>>> On Mon, Mar 04, 2019 at 04:48:56PM +0100, Andrea Cucciarre' via samba
>>> wrote:
>>>> Hello,
>>>> Does Samba support XAT_OFFLINE and XAT_ONLINE extended attribute?
>>>> I have enabled "ea support = yes" but it seems to have no effect on
>>>> that.
>>> Googling for XAT_OFFLINE or XAT_ONLINE doesn't return anything.
>> Yeh, my Googlefu is better than somebody who works for Google ;-)
> Oh the shame, the shame :-). Having said that I am at
> a conference and really should be paying attention to the
> lectures :-).
>> It seems to be something to do with ZFS on illumos:
>> https://github.com/openzfs/openzfs/blob/master/usr/src/uts/common/fs/xattr.c
> Thnaks Rowland, I'll take a look !

More information about the samba mailing list