Reading >4kB xattrs (from ZFS) = input/output error

Rowland Penny rpenny at samba.org
Wed Feb 12 16:11:36 UTC 2025


On Wed, 12 Feb 2025 16:38:40 +0100
"Peter B. via samba-technical" <samba-technical at lists.samba.org> wrote:

> Hi everyone :)
> 
> I've recently set a >40kB binary metadata as xattrs on ZFS, using 
> `setfattr` locally.
> Works fine, and I can read/write data like that without issues.
> 
> But when I try to access such "larger" xattrs over Samba using 
> `getfattr`, I get the following error:
> 
> `getfattr: bigdata.test: Input/output error`
> 
> I've tried increasing the log-level on the server's smb.conf, but I 
> couldn't make out relevant information telling me more about this.
> 
> 
> The server's running Samba packed from Ubuntu (18.04): 
> 2:4.7.6+dfsg~ubuntu-0ubuntu2.29
> 
> I know that version's ancient, but it's a stable (in-house)
> production server.

Ancient, well that is one word for it ;-)

Being 18.04, that will mean Samba 4.7.6 and the latest version of Samba
is 4.21.3, quite a difference, I would imagine that there is a similar
difference in ZOL packages.

Now your problem may be a bug somewhere, but who knows where ? What is
certain, if there is a bug, you have no chance of getting it fixed with
your current setup and you may find that your problem doesn't exist on
current packages.

Rowland




More information about the samba-technical mailing list