From 77ed0c4b96426b8ba5d96a771fe03b5ad88ed04f Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 30 Mar 2015 13:47:31 +0530 Subject: [PATCH] systemvm64template: use separate partition for /var/log /var/log fills up /var and fails operation of normal services. This fix restricts /var/log to 100-200M. The fix for CLOUDSTACK-6885 tries to make sure we don't keep a lot of logs. Signed-off-by: Rohit Yadav --- .../definitions/systemvm64template/preseed.cfg | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/appliance/definitions/systemvm64template/preseed.cfg b/tools/appliance/definitions/systemvm64template/preseed.cfg index 70696c5fe5a..b1675c2aa62 100644 --- a/tools/appliance/definitions/systemvm64template/preseed.cfg +++ b/tools/appliance/definitions/systemvm64template/preseed.cfg @@ -136,7 +136,7 @@ d-i partman-auto/expert_recipe string \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /boot } \ . \ - 400 40 800 ext4 \ + 500 40 800 ext4 \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ / } \ @@ -146,12 +146,12 @@ d-i partman-auto/expert_recipe string \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /home } \ . \ - 700 60 1400 ext4 \ + 800 60 1400 ext4 \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /usr } \ . \ - 300 40 600 ext4 \ + 100 40 200 ext4 \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /opt } \ @@ -161,6 +161,11 @@ d-i partman-auto/expert_recipe string \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /var } \ . \ + 200 50 500 ext4 \ + method{ format } format{ } \ + use_filesystem{ } filesystem{ ext4 } \ + mountpoint{ /var/log } \ + . \ 100 90 200 ext4 \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \