Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
noresm:norstoretape [2014-04-25 08:38:44] ingo.bethke@gmail.com |
noresm:norstoretape [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Advanced use ===== | ===== Advanced use ===== | ||
- | A collection of high-level tape tools, available in / | + | A collection of high-level tape tools is available in **/ |
- | ==== disk2tape | + | ==== noresm2tape |
- | disk2tape is a script for copying a folder | + | noresm2tape copies the output of a NorESM case from NorStore' |
- | Run '' | + | **IMPORTANT: |
+ | "'' | ||
+ | |||
+ | |||
+ | Run '' | ||
< | < | ||
- | Usage: | + | Usage: |
- | Example: | + | Example: |
- | Purpose: Copies | + | Purpose: Copies |
- | Description: | + | Description: |
- | + | ||
+ | < | ||
+ | | ||
+ | |||
+ | < | ||
+ | or ' | ||
+ | |||
The output folder <path on tape> will be created - with parent | The output folder <path on tape> will be created - with parent | ||
| | ||
Line 29: | Line 39: | ||
The input data is staged in form of tar-chuncks in | The input data is staged in form of tar-chuncks in | ||
- | / | + | / |
- | after success transfer to tape. | + | scratch |
+ | |||
+ | Checksums for all input files are computed and stored in a separate | ||
+ | | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== disk2tape ==== | ||
+ | |||
+ | disk2tape copies a folder from NorStore' | ||
+ | |||
+ | **IMPORTANT: | ||
+ | "'' | ||
+ | |||
+ | Run ''/ | ||
+ | < | ||
+ | Usage: disk2tape <path on disk> <path on tape> [none|gzip|bzip2] [replicate] | ||
+ | |||
+ | Example: disk2tape / | ||
+ | |||
+ | Purpose: Copies a folder from disk to tape. | ||
+ | |||
+ | Description: | ||
+ | |||
+ | < | ||
+ | | ||
+ | |||
+ | gzip or bzip2 compression will be performed if the third argument is | ||
+ | set to " | ||
+ | |||
+ | If the forth argument is set to " | ||
+ | the data will be stored on another physical tape medium. | ||
+ | The path of the additional copy differs from the path of the first | ||
+ | copy by that /tape is replaced with /replica. | ||
+ | |||
+ | The input data is staged in form of tar-chuncks in | ||
+ | / | ||
+ | | ||
The size of a single tar-chunk is about 15Gb if no compression is | The size of a single tar-chunk is about 15Gb if no compression is | ||
Line 38: | Line 85: | ||
| | ||
| | ||
- | |||
- | Change history: 2014.04.23 removed top level directory from tar tree | ||
- | 2014.04.22 fixed bug in scratch cleaning | ||
- | 2014.04.16 first version of disk2tape | ||
</ | </ | ||
==== tape2disk ==== | ==== tape2disk ==== | ||
- | tape2disk | + | tape2disk |
- | Run '' | + | Run '' |
< | < | ||
- | Usage: tape2disk <path on tape> <path on disk> | + | Usage: |
- | Example: tape2disk / | + | Example: |
- | Purpose: Retrieves a folder from tape and unpacks tar-archieves. | + | Purpose: Retrieves a folder from tape and unpacks |
Description: | Description: | ||
- | |||
- | Change history: 2014.04.25 first version of tape2disk | ||
</ | </ | ||
Line 65: | Line 106: | ||
==== listontape ==== | ==== listontape ==== | ||
- | listontape | + | listontape |
- | Run '' | + | Run '' |
< | < | ||
- | Usage: listontape <path to data-directory on tape> | + | Usage: |
or | or | ||
- | | + | / |
- | Example: listontape / | + | Example: |
or | or | ||
- | | + | / |
| | ||
Purpose: Lists the names of files that are archived in a given directory on tape. | Purpose: Lists the names of files that are archived in a given directory on tape. | ||
Line 86: | Line 127: | ||
as input argument. However, if two or more checksum file exist then | as input argument. However, if two or more checksum file exist then | ||
the absolute path to the checksum file has to be provided. | the absolute path to the checksum file has to be provided. | ||
- | |||
- | Change history: 2014.04.22 first version of listontape | ||
</ | </ |