Sorry for lack of documentation regarding that,
your spec file is fine, except, trash takes directory relative to glusterfs
path (ie, "option trash-dir /.trashcan" will be
/exports/mastersd-project/.trashcan in your case.
Regards,
2008/8/27 Dallas Masters <dallas.masters at gmail.com>
> Can someone give an example of using trash in a spec file? I assumed it
> should be just below the posix translator (as below), but this is not
> working
> as I expect.
>
> volume mastersd-project-posix
> type storage/posix
> option directory /exports/mastersd-project
> end-volume
>
> volume mastersd-project-trashcan
> type features/trash
> option trash-dir /exports/.mastersd-project-trashcan
> subvolumes mastersd-project-posix
> end-volume
>
> volume mastersd-project-posix-locks
> type features/posix-locks
> option mandatory on
> subvolumes mastersd-project-trashcan
> end-volume
> ...
>
> Dallas
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
>
>
--
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Super Storage!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://supercolony.gluster.org/pipermail/gluster-users/attachments/20080827/bfc189e9/attachment.html>