=============================================================================== = MAKE SURE WHERE YOU ARE ON THE TAPE BEFORE YOU BACKUP! ================================================================================ 1. To check the machine status: > mt -f /dev/nrtape stat 2. To rewind the tape to the begining: > mt -f /dev/nrtape rew *3. To go to the end the data: > mt -f /dev/nrtape feom repeat 1: mt -f /dev/nrtape stat Controller: SCSI Device: EXABYTE: EXB-850085QANXRC06X0 Status: 0x24260 Drive type: 8mm(8500) cartridge Media : READY, writable, at EOD, block 564941 4. To copy data from scratch to tape: > cd /scratch/liu/akyel3-fmri-a/ > gtar cvf /dev/nrtape ./* or > gtar cvf /dev/nrtape /scratch/liu/*) 2>&1 logfile & ----------------------------------------------- 5. To list data on the tape: > gtar tvf /dev/nrtape ---------------------------------------------- 6. To get the data from the tape to scratch: a. cd /scratch/liu/ b. check the machine status: mt -f /dev/nrtape stat c. foward the tape to the right place: mt -f /dev/nrtape fsf 1 (or n-1) d. check the machine status again e. gtar xvf /dev/nrtape or: gtar xvf /dev/nrtape martel3-fmri-o/* ------------------------------------------------------------- 7. To foward the tape: mt -f /dev/nrtape fsf 1 (or 2 ... blocks) 8. To backward the tape: mt -f /dev/nrtape bsf 1 (or 2 ... blocks) (BE CAREFUL WHEN YOU USE /dev/tape, it always rewind the tape to the begining after each command.)