On Jul 12, 2010, at 6:13 AM, Dejan Muhamedagic wrote: > Hi Vadym, > > On Fri, Jul 09, 2010 at 08:28:18PM -0400, Vadym Chepkov wrote: >> >> On Jul 9, 2010, at 2:53 PM, Dejan Muhamedagic wrote: >>> >>> In general I don't like this kind of stuff, because it's very >>> error prone: the script must behave and it has to be kept in sync >>> on all nodes. It's also too general. I'd rather have a boolean >>> use_quota parameter which would do only that, i.e. enable quota >>> on mount. Or that the RA automatically enables quota if it sees >>> a relevant quota option. >>> >>> Opinions? >>> >>> Many thanks for the effort! >>> >>> Cheers, >>> >>> Dejan >> >> >> Non taken :) >> I afraid I won't be able to supply solutions for all FS that >> are supported by this agent. > > Right. Whichever you do, it'd be easy to add more later. > >> I guess I will add support for those OS I use and for the rest >> I will just return OCF_ERR_UNIMPLEMENTED in the first draft. > > OCF_ERR_CONFIGURED should be better. > > I think that we need an extra parameter, perhaps "enable_quota" > rather than "use_quota". Or just "quota".
I was thinking quota_enable and maybe another one - quota_check, which will be false by default and will trigger quotacheck run if required. Vadym _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
