Hi there.

Our master Opsview server has its MySQL data directory symlinked from
/var/lib/mysql to a mounted filesystem under /mnt because /var is a
relatively small partition.

The check_disk plugin is reporting that this /var partition is 85%
full and the output of the df command shows this too - but upon
running du this clearly isn't the case.

I can only assume that by default the df and check_disk commands are
following these symlinks (although oddly even after choosing to follow
symlinks with the du command it still doesn't tally up) so I'm
wondering how I can stop this ?

I don't see any flags to check_disk which I could use. Any thoughts?

[u...@host]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             4.9G  3.9G  728M  85% /var

[u...@host]# cd /var

[u...@host]# du -sh .
419M    .

[u...@host]# du -shL .
4.6G    .
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to