Changeset 9233 for trunk/MagicSoft


Ignore:
Timestamp:
01/21/09 08:32:38 (16 years ago)
Author:
snruegam
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9231 r9233  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2009/01/21 Stefan Ruegamer
     22
     23   * datacenter/scripts/read_lapalma-tapes:
     24     - added check of the tape slot when exporting the tapes
     25
     26
    2027
    2128 2009/01/20 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/scripts/read_lapalma-tapes

    r9169 r9233  
    180180   date >> $logfile 2>&1
    181181   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'`
    182184   samcmd export 100:$tapeslot
    183185else
     
    191193         echo "Tried 10 times to launch movingrawfiles without avail. Finishing now." >> $logfile 2>&1
    192194         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'`
    193197         samcmd export 100:$tapeslot
    194198         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.