Increase disk size requirement from 10G to 16G for docker
Base disk increases by 6G from 124G to 130G for small disk and from 164 to 170 for large. Story: 2002876 Task: 27948 Change-Id: I3d987c0d70bf18a91cb4c977ac16fcdabe2cb9fc Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This commit is contained in:
parent
0d9bb5e7da
commit
73edb1fdf1
@ -26,13 +26,13 @@
|
||||
## ANCHOR = 1024
|
||||
## EXTENSION = 1024
|
||||
## GNOCCHI = 5120
|
||||
## DOCKER = 10240 (--kubernetes)
|
||||
## DOCKER = 16384 (--kubernetes)
|
||||
## DOCKER_DIST = 1024 (--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 + 10240 + 1024 + 5120 + 16 = 166936
|
||||
## 2048 + 1024 + 1024 + 5120 + 16384 + 1024 + 5120 + 16 = 173080
|
||||
##
|
||||
## small install - (for disks below 240GB)
|
||||
## - DB size is doubled to allow for upgrades
|
||||
@ -49,14 +49,14 @@
|
||||
## ANCHOR = 1024
|
||||
## EXTENSION = 1024
|
||||
## GNOCCHI = 5120
|
||||
## DOCKER = 10240 (--kubernetes)
|
||||
## DOCKER = 16384 (--kubernetes)
|
||||
## DOCKER_DIST = 1024 (--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 + 10240 + 1024 + 5120 + 16 = 125968
|
||||
## 2048 +1024 + 1024 + 5120 + 16384 + 1024 + 5120 + 16 = 132112
|
||||
##
|
||||
## 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,12 +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.
|
||||
# 125968/1024= 123.02. CGCS_PV_SIZE=124*1024=126976. Using a disk with a
|
||||
# size under 127GB will fail. 120GB disks will no longer install for AIO
|
||||
# 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
|
||||
# installations.
|
||||
CGCS_PV_SIZE=126976
|
||||
CGCS_PV_SIZE=133120
|
||||
else
|
||||
CGCS_PV_SIZE=166936
|
||||
# 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
|
||||
fi
|
||||
|
||||
ROOTFS_SIZE=20000
|
||||
|
Loading…
x
Reference in New Issue
Block a user