df -h /media/disk/
synchronisierung auf workstation ganz links
rsyncdir -t 60000 --no-g --exclude-from=exclude_file.txt /sls/X02DA/data/e11126/Data10/BeamTime /media/MedionHDDrive2GO/
`-t 60000`
erhoeht die abbruchzeit, damit synchronisation nicht gestoppt wird, falls mal laenger keine daten auf Data10 geschrieben werden. <note>–no-g konserviert die Gruppenzugehoerigkeit, und ist seit Beamtime 2010e evtl. noetig</note>
`--exclude-from=exclude_file.txt`
filelist, die die zu exkludierenden files enthaelt. in unserem fall meist
sin viewrec tif tif_ang cpr fcr rec_DMP
falls die rohdaten erwuenscht sind, dann `tif` aus dem exclude_file entfernen. `tif_ang` sind die resortierten 360grad-projektionen, die chris' skript mit hardlinks generiert. 'cpr' und 'fcr' kommen von der holotomography mir rajmund, rec_DMP entstehen, wenn mann falsche parameter bei der rekonstruktion eingibt.
/sls/X02DA/data/e11126/Data10/2009a
Verzeichnis mit den Messdaten auf File-Server (einfach herauszufinden mit `pwd`)
/media/disk/
Root-Verzeichnis der Daten auf der HD. Ohne z.B. 2009a, denn rsyncdir macht sonst `/media/disk/2009a/2009a/blabla`
am ende disk mit
eject /media/FestPlattenName
unmounten.
Start a Terminal and logon to the 6th node of the Cluster:
ssh e11126@x02da-cn-6
Change to the directory you need to send to the Backupserver with (for example)
cd Data3/2010a
or for example
cd Data10/2009f
Then you can generate a Textfile containing a List with Files to backup using the commands:
ls -d */tif > backupfile.txt ls -d */rec* >> backupfile.txt ls -d mrg/*/rec* >> backupfile.txt ls -d mrg/*/tif* >> backupfile.txt #only if you want to backup the merged tiffs!
To actually start the backup, you need to issue the following command (in the directory where you generated the backupfile):
bl-ftp2arch.sh -u e11126 -e david.haberthuer@psi.ch -b -P -f backupfile.txt
This starts the archiver-script for the Schittny-eAccount (-u), notifies David about success/failure (-e, email goes only to @psi-Addresses), performs the archival in the background (-b), asks for the archivFTP-Password (-P) and uses backupfile.txt as list of files to backup (-f).
If you want to monitor the progress, it's probably best if you run the command without the -b flag inside a screen-session, so you can hangup the terminal and come back.
Either follow these steps on the TOMCAT-website or:
Falls jobs manuell submitted wurden und nicht mit dem RecoManager angeschaut werden koennen, dann kann auf x02da-cons-2
cd /usr/local/cluster/DiCoClient/ java -jar DiCoClient.jar
ausgefuehrt werden. Dies started den DicoClient (Distibuted Computing Client). Mit “lj ex a” sieht mensch alle momentan ausgefuehrten, der Rest wird mit “h” erklaert.
either
rename R243b10_ R243b10_mrg R243b10_???.tif
or use workaround like below if “rename” does not work with more than 1000 files (seems to be the case over ssh/x-server…)
rename R243b10_0 R243b10_mrg0 R243b10_0???.tif rename R243b10_1 R243b10_mrg1 R243b10_1???.tif rename R243b10_2 R243b10_mrg2 R243b10_2???.tif rename R243b10_3 R243b10_mrg3 R243b10_3???.tif rename R243b10_4 R243b10_mrg4 R243b10_4???.tif ...
rdesktop pc6189 -g 1250x950 -a 16
oder mit
alias | grep CCD
rausfinden, welcher PC momentan grad zustaendig ist…