IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
openbsd:shell:quotas [2020/02/27 01:13]
pirata [Defining limits]
openbsd:shell:quotas [2020/02/27 01:37]
pirata
Line 6: Line 6:
   - **hard quotas** - does not allow any more disk allocation once threshold is reached.   - **hard quotas** - does not allow any more disk allocation once threshold is reached.
  
-Currently, IRCNow'​s shell limits disk usage to **5GB** (soft) and **10GB** (hard) ​per user and users have 1 week to decrease disk usage.+Currently, IRCNow'​s shell limits disk usage to **8GB** (soft) and **11GB** (hard) and users have 1 week to decrease disk usage.
  
 ====== Setting up  ====== ====== Setting up  ======
Line 39: Line 39:
  
 <code bash> <code bash>
-edquota -p PiRATA jrmu jimmy_will dennis  ​+edquota -p PiRATA jrmu jimmy_will dennis  ​
 </​code>​ </​code>​
  
Line 63: Line 63:
  
 ====== Displaying limits ​  ​====== ====== Displaying limits ​  ​======
- 
 quota(1) outputs current disk usage and limits. By default, only the user quotas are printed but you can see group quotas by invoking **-g** ​ option. quota(1) outputs current disk usage and limits. By default, only the user quotas are printed but you can see group quotas by invoking **-g** ​ option.
  
Line 71: Line 70:
        /​home ​   3704  5000000 10000000 ​             58        0       ​0 ​       ​        /​home ​   3704  5000000 10000000 ​             58        0       ​0 ​       ​
 </​code>​ </​code>​
 +
 +====== Checking filesystem consistency ​  ​======
 +quotacheck(8) examines each filesystem, builds a table of current disk usage, and compares this table against that recorded in the disk quota file for the filesystem. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are updated (the latter only occurs if an active filesystem is checked).
 +
 +This verification runs at boot time before enabling disk quotas with quotaon(8).