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:25: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 **/ |
| - | ==== disk2tape | + | ==== noresm2tape |
| + | |||
| + | noresm2tape copies the output of a NorESM case from NorStore' | ||
| + | |||
| + | **IMPORTANT: | ||
| + | "'' | ||
| - | disk2tape is a script for copying a folder from NorStore' | ||
| - | Run '' | + | Run '' |
| < | < | ||
| + | Usage: noresm2tape <path on disk> <path on tape> <chunk size> < | ||
| + | |||
| + | Example: noresm2tape / | ||
| + | |||
| + | Purpose: Copies NorESM case output from disk to tape. | ||
| - | Usage: | + | Description: |
| + | |||
| + | < | ||
| + | | ||
| + | |||
| + | < | ||
| + | or ' | ||
| + | |||
| + | The output folder <path on tape> will be created - with parent | ||
| + | | ||
| + | | ||
| + | |||
| + | The input data is staged in form of tar-chuncks in | ||
| + | / | ||
| + | | ||
| + | |||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== disk2tape ==== | ||
| + | |||
| + | disk2tape copies a folder from NorStore' | ||
| + | |||
| + | **IMPORTANT: | ||
| + | "'' | ||
| + | |||
| + | Run ''/ | ||
| + | < | ||
| + | Usage: | ||
| - | Example: | + | Example: |
| Purpose: Copies a folder from disk to tape. | Purpose: Copies a folder from disk to tape. | ||
| Line 25: | Line 64: | ||
| Description: | Description: | ||
| | | ||
| - | The output folder | + | < |
| - | directories if necessary - and must not exist before running this | + | necessary - and must not exist before running this script. |
| - | script. | + | |
| + | 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 input data is staged in form of tar-chuncks in | ||
| - | / | + | / |
| - | after success transfer to tape. | + | scratch |
| 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 39: | 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. | ||
| + | |||
| + | </ | ||