Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HCC docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Holland Computing Center
HCC docs
Commits
3373221e
Commit
3373221e
authored
6 years ago
by
Josh Samuelson
Browse files
Options
Downloads
Patches
Plain Diff
Add a blurb about /common's compression capability and reported space.
parent
7fbc7874
No related branches found
No related tags found
1 merge request
!92
Add a blurb about /common's compression capability and reported space.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/guides/handling_data/using_the_common_file_system.md
+19
-0
19 additions, 0 deletions
content/guides/handling_data/using_the_common_file_system.md
with
19 additions
and
0 deletions
content/guides/handling_data/using_the_common_file_system.md
+
19
−
0
View file @
3373221e
...
...
@@ -65,4 +65,23 @@ to quickly do maintenance on a single cluster without having to unmount
for each cluster.
-
If you use
`module`
things should be just fine!
---
### /common and used space reporting ###
The /common file system has the capability to compress files so they store
less data on the underlying disk storage. Tools like
`du`
will report the
true amount of space consumed by files by default. If the files have been
compressed before being stored to disk, the report will appear smaller
than what may be expected. Passing the
`--apparent-size`
argument to
`du`
will cause the report to be the uncompressed size of consumed space.
{{
<
highlight
bash
>
}}
$ pwd
/common/demo/demo01
$ python -c 'print "Hello World!
\n
"
* 2*
*
20,' > hello_world.txt
$ ls -lh hello_world.txt
-rw-r--r-- 1 demo01 demo 13M Mar 7 12:55 hello_world.txt
$ du -sh hello_world.txt
2.
0K hello_world.txt
$ du -sh --apparent-size hello_world.txt
13M hello_world.txt
{{
<
/
highlight
>
}}
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