From b8e18d7db4712f1a12918a89402eb5d0f6abd949 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Thu, 20 Sep 2018 13:29:39 +0200 Subject: [PATCH] TT#11444 Increase ROOTFS_SIZE till 10Gb Otherwise PRO/Carrier cannot be installed because NGCP depends on a lot of huge packages including: * NGCP CloudPBX firmwares ~1Gb ad for mr6.5 and growing * GRML squashfs ~300Mb * Sipwise prompts ~400Mb At the moment of installing all the packages are downloaded into apt cache (~2.9Gb in total as for mr6.5) + have to be installed/unpacked (~3.2Gb in total as for mr6.5). All-to-all I was not able to install Carrier web01a node even with ROOTFS_SIZE=6Gb. I had to increase it till '7Gb' to install Carrier successfully. Lets use 10GB for root FS to have free space protection here. The possible options were checked: * move apt cache into RAM, has some disadvantages, like we need 4GB+ RAM for cache only => hard to test on Jenkins * move apt cache to 'data' partition is also bad idea as it is a 'code' cache so have to be consistent with 'code' (so it is release specific and must be stored on 'root'/'fallback') Change-Id: Ia34dcc15230e152e894e813dfbaa8688a5145de1 --- templates/scripts/includes/deployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/scripts/includes/deployment.sh b/templates/scripts/includes/deployment.sh index cb7348f..b831dd8 100755 --- a/templates/scripts/includes/deployment.sh +++ b/templates/scripts/includes/deployment.sh @@ -66,7 +66,7 @@ VAGRANT=false ADJUST_FOR_LOW_PERFORMANCE=false ENABLE_VM_SERVICES=false FILESYSTEM="ext4" -ROOTFS_SIZE="5G" +ROOTFS_SIZE="10G" SWRAID_DEVICE="/dev/md0" GPG_KEY_SERVER="pool.sks-keyservers.net" DEBIAN_REPO_HOST="debian.sipwise.com"