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
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
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