Re: GlusterFS 3.7.11 crash issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-06-28 at 11:30 +0200, Yann LEMARIE wrote:
Re,

This file doesn't exist on the mounted filesystem and in the 2 bricks. 
All directory "tmp" are used by our cdn to build resized images of the original one.

It's a quite stupid to store them in the .trash, how to set this with the volume option ?
gluster volume set <VOLNAME> features.trash-eliminate-path <path1> 


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.

Whether setting trash-eliminate-path to
/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).

[1] https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Trash/#volume-options

Yann

Le 28/06/2016 11:17, Anoop C S a écrit :
On Mon, 2016-06-27 at 13:54 +0530, Atin Mukherjee wrote:
Can you confirm whether truncated files are present in .trashcan directory or not? From the above brick logs check whether medias/fjDtE6cAz80xweuAdoIcWCDYxo9FdPqIVL88Yrl8ZiGVIvdiyBD5u1pJ UXBzYJ5b/Dante_Olive/origin/tmp/IMG3920.JPG_2016-06-26_092737 exists under .trashcan (from mount or directly on bricks)?
 
-- 
Yann Lemarié
iRaiser - Support Technique
 
ylemarie@xxxxxxxxxx
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux