cluster.min-free-disk option on gluster 3.4 Was: Re: [Users] how to temporarily solve low disk space problem

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

 



Il 07/01/2014 18:00, users-request@xxxxxxxxx ha scritto:
Date: Tue, 7 Jan 2014 16:21:37 +0100
From: Gianluca Cecchi<gianluca.cecchi@xxxxxxxxx>
To: Gadi Ickowicz<gickowic@xxxxxxxxxx>
Cc: users<users@xxxxxxxxx>
Subject: Re: [Users] how to temporarily solve low disk space problem
	preventing start of VM
Message-ID:
	<CAG2kNCxw54+dANqGX79j1HzjLYgPbxujxkb83GwVzZMfj=jNfA@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=UTF-8

On Tue, Jan 7, 2014 at 4:08 PM, Gadi Ickowicz  wrote:
>Hi,
>
>The low disk space is controlled by a parameter in the engine called FreeSpaceCriticalLowInGB, and can be configured using the cli tool engine-config.
>
>you should be able to set it to something like 4 GB or maybe 3GB so you can start your vms with the following command:
>
>engine-config -s FreeSpaceCriticalLowInGB=3
>
>After doing this you have to restart the engine service (service ovirt-engine restart) for the changes to take effect.
>
>If you want to see what the current value is use engine-config -g FreeSpaceCriticalLowInGB.
>
>
>To see a list of all configurable values you can use engine-config --list
>
>Thanks,
>Gadi Ickowicz
It did the trick, thanks!

Could this parameter impact in general only start of new VMs or in any
way also already running VMs?
Gianluca
added gluster-users as they can responde to us questions.

Gianluca, as you are using glusterfs, and as I can see on your df output:

/dev/mapper/fedora-DATA_GLUSTER                 30G   23G  7.8G  75%
/gluster/DATA_GLUSTER
node01.mydomain:gvdata                  30G   26G  4.6G  85%
/rhev/data-center/mnt/glusterSD/node01.mydomain:gvdata


be careful to gluster cluster.min-free-disk option, that on gluster 3.1 and 3.2 it's default option is 0% (good for you!)

http://gluster.org/community/documentation//index.php/Gluster_3.2:_Setting_Volume_Options#cluster.min-free-disk

but I can't find the same documentation for gluster 3.4, that I suppose you're using this gluster version on ovirt; otherwise on red hat storage documentation cluster.min-free-disk default option is 10% (bad for you):

https://access.redhat.com/site/documentation/en-US/Red_Hat_Storage/2.1/html/Administration_Guide/chap-User_Guide-Managing_Volumes.html

so you fill your gvdata volume up to 90% and let we know if it's stop I/O (or only write) or we can wait for a clarification from gluster guy :-)

best regards
a

--
Amedeo Salvati
RHC{DS,E,VA} - LPIC-3 - UCP - NCLA 11
email: amedeo@xxxxxxxxxx
email: amedeo@xxxxxxxxx
http://plugcomputing.it/redhatcert.php
http://plugcomputing.it/lpicert.php

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.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