-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Hello, everyone, I'm using Truenas, where I've deployed zfs. I then had to containerize GlusterFS to work with the file system. However, after connecting via glusterfs-client, when I try to write files via Nextcloud, I get the error message that the file is empty. A closer look (listing the files) shows that two identical files are appearing: one is valid, and the other is empty and has the sticky bit attribute. Researching this issue has revealed that this doesn't happen on the ext4 file system (there's no sticky bit attribute), but on zfs, a sibling file with a zero size and the sticky bit attribute sometimes appears.
Versions used:
Truenas 25.04
GlusterFS 11.1 on Docker (I'm using two servers in distribution mode)
Nextcloud 31
What does it look like if I list files on zfs - ls -la :
-rw-r--r-- 1 www-data www-data 61759 Jun 4 2024 alice2.txt
-rw-r--r-T 1 www-data www-data 0 Oct 3 15:07 alice2.txt
Can anyone tell me how to fix this?
The photo shows the listing of files on different servers, where Nextcloud writes (both examples are built on two GlusterFS servers in distribution mode).

for example file on ZFS look at