Is there a "quota" option? or some way to limit how much mogstored uses?

dormando dormando at rydia.net
Thu Apr 24 21:53:39 UTC 2008


Yup. Although that doesn't reduce the "% used" in mogadm or anything, so 
it can be missleading if you don't know it's there. The default is 100 megs.

-Dormando

mike wrote:
> well most of these boxes I won't be adding more drives to. I'd just be
> putting aside a decent chunk of unused space on each of my webservers,
> but I don't want to shoot myself in the foot and have mogstored+/var
> stuff or other things wind up filling the disk and breaking things :)
> 
> So 'min_free_space' could be set to 20 gig, and all the mogstored's
> would make sure to stop saying "I have available space" when it hits ~
> 20 gig left?
> 
> On 4/24/08, dormando <dormando at rydia.net> wrote:
>> You can specify 'min_free_space' in the tracker configs, but this is a
>> global value. Otherwise mogilefs is designed to use exactly up to
>> 'min_free_space' of disk space per device. LVM is a good bet if you want to
>> limit it and expand it later... but why would you want to do that? :)
>>
>> -Dormando
>>
>>
>> mike wrote:
>>> Just wondering if I need to plan ahead to slice up my disk using LVM2
>>> or physical partitions, or if I can simply say "yes it is a 200G
>>> partition, but you only get to use 100G of it" ?
>>>
>>> Thanks
>>>
>>



More information about the mogilefs mailing list