<div dir="ltr">Sorry for lack of documentation regarding that,<br><br>your spec file is fine, except, trash takes directory relative to glusterfs path (ie, &quot;option trash-dir /.trashcan&quot; will be /exports/mastersd-project/.trashcan in your case.<br>
<br>Regards,<br><br><div class="gmail_quote">2008/8/27 Dallas Masters <span dir="ltr">&lt;<a href="mailto:dallas.masters@gmail.com">dallas.masters@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Can someone give an example of using trash in a spec file? &nbsp;I assumed it<br>
should be just below the posix translator (as below), but this is not working<br>
as I expect.<br>
<br>
volume mastersd-project-posix<br>
&nbsp;type storage/posix<br>
&nbsp;option directory /exports/mastersd-project<br>
end-volume<br>
<br>
volume mastersd-project-trashcan<br>
 &nbsp;type features/trash<br>
 &nbsp;option trash-dir /exports/.mastersd-project-trashcan<br>
 &nbsp;subvolumes mastersd-project-posix<br>
end-volume<br>
<br>
volume mastersd-project-posix-locks<br>
 &nbsp;type features/posix-locks<br>
 &nbsp;option mandatory on<br>
 &nbsp;subvolumes mastersd-project-trashcan<br>
end-volume<br>
...<br>
<br>
Dallas<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Amar Tumballi<br>Gluster/GlusterFS Hacker<br>[bulde on #gluster/<a href="http://irc.gnu.org">irc.gnu.org</a>]<br><a href="http://www.zresearch.com">http://www.zresearch.com</a> - Commoditizing Super Storage!<br>

</div>