Re: [Gluster-devel] Snapshot Scheduler

2016-07-12 Thread Avra Sengupta
On 07/13/2016 02:37 AM, Niels de Vos wrote: On Wed, Jul 13, 2016 at 12:37:17AM +0530, Avra Sengupta wrote: Thanks Joe for the feedback. We are aware of the following issue, and we will try and address this by going for a more generic approach, which will not have platform dependencies. I'm most

Re: [Gluster-devel] Snapshot Scheduler

2016-07-12 Thread Niels de Vos
On Wed, Jul 13, 2016 at 12:37:17AM +0530, Avra Sengupta wrote: > Thanks Joe for the feedback. We are aware of the following issue, and we > will try and address this by going for a more generic approach, which will > not have platform dependencies. I'm mostly in favour of using the standard functi

Re: [Gluster-devel] Snapshot Scheduler

2016-07-12 Thread Avra Sengupta
Thanks Joe for the feedback. We are aware of the following issue, and we will try and address this by going for a more generic approach, which will not have platform dependencies. On 07/12/2016 11:59 PM, Joe Julian wrote: cron isn't installed by default on Arch rather scheduling is done by sys

Re: [Gluster-devel] Snapshot Scheduler

2016-07-12 Thread Avra Sengupta
Thanks Alastair for the feedback. As of today we have auto-delete which when enabled deletes the oldest snapshot on exceeding the snap-max-soft-limit. Is this what you were trying to achieve, or were you thinking of more of a policy based approach, where like creation, deletion policies can be

Re: [Gluster-devel] Snapshot Scheduler

2016-07-12 Thread Joe Julian
cron isn't installed by default on Arch rather scheduling is done by systemd timers. We might want to consider using systemd.timer for systemd distros and crontab for legacy distros. On 07/08/2016 03:01 AM, Avra Sengupta wrote: Hi, Snaphsots in gluster have a scheduler, which relies heavily

Re: [Gluster-devel] Snapshot Scheduler

2016-07-12 Thread Alastair Neil
I don't know if I did something wrong, but I found the location that the scheduler wanted the shared storage was problematic as I recall it was under /run/gluster/snaps. On CentOS 7 this failed to mount on boot. I hacked the scheduler to use a location under /var/lib. I also think there needs to

[Gluster-devel] Snapshot Scheduler

2016-07-08 Thread Avra Sengupta
Hi, Snaphsots in gluster have a scheduler, which relies heavily on crontab, and the shared storage. I would like people using this scheduler, or for people to use this scheduler, and provide us feedback on it's experience. We are looking for feedback on ease of use, complexity of features, ad