CESNET Data Storage¶
IT4Innovations' shared file systems are not intended as a backup for large amount of data or for long-term archiving purposes. Academic staff and students of research institutions in the Czech Republic should use CESNET Storage service.
CESNET data storage can be used by any organization or an individual person who is in the current employment relationship (employees) or the current study relationship (students) to a legal entity (organization) that meets the “Principles for access to CESNET Large infrastructure (Access Policy)”.
The user may only use the CESNET data storage for data transfer and storage associated with activities in science, research, development, spread of education, culture, and prosperity. For details, see “Acceptable Use Policy CESNET Large Infrastructure (Acceptable Use Policy, AUP)”.
The procedure to obtain the CESNET access is quick and simple.
CESNET Storage Access¶
Understanding CESNET Storage¶
It is very important to understand the CESNET storage before uploading data. Read first.
Once registered for CESNET Storage, you may access the storage in number of ways. We recommend the SSHFS and RSYNC methods.
SSHFS: The storage will be mounted like a local hard drive
The SSHFS provides a very convenient way to access the CESNET Storage. The storage will be mounted onto a local directory, exposing the vast CESNET Storage as if it was a local removable hard drive. Files can be than copied in and out in a usual fashion.
First, create the mount point:
$ mkdir cesnet
Mount the storage. Note that you can choose among ssh.du4.cesnet.cz (Ostrava) and ssh.du5.cesnet.cz (Jihlava). Mount tier1_home (only 5120M !):
$ sshfs email@example.com:. cesnet/
For easy future access, install your public key:
$ cp .ssh/id_rsa.pub cesnet/.ssh/authorized_keys
Mount tier1_cache_tape for the Storage VO:
$ sshfs firstname.lastname@example.org:/cache_tape/VO_storage/home/username cesnet/
View the archive, copy the files and directories in and out:
$ ls cesnet/ $ cp -a mydir cesnet/. $ cp cesnet/myfile .
Once done, remember to unmount the storage:
$ fusermount -u cesnet
Rsync provides delta transfer for best performance and can resume interrupted transfers.
Rsync is a fast and extraordinarily versatile file copying tool. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination. Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.
Rsync finds files that need to be transferred using a "quick check" algorithm (by default) that looks for files that have changed in size or in last-modified time. Any changes in the other preserved attributes (as requested by options) are made on the destination file directly when the quick check indicates that the file's data does not need to be updated.
More about Rsync here.
Transfer large files to/from CESNET storage, assuming membership in the Storage VO:
$ rsync --progress datafile email@example.com:VO_storage-cache_tape/. $ rsync --progress firstname.lastname@example.org:VO_storage-cache_tape/datafile .
Transfer large directories to/from CESNET storage, assuming membership in the Storage VO:
$ rsync --progress -av datafolder email@example.com:VO_storage-cache_tape/. $ rsync --progress -av firstname.lastname@example.org:VO_storage-cache_tape/datafolder .
Transfer rates of about 28MB/s can be expected.