Skip to content
Snippets Groups Projects
Commit e609ea11 authored by Branislav Jansik's avatar Branislav Jansik
Browse files

Include it4i-disk-usage

parent a2702420
No related branches found
No related tags found
No related merge requests found
...@@ -9,9 +9,9 @@ All login and compute nodes may access same data on shared file systems. Compute ...@@ -9,9 +9,9 @@ All login and compute nodes may access same data on shared file systems. Compute
## Policy (In a Nutshell) ## Policy (In a Nutshell)
!!! note !!! note
\* Use [HOME](#home) for your most valuable data and programs. \* Use [HOME](#home) for your most valuable data and programs.
\* Use [WORK](#work) for your large project files. \* Use [WORK](#work) for your large project files.
\* Use [TEMP](#temp) for large scratch data. \* Use [TEMP](#temp) for large scratch data.
!!! warning !!! warning
Do not use for [archiving](#archiving)! Do not use for [archiving](#archiving)!
...@@ -110,41 +110,52 @@ Read more on <http://wiki.lustre.org/manual/LustreManual20_HTML/ManagingStriping ...@@ -110,41 +110,52 @@ Read more on <http://wiki.lustre.org/manual/LustreManual20_HTML/ManagingStriping
## Disk Usage and Quota Commands ## Disk Usage and Quota Commands
User quotas on the Lustre file systems (SCRATCH) can be checked and reviewed using following command: Disk usage and user quotas can be checked and reviewed using following command:
```console ```console
$ lfs quota dir $ it4i-disk-usage
``` ```
Example for Lustre SCRATCH directory: Example:
```console
$ lfs quota /scratch
Disk quotas for user user001 (uid 1234):
Filesystem kbytes quota limit grace files quota limit grace
/scratch 8 0 100000000000 * 3 0 0 -
Disk quotas for group user001 (gid 1234):
Filesystem kbytes quota limit grace files quota limit grace
/scratch 8 0 0 * 3 0 0 -
```
In this example, we view current quota size limit of 100TB and 8KB currently used by user001.
HOME directory is mounted via NFS, so a different command must be used to obtain quota information:
```console ```console
$ quota $ it4i-disk-usage -h
# Using human-readable format
# Using power of 1024 for space
# Using power of 1000 for entries
Filesystem: /home
Space used: 110G
Space limit: 238G
Entries: 40k
Entries limit: 500k
# based on filesystem quota
Filesystem: /scratch
Space used: 377G
Space limit: 93T
Entries: 14k
Entries limit: 0
# based on Lustre quota
Filesystem: /scratch
Space used: 377G
Entries: 14k
# based on Robinhood
Filesystem: /scratch/work
Space used: 377G
Entries: 14k
# based on Robinhood
Filesystem: /scratch/temp
Space used: 12K
Entries: 6
# based on Robinhood
``` ```
Example output: In this example, we view current size limits and space occupied on the /home and /scratch filesystem, for a particular user executing the command.
Note that limits are imposed also on number of objects (files, directories, links, etc...) that are allowed to create.
```console
$ quota
Disk quotas for user vop999 (uid 1025):
Filesystem blocks quota limit grace files quota limit grace
home-nfs-ib.salomon.it4i.cz:/home
28 0 250000000 10 0 500000
```
To have a better understanding of where the space is exactly used, you can use following command to find out. To have a better understanding of where the space is exactly used, you can use following command to find out.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment