Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
habrok:data_management:quota [2023/03/22 11:50] – [lfs] fokkehabrok: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 ''hbquota'' tool can be used on Hábrók to display your quota overview for the different file systems:
  
 +<code>
 +Quotas for: p123456
 +/home1
 +###############====================================    27% 
 +  Quota: 50.0 GiB
 +  Hard Limit: 50.0 GiB
 +  Usage: 13.7 GiB
 +  File Quota: 1000000
 +  File Limit: 1000000
 +  Files: 371741
 +/projects
 +#===================================================    0% 
 +  Quota: 250.0 GiB
 +  Hard Limit: 275.0 GiB
 +  Usage: 4.0 KiB
 +  File Quota: 512000
 +  File Limit: 537600
 +  Files: 1
 +/scratch
 +#####===============================================    8% 
 +  Quota: 250.0 GiB
 +  Hard Limit: 275.0 GiB
 +  Usage: 21.3 GiB
 +  File Quota: 512000
 +  File Limit: 537600
 +  Files: 11135
 +</code>
 ===== df ===== ===== df =====
  
Line 26: Line 52:
 172.23.15.201:/nfs/home 1000000 158540 841460   16% /home1 172.23.15.201:/nfs/home 1000000 158540 841460   16% /home1
 </code> </code>
 +
 +In these examples ''df'' will show the space available in the given location, where ''$HOME'' is your home directory. You can replace this path by another directory on the home directory storage, if you need information about that directory.
  
 ===== lfs ===== ===== lfs =====
Line 50: 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/folder. 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:
  
 <code> <code>
Line 61: Line 89:
 uid=10123456(p123456) gid=10123456(p123456) groups=10123456(p123456),55102132(pg-mygroup),55103524(pg-othergroup) uid=10123456(p123456) gid=10123456(p123456) groups=10123456(p123456),55102132(pg-mygroup),55103524(pg-othergroup)
 </code> </code>
-This will show information about your user id, including the groups you belong to. In this case the groups are p123456 (private), pg-mygroup and pg-othergroup.\\ +This will show information about your user id, including the groups you belong to. In this case the groups are p123456 (private), hb-mygroup and hb-othergroup.\\ 
-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:
  
 <code> <code>
-lfs quota -g pg-mygroup /scratch+lfs quota -p 55102132 /scratch
 </code> </code>
 \\ \\
-You can combine this with ''-h'' using the combined option ''-hg''.+You can combine this with ''-h'' using the combined option ''-hp''.