| Both sides previous revision
 Previous revision
 Next revision | Previous revision | 
                        
                | noresm:norstoretape [2014-10-24 15:31:14] ingo.bethke@gmail.com
 | noresm:norstoretape [2022-05-31 09:29:32] (current) 
 | 
        
|  |  | 
| ===== Advanced use ===== | ===== Advanced use ===== | 
|  |  | 
| ==== disk2tape ==== |  | 
|  |  | 
| A collection of high-level tape tools is available in **/projects/NS2345K/tools**. | A collection of high-level tape tools is available in **/projects/NS2345K/tools**. | 
|  |  | 
|  | ==== noresm2tape ==== | 
|  |  | 
|  | noresm2tape copies the output of a NorESM case from NorStore's disk area to NorStore's tape resource. The output folder should be organised in the standard CCSM way (e.g., atmospheric output is expected in 'atm/hist'). If that is not the case, please use the command disk2tape instead. | 
|  |  | 
|  | **IMPORTANT:** It is highly recommended to run the script in background using the nohup command, e.g., | 
|  | "''nohup /projects/NS2345K/tools/noresm2tape <path on disk> <path on tape> &''". Make sure not to forget the "&" at the end of the line. After submitting the script with nohup, it is safe to log out. You will receive a notification email when the transfer to tape is completed. | 
|  |  | 
|  |  | 
|  | Run ''/projects/NS2345K/tools/noresm2tape -h'' to print detailed instructions: | 
| <file> | <file> | 
|  |  | 
| ==== disk2tape ==== | ==== disk2tape ==== | 
|  |  | 
| disk2tape is a script for copying a folder from NorStore's disk area to NorStore's tape resource. In contrast to noresm2tape, the data folder can have any structure and content. | disk2tape copies a folder from NorStore's disk area to NorStore's tape resource. In contrast to noresm2tape, the data folder can have any structure and content. | 
|  |  | 
| **IMPORTANT:** It is highly recommended to run the script in background using the nohup command, e.g., | **IMPORTANT:** It is highly recommended to run the script in background using the nohup command, e.g., | 
| "''nohup /projects/NS2345K/tools/disk2tape <path on disk> <path on tape> &''". Make sure not to forget the "&" at the end of the line. After submitting the script with nohup, it is safe to log out. You will receive a notification email when the transfer to tape is completed. | "''nohup /projects/NS2345K/tools/disk2tape <path on disk> <path on tape> &''". Make sure not to forget the "&" at the end of the line. After submitting the script with nohup, it is safe to log out. You will receive a notification email when the transfer to tape is completed. | 
|  |  | 
|  |  | 
| Run ''/projects/NS2345K/tools/disk2tape -h'' to print detailed instructions: | Run ''/projects/NS2345K/tools/disk2tape -h'' to print detailed instructions: | 
| ==== tape2disk ==== | ==== tape2disk ==== | 
|  |  | 
| tape2disk is a script for retrieving 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 that are stored within tar-files are not inflated. | 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 ''/projects/NS2345K/tools/tape2disk -h'' to print detailed instructions: | Run ''/projects/NS2345K/tools/tape2disk -h'' to print detailed instructions: | 
| ==== listontape ==== | ==== listontape ==== | 
|  |  | 
| listontape is a script list all files that are archived in a tape folder. | listontape lists all files that are archived in a tape folder. | 
|  |  | 
| Run ''/projects/NS2345K/tools/listontape -h'' to print detailed instructions: | Run ''/projects/NS2345K/tools/listontape -h'' to print detailed instructions: |