techstaff:quota
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
techstaff:quota [2016/01/07 15:45] – [Check your quota] kauffman | techstaff:quota [2018/03/02 17:22] – kauffman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Quota ====== | ====== Quota ====== | ||
+ | ===== Why is there a quota? ===== | ||
+ | The quota exists only to protect the server, not hinder you in your work. You can always request more. Don't be surprised if we ask why you need it, this isn't intended to give us a reason to say no, just to make sure you don't go doing anything silly. For example, running VM inside your home directory. | ||
+ | |||
+ | If the request is very large we will usually try to accommodate you in some other manner. It helps a lot if you can tell us your goals, so we may help you achieve them. | ||
===== Check your quota ===== | ===== Check your quota ===== | ||
Line 14: | Line 18: | ||
^ limit | Hard limit works only when grace period is set. It specifies the absolute limit on the disk usage, which a quota user can't go beyond his hard limit. | | ^ limit | Hard limit works only when grace period is set. It specifies the absolute limit on the disk usage, which a quota user can't go beyond his hard limit. | | ||
^ grace | The time limit before the soft limit is enforced. | | ^ grace | The time limit before the soft limit is enforced. | | ||
+ | |||
+ | |||
+ | ===== Ok my quota is full. How do figure out what is using all the disk space ===== | ||
+ | The command '' | ||
+ | |||
+ | |||
+ | > "Ok but for real I don't have time to read the man page right now. I need to get my homework done!" | ||
+ | |||
+ | |||
+ | < | ||
+ | $ du -csh $HOME/* $HOME/.??* | sort -h | tail | ||
+ | 4.0K / | ||
+ | 4.0K / | ||
+ | 4.0K / | ||
+ | 8.0K / | ||
+ | 136K / | ||
+ | 83M / | ||
+ | 87M / | ||
+ | 141M / | ||
+ | 320M / | ||
+ | 631M total | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ^ du -csh | Calculate file and directory usage. (**c**) Show total ; (**s**) recurses down to calculate, but only shows total for input arguments(files or directories) ; (**h**) human readable file size; | | ||
+ | ^ $HOME/* | All files, no dot files | | ||
+ | ^ $HOME/.??* | All files that start with a dot(.) and have at least two characters | | ||
+ | ^ sort -h | sort the input by human readable file size | | ||
+ | ^ tail | Only show me the last 10 lines | |
/var/lib/dokuwiki/data/pages/techstaff/quota.txt · Last modified: 2019/09/13 10:37 by kauffman