Linux System Administration
Quotas
(4) Checking quotas
Here is a check you can try:
Set the inodes soft limit to 50 more than the current usage and the hard limit to 60 more than the current usage.
Run the following script:
for i in $(seq 1 65); do
echo -n "Touching file${i}"; touch file${i} 2>&1; done | less
Notice you get two types of error messages. One when you pass the soft limit and another when you hit the hard limit.
Use the
repquota
command to see that you have filled up your inode allocation.
Prev
Page 12 Next