ZFS Breaks App Installs

My YunoHost server

Hardware: On-Premise AMD Athlon-II X3 460, 4 GB RAM + 4GB swap, SATA-II motherboard, SATA3 60 GB SSD as ext4 on (/), SATA3 1 TB HDD as ZFS. I/O speed is limited to 3 GBs due to motherboard.
YunoHost version: 4.3.6.2 (stable) / Debian 4.19.208-1 x86_64
I have access to my server : ALL/ANY
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : YES
If yes, please explain: Installed zfsutils-linux/buster-backports by adding the repo to apt/sources, then created 1 zpool and zfs datasets on the 1 TB HDD.
Log Files I no longer have them

Description of my issue

Hi, fresh install with
Linux 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux

I have a 1TB HDD with ZFS for /home (apt buster-backports added for Debian native).
When ZFS is mounted, some app installs fail (usually permission errors), but when no ZFS and on the native ext4 there are no install errors. Very strange… Could the eror be due to aclmode/aclinherit? ZFS properties:

compressratio         1.49x                  -
quota                 none                   default
reservation           none                   default
recordsize            128K                   default
mountpoint            /home                  local
sharenfs              off                    default
checksum              on                     default
compression           lz4                    inherited from tank0
atime                 on                     default
devices               on                     default
exec                  on                     default
setuid                on                     default
readonly              off                    default
zoned                 off                    default
snapdir               hidden                 default
aclmode               discard                default
aclinherit            restricted             default
xattr                 on                     default
version               5                      -
utf8only              off                    -
normalization         none                   -
casesensitivity       sensitive              -
vscan                 off                    default
nbmand                off                    default
sharesmb              off                    default
refquota              none                   default
refreservation        none                   default
refcompressratio      1.49x                  -
acltype               off                    default
context               none                   default
fscontext             none                   default
defcontext            none                   default
rootcontext           none                   default
relatime              off                    default
redundant_metadata    all                    default
overlay               on                     default
encryption            off                    default

Same message as in the other thread: to help us help you help us all, please read and fill in the Support template. I have added it back in your post, edit it.

Welcome on the forum, still!

1 Like

Edited 1st post as requested

1 Like

This is not a Yunohost issue…
It’s not even a Debian issue.
It’s a zfsonlinux vs ext4 issue.

Issue reported below if anyone is interested:

2 Likes

The solution was provided by OpenFZS issue support.

For future reference, the solution that seems to work is via 2 FZS settings:
zfs set acltype=posix xattr=sa tank0
Where tank0 is both the zpool name, and the parent ZFS dataset name

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.