Project

General

Profile

Directory experiment a reactor restart

Directory creation

Goal
  • Transfert to serdon MUST be stopped
  • move last cycle
  • create skeleton for internal use
  • Create the appropriate links

more /usr/local/bin/transfert_data (the # comment all the lines)

cd /users

mv /users/experiment /users/experiment141 (number of the las cycle in the exemple 141 )

mkdir /users/experiment/
mkdir /users/experiment/internalUse
mkdir /users/experiment/internalUse/rawdata
mkdir /users/experiment/internalUse/histo
mkdir /users/experiment/internalUse/logfiles

echo "InternalUse is created"
cd /users
rm data $HOME//histo $HOME//log
ln -s ./experiment/internalUse/rawdata /users/data
ln -s ../experiment/internalUse/histo $HOME//histo
ln -s ../experiment/internalUse/logfiles $HOME//log

echo "link are intialized "

ls -la /users
ls -la $HOME

Compress last cycle

cp /net/d20/users/d20/nomad/SendData/tools/compress_old_experiment.py $HOME/bin

To use
compress_old_experiment.py 141 will compress all sub-derectories of /users/experiment141