Help:Quota

From MMAE

Jump to: navigation, search

Disk quotas are necessary to prevent a single user from accidently using up all available space. Also, the soft quota setting is meant to remind you to clean up unneeded files periodically.

Availability
All unix systems with quotas turned on
Other related software
System command du gives a space summary
(on MMAE systems) the ipurge command will remove unneeded I-DEAS scratch files and release the space.
extra Pro/E backup files can be erased with the ipurge command
command to type to run
quota -v
View online documentation
man quota

[edit] Effects

  • When the user either reaches the hard limit, or is over the soft limit for more than the time limit, no more files can be saved to disk.
  • As a consequence of not being able to write files, the user will not be able to log into the graphical system (as it needs to create a few files to log in successfully).
  • Connections to the server through windows file sharing and ssh should still work.

[edit] Example

% quota -v
Filesystem     usage  quota  limit    timeleft  files  quota  limit    timeleft
/                  0  20000  40000                  0      0      0            
/homeb         12345  20000  40000                  0      0      0            
/home              0  20000  40000                  0      0      0            
/home4             0  20000  50000                  0      0      0            
/home3             0  20000  40000                  0      0      0            
/home2             0  20000  40000                  0      0      0            

This user has a home directory on disk /homeb, and is using about 12M on that disk. down. This user can write up to 40M total, at which point no more can be saved. When usage reaches 20M, the user will get a warning, and a timer will start counting. The user has (at least) a week to remove enough files to go below the 20M limit, or ask for their disk quota to be raised.

Personal tools