If you are using ZFS as the underlying filesystem.

ZFS by default stores the extended attributes in a hidden directory instead of 
extending the file inode size like what XFS do!
There is a problem in ZFS on Linux implementation which the function 
responsible for deleting the files, it deletes only the files and forgets to 
delete the hidden directory which stores the extended attributes, and there 
seem no interest from ZFS on Linux community to fix this bug, it’s filed since 
2013.

There is an option to change this to write the extended attributes to the inode 
instead of a hidden directory.

# zfs set xattr=sa <POOL_NAME>


— Bishoy

> On Feb 11, 2016, at 10:51 PM, Jason Chang <[email protected]> wrote:
> 
> ZFS :: glusterfs 3.7.6 :: samba-vfs-glusterfs 3.7
> 
> Migrated distributed data from glusterfs 3.5 to newly installed OS with 
> glusterfs 3.7.6
> When using gluster-client, folder/file manipulation all works normaily. 
> However, when using samba -vfs-glusterfs module, file manipulation fails at 
> deletion. It only deletes the metadata. when viewed through shell, it still 
> exhibits the file in the directory. only way to delete fully is through 
> glusterfs-client.
> 
> -JGC 
> 
> On Tue, Feb 9, 2016 at 3:49 PM, Jason Chang <[email protected] 
> <mailto:[email protected]>> wrote:
> I'm on glusterfs 3.7.6 running samba 4.1.6 with samba-vfs-glusterfs 3.7 from 
> monotek.
> I have three nodes running in distributed mode.
> 
> when going through cifs share provided by the module, I can create 
> folders/files normally but when deleted through cifs share from windows, 
> files disappears from the view but still exists in the storage.
> 
> When mounting the volume using glusterfs client, the file creation and 
> deletion all works correctly.
> 
> Currently the volume is being shared through the mount point to the rest of 
> the users avoiding the vfs module completely.
> 
> I'm not sure what to catch for in the logs since it is very cryptic. Please 
> let me know how I can provide the info you require.
> 
> Thanks so much!
> 
> -JGC
> 
> _______________________________________________
> Gluster-users mailing list
> [email protected]
> http://www.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users

Reply via email to