You find solutions for problems with exceeded quota on the HOME file system.
Check the quota
Check the quota on HLRN with the command hlrnquota
. Once your account is a member of a unix group, you find quota informations additionally for all groups. Each of your files belongs to your account or to one of your unix groups Inhalt type flat
If your project needs larger quotas, please contact your consultant to discuss your needs and how we can help you.
Please visit File Systems for the properties of the file systems HOME, WORK, and PERM.
Please periodically check whether your scientific results data stored on the file systems should be periodically transferred to the user's home institution. To maintain good I/O performance for all user jobs, the usage of the shared file systems for all resources needs to be limited.
Quota defaults
The default values for user quota are reasonable for average use cases. We are aware that certain projects need larger quota for their workflows. If your project needs larger quotas, please contact your consultant to discuss your needs and how we can help you.
File system quotas are enforced
- on HOME and WORK with respect to group ownerships
- on PERM with respect to user ownerships on Lise in Berlin
HOME | WORK | PERM | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Block | Inode | Block | Inode | Block | Inode | |||||||
soft | hard | soft | hard | soft | hard | soft | hard | soft | hard | soft | hard | |
Users | 40 GiB | 100 GiB | unlim. | unlim. | 3 TiB | 30 TiB | 250.000 | 1.500.000 | 2 TiB | 3 TiB | 2.000 | 2.200 |
Projects | 40 GiB | 100 GiB | unlim. | unlim. | 12 TiB | 120 TiB | 1.000.000 | 6.000.000 | ✦ | ✦ | ✦ | ✦ |
✦ there is user ownership only
Quota is available on the three file systems HOME, WORK and PERM. On each file system we distinguish
- quota for blocks, that is the disk space your files allocate, and
- quota for inodes, that is the number of files and directories.
Each quota consists of two numbers, the soft limit and the hard limit.
- Once your usage achieves the soft limit, the grace peroid of 2 weeks starts to count. By the end of the grace period you are not able to write files. As soon as you drop down below your soft limit the grace period is reseted.
- Once your usage achieves the hard limit, you are not able to write files.
Check your quota
Check your disk quota limits using the command show-quota
. If your user ID is member of one or more project groups you will also get quota information for these project groups. Each of your files and directories is owned by your user ID (user ownership) and by exactly one of the group IDs you are a member in (group ownership). The data base for the output of show-quota
is updated twice per hour.
Codeblock | ||||
---|---|---|---|---|
| blogin4> hlrnquota
| |||
blogin7:~ $ show-quota
Home
Blocks used Soft limit Hard limit Inodes used Soft limit Hard limit
myaccount (users) 89.45 GiB 40 GiB 100 GiB 187.3 k - -
prj00012 (projects) 68.03 GiB 40 GiB 100 GiB 659.6 k - -
Work
Blocks used Soft limit Hard limit Inodes used Soft limit Hard limit
myaccount (users) 1.202 TiB 3 TiB 30 TiB 1.74 k 250 k 1.5 M
prj00012 (projects) 2.512 TiB 12 TiB 30 TiB 1 1 M 6 M
|
...
If your HOME quota is exceeded, we recommend
- to check whether you can either delete files or move files from HOME to WORK (no backup!) or to PERM
- to contact your consultant, explain your storage needs, and ask for a higher quota limits.
If your WORK quota is exceeded, we recommend
- to check whether you can delete files or move files from WORK to PERM
- to change the group ownership of files to "move" their attribution from the quota of your primary group (user ID) to the quota of another group (e.g.
prj00012
) - to contact your consultant, explain your storage needs, and ask for higher quota limits.
Quota and unix groups
For each file and directory stored on disk you can figure out to which unix group it is attached tothe HOME or WORK file systems:
The group ownership affects the disk quota of that particular group – no matter where the file or directory itself is located within file system.
Sometimes this can make it hard to track down the disk quota when files or directories of a given group ownership are distributed over different user and/or project directories.
Each user ID is member of one or more groups. Group memberships can be checked with the groups
command.
Codeblock | ||
---|---|---|
| ||
blogin4:~ $ groups myaccount
myaccount prj00012 |
When, for example, you decide to change the group ownership of a file to prj00012
, the size of this file will affect the disk quota of group prj00012
.
Codeblock | ||||
---|---|---|---|---|
| blogin4>
| |||
blogin4:~ $ chgrp prj00012 somefile.txt blogin4:~ $ ls -lal somefile.txt -rw------- 1 myaccount myaccountprj00012 237271040 Jul 3 2020 somefile.txt |
To change all small number of files in a directory recursively, use "chgrp -R". To update many files, especially on the Lustre filesystems, you should use "lfs find" instead:
Codeblock | ||
---|---|---|
| ||
blogin4:~ $ lfs find somedirectory | xargs chgrp prj00012
blogin4:~ $ ls -ld somedirectory
drwx------ 1 myaccount prj00012 4096 Jul 3 2020 somedirectory
|
...
|
If your file or directory names contain spaces, you will need to use "lfs find -0 ... | xargs -0 ..." instead.
Access for group members
Once a file (or a complete directory) has the group ownership, the file might be accessed by all users in the group.
Codeblock | ||||
---|---|---|---|---|
| blogin4> groups
| |||
blogin4:~ $ ls -l somefile.txt -rw------- 1 myaccount prj00012 237271040 Jul blogin4>3 chgrp prj000122020 somefile.txt blogin4> chgrp --recursive prj00012 somedirectory blogin4>blogin4:~ $ chmod g+r somefile.txt blogin4:~ $ ls -lal somefile.txt -rw--r----- 1 myaccount prj00012 237271040 Jul 3 2020 somefile.txt |
HOME quota exceeded
You have the following solutions if your HOME quota is exceeded.
- remove files
- move files from HOME to WORK or to PERM
- ask your consultant for a higher quota
The HOME file system (/home/${USER}
) is intended to be used for the following data.
- configuration files
- source code
- executables
You might experience an exceeded HOME quota due to unintended usage of the HOME file system, e.g.
...
Codeblock | ||
---|---|---|
| ||
blogin4:~ $ ls -ld somedirectory
drwx------ 1 myaccount prj00012 4096 Jul 3 2020 somedirectory
blogin4:~ $ lfs find somedirectory |xargs chmod g+rX
blogin4:~ $ ls -ld somedirectory
drwxr-x--- 1 myaccount prj00012 4096 Jul 3 2020 somedirectory |
Quota exceeded
Disk space, Blocks
Once you experience too many Blocks you should check for disk usage in a directory.
Codeblock | ||
---|---|---|
| ||
blogin4:~ $ du -sh /home/myaccount/somedirectory
1.4G /home/myaccount/somedirectory
blogin4:~ $ du -sh /home/myaccount/somedirectory/*
227M /home/myaccount/somedirectory/subdir1
627M /home/myaccount/somedirectory/subdir2
... |
Number of files, Inodes
Once you experience too many Inodes you should count the number of files in a directory.
Codeblock | ||
---|---|---|
| ||
blogin4:~ $ lfs find /home/myaccount/somedirectory | wc -l
201 |
Related articles
Nach Stichwort filtern (Inhalt nach Stichwort) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|