Increase cgts-vg size for dc-vault fs
Increase the partition size for cgts-vg to include dc-vault fs(15G) on AIO. Tested installation of AIO-DX and AIO-DX DCSC Partial-bug: 1916797 Change-Id: I00427820f710946275f99970ad9a7c1d8437955c Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
parent
7a3adb2cdc
commit
5619e3e8b6
@ -29,11 +29,12 @@
|
||||
## ETCD_STOR_SIZE = 5GiB
|
||||
## CEPH_MON_SIZE = 20GiB
|
||||
## KUBELET_STOR_SIZE = 10GiB
|
||||
## DC_VAULT_SIZE = 15GiB
|
||||
## RESERVED_PE = 16MiB (based on pesize=32768)
|
||||
##
|
||||
## CGCS_PV_SIZE = (10 + 2*10 + 25 + 8 + 16 + 2 + 1 + 30 + 16 + 5 + 20 + 10)GiB + 16MiB/1024 = 163.02GiB
|
||||
## CGCS_PV_SIZE = (10 + 2*10 + 25 + 8 + 16 + 2 + 1 + 30 + 16 + 5 + 20 + 10 + 15)GiB + 16MiB/1024 = 178.02GiB
|
||||
##
|
||||
##***************************************************************************************************
|
||||
##**********************************************************************************************************
|
||||
## Small disk install - (for disks below 240GB)
|
||||
## - DB size is doubled to allow for upgrades
|
||||
##
|
||||
@ -50,11 +51,12 @@
|
||||
## ETCD_STOR_SIZE = 5GiB
|
||||
## CEPH_MON_SIZE = 20GiB
|
||||
## KUBELET_STOR_SIZE = 10GiB
|
||||
## DC_VAULT_SIZE = 15GiB
|
||||
## RESERVED_PE = 16MiB (based on pesize=32768)
|
||||
##
|
||||
## CGCS_PV_SIZE = (10 + 2*5 + 20 + 8 + 16 + 2 + 1 + 30 + 16 + 5 + 20 + 10)GiB + 16MiB/1024 = 148.02GiB
|
||||
## CGCS_PV_SIZE = (10 + 2*5 + 20 + 8 + 16 + 2 + 1 + 30 + 16 + 5 + 20 + 10 + 15)GiB + 16MiB/1024 = 163.02GiB
|
||||
##
|
||||
##***************************************************************************************************
|
||||
##*********************************************************************************************************
|
||||
## Tiny disk install - (for disks below 154GB)
|
||||
##
|
||||
## NOTE: Tiny disk setup is mainly for StarlingX running in QEMU/KVM VM.
|
||||
@ -89,15 +91,15 @@ EFI_SIZE=300
|
||||
# which are DEFAULT_SMALL_DISK_SIZE
|
||||
# MINIMUM_SMALL_DISK_SIZE
|
||||
default_small_disk_size=240
|
||||
minimum_small_disk_size=181
|
||||
minimum_small_disk_size=196
|
||||
sz=$(blockdev --getsize64 $rootfs_device)
|
||||
# Round CGCS_PV_SIZE to the closest upper value that can be divided by 1024.
|
||||
if [ $sz -gt $(($default_small_disk_size*$gb)) ] ; then
|
||||
# Large disk: CGCS_PV_SIZE=164GiB*1024=167936
|
||||
CGCS_PV_SIZE=167936
|
||||
# Large disk: CGCS_PV_SIZE=179GiB*1024=183296
|
||||
CGCS_PV_SIZE=183296
|
||||
elif [ $sz -ge $(($minimum_small_disk_size*$gb)) ] ; then
|
||||
# Small disk: CGCS_PV_SIZE=149GiB*1024=152576
|
||||
CGCS_PV_SIZE=152576
|
||||
# Small disk: CGCS_PV_SIZE=164GiB*1024=167936
|
||||
CGCS_PV_SIZE=167936
|
||||
else
|
||||
# Tiny disk: CGCS_PV_SIZE=43GiB*1024=44032
|
||||
# Using a disk with a size under 60GiB will fail.
|
||||
|
Loading…
x
Reference in New Issue
Block a user