techstaff:quota
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
techstaff:quota [2016/04/22 16:13] – kauffman | techstaff:quota [2019/09/13 10:37] (current) – kauffman | ||
---|---|---|---|
Line 18: | 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 | | ||
+ | |||
+ | |||
+ | ===== Networked vs Local Storage ===== | ||
+ | If you are working with larger datasets we do not recommend you store these in your home directory. Please create yourself a folder in /local on whatever machine you have access to and put your data there. | ||
+ | |||
+ | Generally, your home directory is not going to be great to use for any heavy read and write application. | ||
+ | |||
+ | $ mkdir / | ||
+ | |||
+ |
/var/lib/dokuwiki/data/pages/techstaff/quota.txt · Last modified: 2019/09/13 10:37 by kauffman