Example client with 15 GB:
Disk quotas for user nowyklientxxx (uid 8062):
Filesystem blocks quota limit grace files quota limit grace
/dev/md2 0 3932160 3932160 1 157287 157287
/dev/md4 20 3932160 3932160 5 157287 157287
This is exactly 3,93 GB not 15 GB !
$perblock = getFSBlockSizeInKb();
$totalblock = $disk / $perblock;
It should be like this:
$perblock = getFSBlockSizeInKb();
$totalblock = $disk * $perblock / $perblock;
Then it's 15 GB:
Disk quotas for user nowyklientxxx (uid 8062):
Filesystem blocks quota limit grace files quota limit grace
/dev/md2 0 15728640 15728640 1 157287 157287
/dev/md4 20 15728640 15728640 5 157287 157287