- Timestamp:
- 12/16/09 07:45:41 (15 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9528 r9529 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2009/12/16 Stefan Ruegamer 22 23 * datacenter/scripts/read_lapalma-tapes 24 - important output is now also written to shell 25 26 20 27 21 28 2009/12/11 -
trunk/MagicSoft/Mars/datacenter/scripts/read_lapalma-tapes
r9233 r9529 69 69 fi 70 70 71 echo "Thank you. Your query is being processed. This will take some hours. Check the logfile $logfile for further information."72 73 71 # check if the tape is existing and which drives are free (---------p == present) 74 72 tapeslot=`samcmd v 100 | grep "$tape " | cut -c-4 | sed -e 's/ //g'` … … 95 93 drive=`echo $drive | cut -c1-3` 96 94 fi 95 96 echo "Thank you. Your query is being processed. This will take some hours. Check the logfile $logfile for further information." 97 97 98 98 # check the available space on /magic and on /data; use preferably /data … … 152 152 if [ "$md5" = "" ] 153 153 then 154 echo "md5sum check failed! Please check what happened (see /home/lapalma/tapecont/cont/muxdata/checksums/tape_${tape}L*.md5.*). Exiting now." >>$logfile 2>&1154 echo "md5sum check failed! Please check what happened (see /home/lapalma/tapecont/cont/muxdata/checksums/tape_${tape}L*.md5.*). Exiting now." | tee -a $logfile 2>&1 155 155 exit 156 156 else … … 196 196 tapeslot=`samcmd v 100 | grep "$tape " | cut -c-4 | sed -e 's/ //g'` 197 197 samcmd export 100:$tapeslot 198 echo -e "\nTape $tape read but the files have NOT been moved. You will have to do it manually. The tape has been exported. Have a nice day." >>$logfile 2>&1198 echo -e "\nTape $tape read but the files have NOT been moved. You will have to do it manually. The tape has been exported. Have a nice day." | tee -a $logfile 2>&1 199 199 date >> $logfile 2>&1 200 200 exit … … 203 203 fi 204 204 205 echo -e "\nTape $tape read and files successfully moved. The tape has been exported. Have a nice day." >>$logfile 2>&1206 date >> $logfile 2>&1 205 echo -e "\nTape $tape read and files successfully moved. The tape has been exported. Have a nice day." | tee -a $logfile 2>&1 206 date >> $logfile 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.