Commit e7266c21 authored by Till Brehm's avatar Till Brehm

Fixed #4944 Filesystem usage not show correctly when lvm logical volume is too long.

parent c1916502
......@@ -74,7 +74,7 @@ class cronjob_monitor_disk_usage extends cronjob {
$app->uses('getconf');
$web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
$dfData = shell_exec('df -hT -x simfs | awk \'!x[$1]++\' 2>/dev/null');
$dfData = shell_exec('df -PhT -x simfs | awk \'!x[$1]++\' 2>/dev/null');
// split into array
$df = explode("\n", $dfData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment