ispmanager 6

/
/
No data on occupied disk space in ispmanager 6

No data on occupied disk space in ispmanager 6

Symptoms

The control panel does not show the occupied disk space.

An error of the following format is registered in the panel log:

Dec  5 16:09:02 [3228:38] proc EXTINFO Run '/bin/sh -c quotasync\ -g\ /' pid 3658
Dec  5 16:09:02 [3228:38] proc EXTINFO Process 3658 finished with status 1

Causes

  • The reiserfs file system is used (OpenVZ virtualization);
  • Mismatching file systems are used on the disk: the root partition is in XFS format and the user partition is in EXT4.

Solution

Reiserfs file system

In case of using the reiserfs file system, it is necessary to disable quota synchronization by enabling the DisableQuotasync option. To do so, add the line Option DisableQuotasync to the panel configuration file at /usr/local/mgr5/etc/ispmgr.conf.

After saving the changes, restart the panel with the following command:

/usr/local/mgr5/sbin/mgrctl -m ispmgr exit

Mismatching file systems

In case of using different file systems for partitions, you need to disable the XfsQuota option. To do so, delete or comment the Option XfsQuota line in the panel configuration file at /usr/local/mgr5/etc/ispmgr.conf.

After saving the changes, restart the panel with the following command:

/usr/local/mgr5/sbin/mgrctl -m ispmgr exit