Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
habrok:data_management:quota [2023/03/22 10:29] – [hbquota] fokke | habrok:data_management:quota [2023/04/18 09:45] (current) – [hbquota] admin | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== hbquota ===== | ===== hbquota ===== | ||
- | The quota tool has not yet been ported to Hábrók. | + | The '' |
+ | < | ||
+ | Quotas for: p123456 | ||
+ | /home1 | ||
+ | ############### | ||
+ | Quota: 50.0 GiB | ||
+ | Hard Limit: 50.0 GiB | ||
+ | Usage: 13.7 GiB | ||
+ | File Quota: | ||
+ | File Limit: | ||
+ | Files: | ||
+ | /projects | ||
+ | # | ||
+ | Quota: | ||
+ | Hard Limit: | ||
+ | Usage: 4.0 KiB | ||
+ | File Quota: | ||
+ | File Limit: | ||
+ | Files: 1 | ||
+ | /scratch | ||
+ | ##### | ||
+ | Quota: | ||
+ | Hard Limit: | ||
+ | Usage: 21.3 GiB | ||
+ | File Quota: | ||
+ | File Limit: | ||
+ | Files: | ||
+ | </ | ||
===== df ===== | ===== df ===== | ||
- | The '' | + | The '' |
< | < | ||
$ df -h $HOME | $ df -h $HOME | ||
Line 19: | Line 45: | ||
172.23.15.201:/ | 172.23.15.201:/ | ||
</ | </ | ||
+ | |||
+ | You can use the '' | ||
+ | < | ||
+ | $ df -i $HOME | ||
+ | Filesystem | ||
+ | 172.23.15.201:/ | ||
+ | </ | ||
+ | |||
+ | In these examples '' | ||
===== lfs ===== | ===== lfs ===== | ||
Line 25: | Line 60: | ||
< | < | ||
- | lfs quota -h /scratch | + | lfs quota -hp $( id -g ) /scratch |
</ | </ | ||
+ | Where '' | ||
+ | |||
The output of the command will look as follows: | The output of the command will look as follows: | ||
< | < | ||
- | Disk quotas for user p123456 | + | Disk quotas for prj 10123456 |
- | | + | |
- | / | + | / |
- | Disk quotas for group beheer (gid 500): | + | |
- | | + | |
- | | + | |
</ | </ | ||
There are limits for both the amount of data and for the number of files: the columns used, quota, and limit show the current usage and the soft and hard limits, while the columns files, quota, and limit on the right show the same information for the number of files.\\ | There are limits for both the amount of data and for the number of files: the columns used, quota, and limit show the current usage and the soft and hard limits, while the columns files, quota, and limit on the right show the same information for the number of files.\\ | ||
Line 44: | Line 78: | ||
==== Group quota ==== | ==== Group quota ==== | ||
- | In the example above, information is shown for the private group belonging to your account. You will be the only person in this group. If you collaborate with other users of the cluster you may also share a group with them. The command id can be used to find information about the groups you belong to: | + | In the example above, information is shown for the private group belonging to your account, and its corresponding private directory/ |
< | < | ||
Line 55: | Line 89: | ||
uid=10123456(p123456) gid=10123456(p123456) groups=10123456(p123456), | uid=10123456(p123456) gid=10123456(p123456) groups=10123456(p123456), | ||
</ | </ | ||
- | This will show information about your user id, including the groups you belong to. In this case the groups are p123456 (private), | + | This will show information about your user id, including the groups you belong to. In this case the groups are p123456 (private), |
- | In order to obtain information about the quota for these groups you can supply the option -g to lfs quota. E.g.: | + | In order to obtain information about the quota for these groups you can supply the numerical id for the group to lfs quota. The numerical id is listed before the group name. E.g. for pg-mygroup: |
< | < | ||
- | lfs quota -g pg-mygroup | + | lfs quota -p 55102132 |
</ | </ | ||
\\ | \\ | ||
- | You can combine this with '' | + | You can combine this with '' |