Andrea Cucciarre'
2019-Mar-04 15:48 UTC
[Samba] Enable XAT_OFFLINE extended attribute in Samba
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. Thanks Andrea
Jeremy Allison
2019-Mar-04 18:25 UTC
[Samba] Enable XAT_OFFLINE extended attribute in Samba
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. Do you mean the Windows FILE_ATTRIBUTE_OFFLINE attribute ? If so, yes, we support that if the server is using dmapi.
Rowland Penny
2019-Mar-04 18:39 UTC
[Samba] Enable XAT_OFFLINE extended attribute in Samba
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 ;-) 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 Rowland> > Do you mean the Windows FILE_ATTRIBUTE_OFFLINE attribute ? > > If so, yes, we support that if the server is using dmapi. >