<html><head></head>
  <body><div>On Tue, 2016-06-28 at 11:30 +0200, Yann LEMARIE wrote:</div><blockquote type="cite"><div>Re,</div><div><br></div><div>This file doesn't exist on the mounted filesystem and in the 2 bricks.&nbsp;</div><div>All directory "tmp" are used by our cdn to build resized images of the original one.</div><div><br></div><div>It's a quite stupid to store them in the .trash, how to set this with the volume option ?</div><blockquote type="cite"><div>gluster volume set &lt;VOLNAME&gt; features.trash-eliminate-path &lt;path1&gt;&nbsp;</div></blockquote><div><br></div></blockquote><div><br></div><div>As mentioned in the Administration Guide [1] you can only use this option to specify the eliminate pattern relative to the root of the volume. For example, if trash-eliminate-path is set to /tmp, then any files/directories under tmp directory(and its descendants) directly under the root of the volume are excluded from trashing. Obviously files/directories under a path /dir/tmp/ (relative to the root of the volume) *will not* be a candidate for exclusion.</div><div><br></div><div>Whether setting trash-eliminate-path to</div><div>/medias/fjDtE6cAz80xweuAdoIcWCDYxo9FdPqIVL88Yrl8ZiGVIvdiyBD5u1pJUXBzYJ5b/Dante_Olive/origin/tmp/ satisfy your need here? One thing to note here is that in future if you would like to include more eliminate paths you need to provide both previous and new patterns while issuing the volume set command(because setting new value will replace the old one).</div><div><br></div><div>[1]&nbsp;<a href="https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Trash/#volume-options">https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Trash/#volume-options</a></div><div><br></div><blockquote type="cite"><div>Yann</div><div><br></div><div>Le 28/06/2016 11:17, Anoop C S a écrit&nbsp;:</div><blockquote type="cite"><div>On Mon, 2016-06-27 at 13:54 +0530, Atin Mukherjee wrote:</div><div>Can you confirm whether truncated files are present in .trashcan directory or not? From the above brick logs check whether&nbsp;medias/fjDtE6cAz80xweuAdoIcWCDYxo9FdPqIVL88Yrl8ZiGVIvdiyBD5u1pJ UXBzYJ5b/Dante_Olive/origin/tmp/IMG3920.JPG_2016-06-26_092737 exists under .trashcan (from mount or directly on bricks)?</div></blockquote><div>&nbsp;</div><div>--&nbsp;</div><div>Yann Lemarié</div><div>iRaiser - Support Technique</div><div>&nbsp;</div><div><a href="mailto:ylemarie@iraiser.eu">ylemarie@iraiser.eu</a></div><div>_______________________________________________</div><div>Gluster-users mailing list</div><div><a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a></div><div><a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></div></blockquote></body></html>