Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs.it4i.cz
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Ciz
docs.it4i.cz
Commits
e609ea11
Commit
e609ea11
authored
7 years ago
by
Branislav Jansik
Browse files
Options
Downloads
Patches
Plain Diff
Include it4i-disk-usage
parent
a2702420
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs.it4i/salomon/storage.md
+41
-30
41 additions, 30 deletions
docs.it4i/salomon/storage.md
with
41 additions
and
30 deletions
docs.it4i/salomon/storage.md
+
41
−
30
View file @
e609ea11
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment