You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/03/30 10:29:17 UTC

[2/3] git commit: updated refs/heads/master to 6f907fb

systemvmtemplate: 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 <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d0e65d7c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d0e65d7c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d0e65d7c

Branch: refs/heads/master
Commit: d0e65d7c3429d3a582632005d526c668f071c3fe
Parents: 0540ba1
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Mon Mar 30 13:54:20 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Mar 30 13:54:20 2015 +0530

----------------------------------------------------------------------
 .../definitions/systemvmtemplate/preseed.cfg       | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d0e65d7c/tools/appliance/definitions/systemvmtemplate/preseed.cfg
----------------------------------------------------------------------
diff --git a/tools/appliance/definitions/systemvmtemplate/preseed.cfg b/tools/appliance/definitions/systemvmtemplate/preseed.cfg
index f1f4f64..9f7c4d0 100644
--- a/tools/appliance/definitions/systemvmtemplate/preseed.cfg
+++ b/tools/appliance/definitions/systemvmtemplate/preseed.cfg
@@ -50,7 +50,7 @@ d-i partman-auto/expert_recipe string                         \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /boot }                     \
               .                                               \
-              400 40 500 ext4                                 \
+              500 40 800 ext4                                 \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ / }                         \
@@ -60,27 +60,32 @@ d-i partman-auto/expert_recipe string                         \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /home }                     \
               .                                               \
-              700 70 1100 ext4                                \
+              800 60 1400 ext4                                \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /usr }                      \
               .                                               \
-              400 40 500 ext4                                 \
+              100 40 200 ext4                                 \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /opt }                      \
               .                                               \
-              450 70 1000 ext4                                \
+              600 70 1200 ext4                                \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /var }                      \
               .                                               \
-              50 60 100 ext4                                  \
+              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 }    \
                       mountpoint{ /tmp }                      \
               .                                               \
-              70 100 256 linux-swap                           \
+              256 100 1024 linux-swap                         \
                       method{ swap } format{ }                \
               .
 d-i partman/confirm_write_new_label boolean true