Changeset 9233 for trunk/MagicSoft/Mars/datacenter
- Timestamp:
- 01/21/09 08:32:38 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/read_lapalma-tapes
r9169 r9233 180 180 date >> $logfile 2>&1 181 181 echo "Moving tape $tape to the export slots." >> $logfile 2>&1 182 #determine slot again, the tape might have been moved manually to another slot 183 tapeslot=`samcmd v 100 | grep "$tape " | cut -c-4 | sed -e 's/ //g'` 182 184 samcmd export 100:$tapeslot 183 185 else … … 191 193 echo "Tried 10 times to launch movingrawfiles without avail. Finishing now." >> $logfile 2>&1 192 194 echo "Moving tape $tape to the export slots." >> $logfile 2>&1 195 #determine slot again, the tape might have been moved manually to another slot 196 tapeslot=`samcmd v 100 | grep "$tape " | cut -c-4 | sed -e 's/ //g'` 193 197 samcmd export 100:$tapeslot 194 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>&1
Note:
See TracChangeset
for help on using the changeset viewer.