Actions
User story #18534
closedUser story #18314: Create Healthcheck webpage
User story #18357: Add check for free space
Skip non-standard moint FS for free-space check
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Maintenance
Target version:
Effort required:
Name check:
To do
Fix check:
Checked
Regression:
Description
I got an error on healthcheck because an nfs mount point is reporting 0%. But we don't want an error on that:
Idea: only check space for /var/*
path where the mount point is a standard one, ie prefilter the line and take only the one which starts with a "/":
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,freezer) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,hugetlb) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,pids) configfs on /sys/kernel/config type configfs (rw,relatime) /dev/mapper/cl-root on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota) selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=40,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=17863) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel) debugfs on /sys/kernel/debug type debugfs (rw,relatime,seclabel) /dev/sda1 on /boot type ext4 (rw,relatime,seclabel) /dev/mapper/cl-home on /home type xfs (rw,relatime,seclabel,attr2,inode64,noquota) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) vagrant on /vagrant type vboxsf (rw,nodev,relatime,iocharset=utf8,uid=1000,gid=1000) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=84108k,mode=700,uid=1000,gid=1000)
Here: only consider /dev/mapper/cl-root
, /dev/mapper/cl-home
and /dev/sda1
(and so, /var
should be checked against /dev/mapper/cf-root
)
Files
Actions