From 45da23bbce4b4aa65fa7be3255999f7cc7b19999 Mon Sep 17 00:00:00 2001 From: Angie Wang Date: Fri, 14 Dec 2018 12:32:06 -0500 Subject: [PATCH] Increase the partition size for docker distribution This increases the default docker distribution partition size from 1G to 16G. This also increases the minimum disk requirements from 130G to 145G for small disk, 170G to 185G for large disk. Story: 2004520 Task: 28526 Change-Id: I898cfac45757ff1f9e6ce7c4928bbd9a42dca77d Signed-off-by: Angie Wang --- bsp-files/kickstarts/pre_disk_aio.cfg | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bsp-files/kickstarts/pre_disk_aio.cfg b/bsp-files/kickstarts/pre_disk_aio.cfg index d49f6d1f..dd69dabc 100755 --- a/bsp-files/kickstarts/pre_disk_aio.cfg +++ b/bsp-files/kickstarts/pre_disk_aio.cfg @@ -27,12 +27,12 @@ ## EXTENSION = 1024 ## GNOCCHI = 5120 ## DOCKER = 16384 (--kubernetes) -## DOCKER_DIST = 1024 (--kubernetes) +## DOCKER_DIST = 16384 (--kubernetes) ## ETCD = 5120 (--kubernetes) ## RESERVED_PE = 16 (based on pesize=32768) ## ## CGCS_PV_SIZE = 10240 + 2*20480 + 20480 + 51200 + 8196 + 8196 + 2048 + -## 2048 + 1024 + 1024 + 5120 + 16384 + 1024 + 5120 + 16 = 173080 +## 2048 + 1024 + 1024 + 5120 + 16384 + 16384 + 5120 + 16 = 188440 ## ## small install - (for disks below 240GB) ## - DB size is doubled to allow for upgrades @@ -50,13 +50,13 @@ ## EXTENSION = 1024 ## GNOCCHI = 5120 ## DOCKER = 16384 (--kubernetes) -## DOCKER_DIST = 1024 (--kubernetes) +## DOCKER_DIST = 16384 (--kubernetes) ## ETCD = 5120 (--kubernetes) ## RESERVED_PE = 16 (based on pesize=32768) ## ## ## CGCS_PV_SIZE = 10240 + 2*10240 + 10240 + 40960 + 8192 + 8192 + 2048 + -## 2048 +1024 + 1024 + 5120 + 16384 + 1024 + 5120 + 16 = 132112 +## 2048 +1024 + 1024 + 5120 + 16384 + 16384 + 5120 + 16 = 147472 ## ## NOTE: To maintain upgrade compatability within the volume group, keep the ## undersized LOG_VOL_SIZE and SCRATCH_VOL_SIZE, but size the minimally size @@ -82,14 +82,14 @@ sz=$(blockdev --getsize64 $(get_disk $rootfs_device)) if [ $sz -le $((240*$gb)) ] ; then # Round CGCS_PV_SIZE to the closest upper value that can be divided by 1024. - # 132112/1024= 129.02. CGCS_PV_SIZE=130*1024=133120. Using a disk with a - # size under 130GB will fail. 120GB disks will no longer install for AIO + # 147472/1024= 144.02. CGCS_PV_SIZE=145*1024=148480. Using a disk with a + # size under 145GB will fail. 120GB disks will no longer install for AIO # installations. - CGCS_PV_SIZE=133120 + CGCS_PV_SIZE=148480 else # Round CGCS_PV_SIZE to the closest upper value that can be divided by 1024. - # 173080/1024= 169.02. CGCS_PV_SIZE=170*1024=174080. - CGCS_PV_SIZE=174080 + # 188440/1024= 184.02. CGCS_PV_SIZE=185*1024=189440. + CGCS_PV_SIZE=189440 fi ROOTFS_SIZE=20000