Browse Source

Extend cgcs disk partition for gnocchi usage

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>
Angie Wang 8 months ago
parent
commit
b2d963f0ef
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      bsp-files/kickstarts/pre_disk_aio.cfg

+ 6
- 4
bsp-files/kickstarts/pre_disk_aio.cfg View File

@@ -24,10 +24,11 @@
24 24
 ## PLATFORM = 2048
25 25
 ## ANCHOR = 1024
26 26
 ## EXTENSION = 1024
27
+## GNOCCHI = 5120
27 28
 ## RESERVED_PE = 16 (based on pesize=32768)
28 29
 ##
29 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 33
 ## small install - uses is_virtual check
33 34
 ##  - DB size is doubled to allow for upgrades
@@ -43,10 +44,11 @@
43 44
 ## PLATFORM = 2048
44 45
 ## ANCHOR = 1024
45 46
 ## EXTENSION = 1024
47
+## GNOCCHI = 5120
46 48
 ## RESERVED_PE = 16 (based on pesize=32768)
47 49
 ##
48 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 53
 ## NOTE: To maintain upgrade compatability within the volume group, keep the
52 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 76
     LOG_VOL_SIZE=4000
75 77
     SCRATCH_VOL_SIZE=4000
76 78
     ROOTFS_SIZE=10000
77
-    CGCS_PV_SIZE=46096
79
+    CGCS_PV_SIZE=51216
78 80
 else
79 81
     LOG_VOL_SIZE=8000
80 82
     SCRATCH_VOL_SIZE=8000
81 83
     ROOTFS_SIZE=20000
82
-    CGCS_PV_SIZE=145424
84
+    CGCS_PV_SIZE=150544
83 85
 fi
84 86
 
85 87
 ROOTFS_OPTIONS="defaults"

Loading…
Cancel
Save