<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If you are using ZFS as the underlying filesystem.<div class=""><br class=""></div><div class=""><div class="">ZFS by default stores the extended attributes in a hidden directory instead of extending the file inode size like what XFS do!</div><div class="">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.</div><div class=""><br class=""></div><div class="">There is an option to change this to write the extended attributes to the inode instead of a hidden directory.</div><div class=""><br class=""></div><div class="">#&nbsp;<span style="color: rgb(69, 69, 69); font-family: Menlo; font-size: 11px;" class="">zfs set xattr=sa &lt;POOL_NAME&gt;</span></div><div class=""><br class=""></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><b class="">— Bishoy</b></div></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Feb 11, 2016, at 10:51 PM, Jason Chang &lt;<a href="mailto:jhchang76@gmail.com" class="">jhchang76@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><span style="font-size:12.8px" class="">ZFS :: glusterfs 3.7.6 :: samba-vfs-glusterfs 3.7</span><br class=""><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">Migrated distributed data from glusterfs 3.5 to newly installed OS with glusterfs 3.7.6</span></div><div class=""><span style="font-size:12.8px" class="">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.</span></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">-JGC&nbsp;</span><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Feb 9, 2016 at 3:49 PM, Jason Chang <span dir="ltr" class="">&lt;<a href="mailto:jhchang76@gmail.com" target="_blank" class="">jhchang76@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">I'm on glusterfs 3.7.6 running samba 4.1.6 with samba-vfs-glusterfs 3.7 from monotek.<div class="">I have three nodes running in distributed mode.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">When mounting the volume using glusterfs client, the file creation and deletion all works correctly.</div><div class=""><br class=""></div><div class="">Currently the volume is being shared through the mount point to the rest of the users avoiding the vfs module completely.</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Thanks so much!</div><div class=""><br class=""></div><div class="">-JGC</div></div>
</blockquote></div><br class=""></div>
_______________________________________________<br class="">Gluster-users mailing list<br class=""><a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class="">http://www.gluster.org/mailman/listinfo/gluster-users</div></blockquote></div><br class=""></div></body></html>