Experience with real-world deployments has shown that the bulk of the
REC storage requirements are for logs. This change reworks the LV
allocation on the root disk to reflect this:
- The LV for /home is removed; /home will be on the root filesystem
- The mariadb and swift LVs are significantly reduced in size, as
neither is used by the RIC or the REC (beyond Keystone)
- the /var/log/audit LV is removed. /var/log/audit will share space
with the rest of /var/log
- /var/log is used as the "free hog" lv, taking up any space not used by
other VGs.
signed-off-by: dave kormann <davek@research.att.com>
Change-Id: I34502aa156e145c4b30a57f263c106aa89b39073
mount_point: "/var/lib/docker"
mount_opts: noatime,nodiratime,logbufs=8,pquota
- lvm_name: "swift"
mount_point: "/var/lib/docker"
mount_opts: noatime,nodiratime,logbufs=8,pquota
- lvm_name: "swift"
mount_point: "/srv/node/swift"
mount_opts: noatime,nodiratime
- lvm_name: "mariadb"
mount_point: "/srv/node/swift"
mount_opts: noatime,nodiratime
- lvm_name: "mariadb"
mount_point: "/var/lib/mysql"
mount_point: "/var/lib/mysql"
- mount_opts: noatime,nodiratime,nosuid,noexec
+ mount_opts: "noatime,nodiratime,nosuid,noexec,context=system_u:object_r:mysqld_db_t:s0"
mount_point: "/var/lib/ceph/mgr"
mount_opts: noatime,nodev,nosuid,noexec
- lvm_name: "cephmon"
mount_point: "/var/lib/ceph/mgr"
mount_opts: noatime,nodev,nosuid,noexec
- lvm_name: "cephmon"
mount_point: "/var/lib/ceph/mon"
mount_opts: noatime,nodev,nosuid,noexec
mount_point: "/var/lib/ceph/mon"
mount_opts: noatime,nodev,nosuid,noexec
- caas_worker
- storage
logical_volumes:
- caas_worker
- storage
logical_volumes:
- - lvm_name: "audit"
- lvm_size: "10%VG"
- mount_point: "/var/log/audit"
- mount_opts: noatime,nodev,nosuid,noexec
mount_point: "/var/log"
mount_opts: noatime,nodev,nosuid,noexec
mount_point: "/var/log"
mount_opts: noatime,nodev,nosuid,noexec
- - lvm_name: "home"
- lvm_size: "variable"
- mount_point: "/home"
- mount_opts: noatime,nodev,nosuid
mount_point: "/var/lib/ceph/mgr"
mount_opts: noatime,nodev,nosuid,noexec
- lvm_name: "cephmon"
mount_point: "/var/lib/ceph/mgr"
mount_opts: noatime,nodev,nosuid,noexec
- lvm_name: "cephmon"
mount_point: "/var/lib/ceph/mon"
mount_opts: noatime,nodev,nosuid,noexec
mount_point: "/var/lib/ceph/mon"
mount_opts: noatime,nodev,nosuid,noexec
- cephcontroller
logical_volumes:
- lvm_name: "cinder"
- cephcontroller
logical_volumes:
- lvm_name: "cinder"
mount_point: "/var/lib/cinder"
mount_opts: noatime,nodev,nosuid,noexec
mount_point: "/var/lib/cinder"
mount_opts: noatime,nodev,nosuid,noexec
- cephcontroller
- compute
logical_volumes:
- cephcontroller
- compute
logical_volumes:
- - lvm_name: "audit"
- lvm_size: "10%VG"
- mount_point: "/var/log/audit"
- mount_opts: noatime,nodev,nosuid,noexec
mount_point: "/var/log"
mount_opts: noatime,nodev,nosuid,noexec
mount_point: "/var/log"
mount_opts: noatime,nodev,nosuid,noexec
- - lvm_name: "home"
- lvm_size: "variable"
- mount_point: "/home"
- mount_opts: noatime,nodev,nosuid
mount_point: "/var/lib/docker"
mount_opts: noatime,nodiratime,logbufs=8,pquota
- lvm_name: "swift"
mount_point: "/var/lib/docker"
mount_opts: noatime,nodiratime,logbufs=8,pquota
- lvm_name: "swift"
mount_point: "/srv/node/swift"
mount_opts: noatime,nodiratime
- lvm_name: "mariadb"
mount_point: "/srv/node/swift"
mount_opts: noatime,nodiratime
- lvm_name: "mariadb"
mount_point: "/var/lib/mysql"
mount_opts: noatime,nodiratime,nosuid,noexec
mount_point: "/var/lib/mysql"
mount_opts: noatime,nodiratime,nosuid,noexec