[Gluster-users] trashcan file size limit

Jackie Tung jackie at drive.ai
Tue Oct 18 18:18:51 UTC 2016


Hi all,

Documentation says:  https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Trash/ <https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Trash/>

gluster volume set <VOLNAME> features.trash-max-filesize <size>

This command can be used to filter files entering trash directory based on their size. Files above trash_max_filesize are deleted/truncated directly.Value for size may be followed by multiplicative suffixes as KB(=1024 bytes), MB(=1024*1024 bytes) and GB(=1024*1024*1024 bytes). Default size is set to 5MB. Considering the fact that trash directory is consuming the glusterfs volume space, trash feature is implemented to function in such a way that it directly deletes/truncates files with size > 1GB even if this option is set to some value greater than 1GB.

Is there any workaround (short of changing source code and rebuilding) that can allow me to override this 1GB hard limit?  We store a lot of large files, and having a limit of 1GB greatly reduces the value of this trashcan feature for us.

Many thanks,
Jackie





-- 
 

The information in this email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this email 
by anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161018/3f731be7/attachment.html>


More information about the Gluster-users mailing list