Setting Up Second-Level Disk Quota Parameters
Parallels Server Bare Metal provides the standard Linux
# pctl exec 101 rpm -q quota quota-3.03-1.1.parallels
This command shows that the
# ssh ct101 root@ct101's password: Last login: Sat Jul 5 00:37:07 2009 from 10.100.40.18 [root@ct101 root]# edquota root Disk quotas for user root (uid 0): Filesystem blocks soft hard inodes soft hard /dev/vzfs 38216 50000 60000 45454 70000 70000 [root@ct101 root]# repquota -a *** Report for user quotas on device /dev/vzfs Block grace time: 00:00; Inode grace time: 00:00 Block limits File limits User used soft hard grace used soft hard grace ---------------------------------------------------------------------- root -- 38218 50000 60000 45453 70000 70000 [the rest of repquota output is skipped]
[root@ct101 root]# dd if=/dev/zero of=test dd: writing to `test': Disk quota exceeded 23473+0 records in 23472+0 records out [root@ct101 root]# repquota -a *** Report for user quotas on device /dev/vzfs Block grace time: 00:00; Inode grace time: 00:00 Block limits File limits User used soft hard grace used soft hard grace ---------------------------------------------------------------------- root +- 50001 50000 60000 none 45454 70000 70000 [the rest of repquota output is skipped]
The above example shows the session when the
It is also possible to set the grace period separately for block limits and inodes limits with the help of the
|
||||
|