Changeset 18871
- Timestamp:
- 05/21/17 10:33:52 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/RsyncAuxLP.sh
r18854 r18871 16 16 echo `date`": /data is not mounted on daq => please mount it" 17 17 finish 18 fi 19 20 rsynctempdir1=/scratch/rsync_tmp 21 if ! [ -d $rsynctempdir1 ] 22 then 23 mkdir $rsynctempdir1 24 fi 25 rsynctempdir2=/scratch/rsync_tmp 26 if ! [ -d $rsynctempdir2 ] 27 then 28 mkdir $rsynctempdir2 29 fi 30 rsynctempdir3=/scratch/rsync_tmp 31 if ! [ -d $rsynctempdir3 ] 32 then 33 mkdir $rsynctempdir3 18 34 fi 19 35 … … 71 87 fi 72 88 # rsync from newdaq to newdata 73 if ! /usr/bin/rsync -avu -T $rsynctempdir $bwlimit newdaq:$dir/ $scratch >> $logfile 2>&189 if ! /usr/bin/rsync -avu -T $rsynctempdir1 $bwlimit newdaq:$dir/ $scratch >> $logfile 2>&1 74 90 then 75 91 printprocesslog "CONNECTION problem rsyncing auxiliary files in "$dir" from newdaq to newdata" … … 89 105 fi 90 106 # distribute to several disk on newdata 91 if ! /usr/bin/rsync -avu -T $rsynctempdir $bwlimit $scratch/ $data1 >> $logfile 2>&1107 if ! /usr/bin/rsync -avu -T $rsynctempdir2 $bwlimit $scratch/ $data1 >> $logfile 2>&1 92 108 then 93 109 printprocesslog "WARN problem rsyncing auxiliary files in "$dir" from scratch to data1" 94 110 echo `date`": problem rsyncing auxiliary files in "$dir" from scratch to data1" >> $logfile 2>&1 95 111 fi 96 if ! /usr/bin/rsync -avu -T $rsynctempdir $bwlimit $scratch/ $data2 >> $logfile 2>&1112 if ! /usr/bin/rsync -avu -T $rsynctempdir2 $bwlimit $scratch/ $data2 >> $logfile 2>&1 97 113 then 98 114 printprocesslog "WARN problem rsyncing auxiliary files in "$dir" from scratch to data2"
Note:
See TracChangeset
for help on using the changeset viewer.