summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Wang <angie.wang@windriver.com>2018-08-08 15:54:44 -0400
committerAngie Wang <angie.wang@windriver.com>2018-08-08 15:54:44 -0400
commitb2d963f0ef43a52b92c02868ed52085b83f91d7b (patch)
tree2f363ea0327de3e6fc4fb94eb7d2d8c3e8dcaeb2
parent3879fe15d616c84b259d2fec727cd0bb84e14a08 (diff)
Extend cgcs disk partition for gnocchi usage2018.08.0
Updating kickstart to provision 5G for new gnocchi filesystem in cgcs disk partition. Story: 2002825 Task: 24240 Change-Id: Ie6182a636e6b9c580af2cce671dcbb267acb305f Signed-off-by: Angie Wang <angie.wang@windriver.com>
Notes
Notes (review): Code-Review+2: Don Penney <don.penney@windriver.com> Code-Review+2: Saul Wold <sgw@linux.intel.com> Workflow+1: Saul Wold <sgw@linux.intel.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 09 Aug 2018 18:30:51 +0000 Reviewed-on: https://review.openstack.org/590449 Project: openstack/stx-metal Branch: refs/heads/master
-rwxr-xr-xbsp-files/kickstarts/pre_disk_aio.cfg10
1 files changed, 6 insertions, 4 deletions
diff --git a/bsp-files/kickstarts/pre_disk_aio.cfg b/bsp-files/kickstarts/pre_disk_aio.cfg
index 54a819b..407243b 100755
--- a/bsp-files/kickstarts/pre_disk_aio.cfg
+++ b/bsp-files/kickstarts/pre_disk_aio.cfg
@@ -24,10 +24,11 @@
24## PLATFORM = 2048 24## PLATFORM = 2048
25## ANCHOR = 1024 25## ANCHOR = 1024
26## EXTENSION = 1024 26## EXTENSION = 1024
27## GNOCCHI = 5120
27## RESERVED_PE = 16 (based on pesize=32768) 28## RESERVED_PE = 16 (based on pesize=32768)
28## 29##
29## CGCS_PV_SIZE = 10240 + 2*20480 + 20480 + 51200 + 8196 + 30## CGCS_PV_SIZE = 10240 + 2*20480 + 20480 + 51200 + 8196 +
30## 8196 + 2048 + 2048 + 1024 + 1024 + 16 = 145424 31## 8196 + 2048 + 2048 + 1024 + 1024 + 5120 + 16 = 150544
31## 32##
32## small install - uses is_virtual check 33## small install - uses is_virtual check
33## - DB size is doubled to allow for upgrades 34## - DB size is doubled to allow for upgrades
@@ -43,10 +44,11 @@
43## PLATFORM = 2048 44## PLATFORM = 2048
44## ANCHOR = 1024 45## ANCHOR = 1024
45## EXTENSION = 1024 46## EXTENSION = 1024
47## GNOCCHI = 5120
46## RESERVED_PE = 16 (based on pesize=32768) 48## RESERVED_PE = 16 (based on pesize=32768)
47## 49##
48## CGCS_PV_SIZE = 8192 + 2*5120 + 8192 + 5120 + 4096 + 50## CGCS_PV_SIZE = 8192 + 2*5120 + 8192 + 5120 + 4096 +
49## 4096 + 2048 + 2048 + 1024 + 1024 +16 = 46096 51## 4096 + 2048 + 2048 + 1024 + 1024 + 5120 +16 = 51216
50## 52##
51## NOTE: To maintain upgrade compatability within the volume group, keep the 53## NOTE: To maintain upgrade compatability within the volume group, keep the
52## undersized LOG_VOL_SIZE and SCRATCH_VOL_SIZE, but size the minimally size 54## undersized LOG_VOL_SIZE and SCRATCH_VOL_SIZE, but size the minimally size
@@ -74,12 +76,12 @@ if [ $sz -le $((161*$gb)) ] ; then
74 LOG_VOL_SIZE=4000 76 LOG_VOL_SIZE=4000
75 SCRATCH_VOL_SIZE=4000 77 SCRATCH_VOL_SIZE=4000
76 ROOTFS_SIZE=10000 78 ROOTFS_SIZE=10000
77 CGCS_PV_SIZE=46096 79 CGCS_PV_SIZE=51216
78else 80else
79 LOG_VOL_SIZE=8000 81 LOG_VOL_SIZE=8000
80 SCRATCH_VOL_SIZE=8000 82 SCRATCH_VOL_SIZE=8000
81 ROOTFS_SIZE=20000 83 ROOTFS_SIZE=20000
82 CGCS_PV_SIZE=145424 84 CGCS_PV_SIZE=150544
83fi 85fi
84 86
85ROOTFS_OPTIONS="defaults" 87ROOTFS_OPTIONS="defaults"