...
Connect to Atos HPCF or ECS main login node. What is your default filesystem? Can you try 4 different ways to accessing that space?
Expand title Answer The default directory is your HOME directory, which is /home/$USER. It is a dedicated personal space for you, and you can always come back to that with either of the following commands:
No Format cd cd ~ cd $HOME cd /home/$USER
Your HOME directory is accessible across all Atos HPCF, ECS, VDI and EcFlow services.
There are 3 more main storage spaces. Create an empty file called
del.me
on each one of them. Then, check that they have been created withls
, and then remove them withrm
.Expand title Answer Besides HOME, you also have also access to PERM, HPCPERM and SCRATCH. Like HOME, they are all dedicated personal spaces with their corresponding environment variable. Using those environment variables over hardcoded paths is strongly recommended.
You can use touch to create the test files:
No Format touch $PERM/del.me touch $HPCPERM/del.me touch $SCRATCH/del.me
Check they exist with:
No Format ls -l $PERM/del.me ls -l $HPCPERM/del.me ls -l $SCRATCH/del.me
Remove them with:
No Format rm $PERM/del.me rm $HPCPERM/del.me rm $SCRATCH/del.me
How much space have you used in each of your main 4 filesystems? How much can you store?
Expand title Answer All the filesystems have quotas enforced. You can check them with the quota command
No Format quota
For
HOME
andPERM
, the snippet should look similar to:No Format Quota for $HOME: home_b user 1234 <space used> <space limit> <number of files stored> - * Quota for $PERM POSIX User 1234 <space used> <space limit> <number of files stored> none
For
SCRATCH
andHPCPERM
the format is slightly different:No Format Project quota for $SCRATCH and $SCRATCHDIR: Disk quotas for prj 1000001798 (pid 1000001798): Filesystem used quota limit grace files quota limit grace /ec/res4 XXX YYY YYY - ZZZ WWW WWW - Project quota for $HPCPERM: Disk quotas for prj 2000001798 (pid 2000001798): Filesystem used quota limit grace files quota limit grace /ec/res4 XXX YYY YYY - ZZZ WWW WWW -
If you are on the VDI, open a new terminal there. Can you access your
HOME
,PERM,
SCRATCH
andHPCPERM
?Expand title Answer HOME and PERM
are NFS-based Filesystems, which are mounted on all user computing platforms at ECMWF. You may access them with$HOME
and$PERM
environment variables:No Format ls $HOME ls $PERM
However,
SCRATCH
andHPCPERM
are Lustre Based filesystem only available on the Atos HPCF, so they are not available on other computing platforms such as VDI or ecFlow VMs and the corresponding environment variables are therefore not defined.EXTRA: For long term archival purposes, most users may also use ECFS. Files will be stored in ECMWF's Data Handling System on Tape. Create a small text file and copy it to your ECFS space, then ensure it is there, retrieve it and remove it.
Note title Cooperating State access to ECFS Users from Cooperating States do not have full access to the ECFS service, but only to a temporary storage domain on tape for 90 days. They should therefore not use ECFS for longer term archival.
Expand title Solution For users with full access to the ECFS service, you can use the
ec:
permanent domain where files are stored indefinitely:No Format echo "hello world" > test_file.txt ecp test_file.txt ec: els -l ec:test_file.txt ecp ec:test_file.txt retrieved_test_file.txt diff test_file.txt retrieved_test_file.txt erm ec:test_file.txt
Cooperating State users can only use the
ectmp:
temporary domain where files are stored for 90 days, after which they are automatically deleted. For completeness, here is the same exercise usingectmp:
No Format echo "hello world" > test_file.txt ecp test_file.txt ectmp: els -l ectmp:test_file.txt ecp ectmp:test_file.txt retrieved_test_file.txt diff test_file.txt retrieved_test_file.txt erm ectmp:test_file.txt
Temporary spaces
...
Store the source code, scripts and configuration of your programs and workflows
Expand title Answer HOME
would be the preferred choice. They are typically small but important files, so convenience of backups, snapshots and availability on all computing platforms is more important than parallel performance.Store Climate Files to be used by your model runs on Atos HPCF.
Expand title Answer HPCPERM
is the right choice for big files that are going to be used concurrently by parallel applications such as NWP models.Working directory for your jobs.
Expand title Answer SCRATCH
is the go to place for your daily work. Plenty of space, good parallel performance for output data that is transient by nature. Remember to move the data you want to keep after your job somewhere else, since files not used for 30 days will be automatically deleted.Store data that that you use frequently, which is considerable in size.
Expand title Answer PERM
if accessibility from other computing platforms or the need of snapshots is important. You can seePERM
as an extension to yourHOME
space.HPCPERM
, if I/O performance is more important than, especially if they are going to be used in parallel jobs on Atos HPCF.Store data for longer term which is considerable in size, such as experiment results. You are not going to use it often.
Expand title Answer ECFS would be the right place for longer term archival or storing backups. This is by far the place where you can store However, data on tapes needs to be retrieved to another disk space before it can be used, so it is costly in terms of time.
In order to use ECFS efficiently, remember to store fewer but bigger files, so it is a good idea to use tools like tar or zip to bundle together big directories with lots of files.
Temporary files that you don't need beyond the end of the session or job
Expand title Answer $TMPDIR if performance is important and size is small, since TMPDIR is either in memory (for parallel jobs on HPCF), or on SSD disk.
$SCRATCHDIR if size of the files is big and does not fit TMPDIR.
Recovering Deleted files
Info | ||
---|---|---|
| ||
Imagine you have accidentally deleted ~/.profile
in your HOME directory. Can you get back the latest version?
Expand | ||
---|---|---|
| ||
You can use the snapshots . You can list all the versions available with:
To recover, you would just need to copy the file back into place. For longer time spans, use the utility |
Include Page | ||||
---|---|---|---|---|
|
Imagine you have accidentally deleted a file in your PERM directory. Can you get back the latest version?
Expand | ||
---|---|---|
| ||
You can use the snapshots . You can list all the versions available with:
Note that the snapshots are less frequent in |
Imagine you have accidentally deleted a file in your SCRATCH
or HPCPERM
directories. Can you get back the latest version?
...
title | Solution |
---|
...