Differences
This shows you the differences between two versions of the page.
— | psi:general_notes [2020/06/10 21:42] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~ODT~~ | ||
+ | ====== Notes for PSI ====== | ||
+ | ===== Show free disk space ===== | ||
+ | df -h / | ||
+ | ===== Rsync the files to HD ===== | ||
+ | synchronisierung auf workstation ganz links | ||
+ | * grosse disk einstecken | ||
+ | * evtl. mit `sudo gparted` formatieren, | ||
+ | * evtl. mit `dmesg` schauen, was lso ist, wenn nix passiert | ||
+ | *`cd ~`, damit im root-verzeichnis\ | ||
+ | * im terminal eingeben: | ||
+ | rsyncdir -t 60000 --no-g --exclude-from=exclude_file.txt / | ||
+ | |||
+ | `-t 60000` | ||
+ | erhoeht die abbruchzeit, | ||
+ | < | ||
+ | `--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, | ||
+ | / | ||
+ | Verzeichnis mit den Messdaten auf File-Server (einfach herauszufinden mit `pwd`) | ||
+ | / | ||
+ | Root-Verzeichnis der Daten auf der HD. Ohne z.B. 2009a, denn rsyncdir macht sonst `/ | ||
+ | |||
+ | am ende disk mit | ||
+ | eject / | ||
+ | unmounten. | ||
+ | |||
+ | ===== backup to archivftp.psi.ch ===== | ||
+ | Start a Terminal and logon to the 6< | ||
+ | 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/ | ||
+ | |||
+ | 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! | ||
+ | |||
+ | * 'ls -d */tif' lists all the subdirectories containing the Projections in the directory you're in and '> backupfile.txt' | ||
+ | * The following commands look for other directories ('ls -d */ | ||
+ | * In the end we're also looking for Projections and Reconstructions in the ' | ||
+ | |||
+ | 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/ | ||
+ | |||
+ | If you want to monitor the progress, it's probably best if you run the command without the -b flag inside a [[https:// | ||
+ | |||
+ | ===== Restore backup from archivftp.psi.ch ===== | ||
+ | Either follow [[http:// | ||
+ | |||
+ | * Connect to slslc05.psi.ch per SSH | ||
+ | * Start gFTP to have a graphical interface to the FTP-server. Start it with issuing " | ||
+ | * login as either e11126@archivftp.psi.ch or e10277@archivftp.psi.ch. The passwords are known by the Beamline-Crew or me. | ||
+ | * Browse to the directory which you want to restore. | ||
+ | * Try to transfer the data. Since archivftp.psi.ch stores everything on tape, you'll probably get an error the first time. Just retry after some minutes, then everything should work like a charm. | ||
+ | |||
+ | ===== DicoClient ===== | ||
+ | Falls jobs manuell submitted wurden und nicht mit dem RecoManager angeschaut werden koennen, dann kann auf x02da-cons-2 | ||
+ | cd / | ||
+ | java -jar DiCoClient.jar | ||
+ | ausgefuehrt werden. Dies started den DicoClient ([[https:// | ||
+ | |||
+ | ===== rename multiple files ===== | ||
+ | either | ||
+ | rename R243b10_ R243b10_mrg R243b10_??? | ||
+ | or use workaround like below if " | ||
+ | rename R243b10_0 R243b10_mrg0 R243b10_0??? | ||
+ | rename R243b10_1 R243b10_mrg1 R243b10_1??? | ||
+ | rename R243b10_2 R243b10_mrg2 R243b10_2??? | ||
+ | rename R243b10_3 R243b10_mrg3 R243b10_3??? | ||
+ | rename R243b10_4 R243b10_mrg4 R243b10_4??? | ||
+ | ... | ||
+ | |||
+ | ===== Camserver restart ===== | ||
+ | rdesktop pc6189 -g 1250x950 -a 16 | ||
+ | oder mit | ||
+ | alias | grep CCD | ||
+ | rausfinden, welcher PC momentan grad zustaendig ist... | ||
+ | ===== Reset Camera ===== | ||
+ | * Start CamWare and take any picture (snap shot or movie) | ||
+ | * Close CamWare | ||
+ | * Start Image-Pro Plus | ||
+ | * Start Camera Server FIFO | ||
+ | ===== Image-Pro Plus ===== | ||
+ | * Camera control -> Exposure, binning, etc. | ||
+ | * Histogram (Histogram of image, directly linked to a particular image) | ||
+ | * Flat: 40'000 - 50'000 counts. | ||
+ | * Arithmetic and logical operations -> divide image by flat -> min. 2000 - 3000 counts in new images. If not -> higher energy!! | ||
+ | * Enhance - Display range: Gives histogram of current image and defines display range. May be use constantly. |