Ignore:
Timestamp:
01/21/09 08:32:38 (16 years ago)
Author:
snruegam
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.