Bug 1090757 - Puppet-Gluster should run fstrim when doing thin-p
Summary: Puppet-Gluster should run fstrim when doing thin-p
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: puppet-gluster
Version: pre-release
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: James (purpleidea)
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-24 05:52 UTC by James (purpleidea)
Modified: 2015-10-22 15:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-22 15:40:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description James (purpleidea) 2014-04-24 05:52:43 UTC
Description of problem:

As discussed in this thread:
http://lists.nongnu.org/archive/html/gluster-devel/2014-04/msg00201.html

Puppet-Gluster should (could?) add a cron job to periodically run fstrim, when using thin-p.

This bug has been created to keep track of the specific requirements, and recommended defaults.

I've written a preliminary (aka completely untested) patch, which I'll modify as I get more information.

https://github.com/purpleidea/puppet-gluster/tree/feat/fstrim

Currently this should run fstrim once a day at 23:00h with no arguments other than the mounted file system path. Is this correct? Should it be pointing to a lvm device instead?

Comments appreciated.

Cheers,
James

Comment 3 James (purpleidea) 2014-09-30 16:26:41 UTC
Niels, either you're willing to patch/test this or your script has gone awry and is changing assignee when it's invalid to do so.

Comment 4 Kaleb KEITHLEY 2015-10-22 15:40:20 UTC
pre-release version is ambiguous and about to be removed as a choice.

If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.


Note You need to log in before you can comment on or make changes to this bug.