Add MariaDB LV 07/3707/1
authordave kormann <davek@research.att.com>
Mon, 14 Sep 2020 13:33:30 +0000 (09:33 -0400)
committerdave kormann <davek@research.att.com>
Mon, 14 Sep 2020 13:35:46 +0000 (09:35 -0400)
The mariadb database is currently stored on the root filesystem, which
is far too small for even our limited use.  This change adds an lvm
volume for /var/lib/mysql by reducing the size of the swift LV.

signed-off-by: dave kormann      <davek@research.att.com>
Change-Id: I0c0d9afb5d8b64f33fa63e64a72f0ac8ed913d9e

partfs_rootdisk/localstorage/caas/caas_master.yaml
partfs_rootdisk/localstorage/multinode_hybrid/multiple_hybrid.yaml

index 51fddb8..26c91ba 100644 (file)
@@ -19,6 +19,10 @@ logical_volumes:
     mount_point: "/var/lib/docker"
     mount_opts: noatime,nodiratime,logbufs=8,pquota
   - lvm_name: "swift"
-    lvm_size: "19%VG"
+    lvm_size: "9%VG"
     mount_point: "/srv/node/swift"
     mount_opts: noatime,nodiratime 
+  - lvm_name: "mariadb"
+    lvm_size: "10%VG"
+    mount_point: "/var/lib/mysql"
+    mount_opts: noatime,nodiratime,nosuid,noexec
index 51fddb8..26c91ba 100644 (file)
@@ -19,6 +19,10 @@ logical_volumes:
     mount_point: "/var/lib/docker"
     mount_opts: noatime,nodiratime,logbufs=8,pquota
   - lvm_name: "swift"
-    lvm_size: "19%VG"
+    lvm_size: "9%VG"
     mount_point: "/srv/node/swift"
     mount_opts: noatime,nodiratime 
+  - lvm_name: "mariadb"
+    lvm_size: "10%VG"
+    mount_point: "/var/lib/mysql"
+    mount_opts: noatime,nodiratime,nosuid,noexec