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-24 12:13:42] ingo.bethke@gmail.com |
noresm:norstoretape [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Basic use ===== | ===== Basic use ===== | ||
- | Instructions for basic use of the tape resources are found on NorStore' | + | Instructions for basic use of the tape resources are found on NorStore' |
===== Advanced use ===== | ===== Advanced use ===== | ||
- | A collection of high-level tape tools, available in / | + | A collection of high-level tape tools is available in **/ |
- | ==== CopyToTape | + | ==== noresm2tape |
- | CopyToTape 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 28: | 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 37: | Line 85: | ||
| | ||
| | ||
+ | </ | ||
+ | |||
+ | ==== tape2disk ==== | ||
+ | |||
+ | tape2disk copies a folder that had been put on tape with either noresm2tape or disk2tape. All tar-archieves found in the top-level folder are unpacked while tar-files stored within tar-files are not inflated. | ||
+ | |||
+ | Run ''/ | ||
+ | < | ||
+ | |||
+ | Usage: / | ||
+ | |||
+ | Example: / | ||
+ | |||
+ | Purpose: Retrieves a folder from tape and unpacks all tar-archieves contained in it. | ||
+ | |||
+ | Description: | ||
- | Change history: 2014.04.16 first version of CopyToTape | ||
</ | </ | ||
+ | ==== listontape ==== | ||
+ | |||
+ | listontape lists all files that are archived in a tape folder. | ||
+ | |||
+ | Run ''/ | ||
+ | < | ||
+ | |||
+ | Usage: / | ||
+ | or | ||
+ | / | ||
+ | |||
+ | Example: / | ||
+ | or | ||
+ | / | ||
+ | | ||
+ | Purpose: Lists the names of files that are archived in a given directory on tape. | ||
+ | |||
+ | Description: | ||
+ | | ||
+ | |||
+ | If exactly one checksum file exists then directory path is sufficient | ||
+ | as input argument. However, if two or more checksum file exist then | ||
+ | the absolute path to the checksum file has to be provided. | ||
+ | |||
+ | </ |