Data transfer

at the ASTE site

  1. login to aste-1x as asteobs
  2. connecting USB portable HDD to aste-1x
    • HDD is mounted automatically, and the icon named 'ASTEBU_??' appears on the Desktop
  3. checking the data set to transfer
    • directories named by date in /home/trans
      aste-1x{asteobs}58: ls /home/trans
      20091207/ 20091208/ bin/
      
  4. making directory in the USB HDD if it does not exist
    aste-1x{asteobs}59: mkdir /mnt/usbhdd/to_spda
    
  5. running the script to copy
    • the script is /home/trans/bin/cos3_trans_aste.sh
    • checking the data to transfer
      aste-1x{asteobs}60: /home/trans/bin/cos3_trans_aste.sh /mnt/usbhdd/to_spda
      ***found data directories to transfer*** [#ocb03654]
      /home/trans/20091207
      /home/trans/20091208
      
      ***found data directories to transfer*** [#o5a4ffc8]
      check mode
      
    • if it is OK, execute the script
      aste-1x{asteobs}65: /home/trans/bin/cos3_trans_aste.sh /mnt/usbhdd/to_spda -exec
      
  6. delete temporary files
    • 転送が終わると、aste-1xの/home/trans内にある日付ディレクトリを消すかどうか聞かれる。
    • 明示的に'y'(一回目)と'delete'(二回目)と打って消去する
      • そのままenterを押すとファイル消しはキャンセルされるので、その後手動で消す。
      • 転送中にトラブル等の違和感を感じた場合は、ファイルの消去をせずに塚越まで連絡。
  7. unmounting USB HDD
    • right click on the disk icon and select 'Unmount Volume'
    • or umount in command-line
      aste-1x{asteobs}66: umount /mnt/usbhdd
      
  8. disconnecting USB HDD from aste-1x
    • please handle with care
    • keep connecting the USB cable to aste-1x

At SPdA

transfer from the ASTE site to SPdA

  1. login aste-ax3 (or aste-ax2) as asteobs
  2. connect USB portable HDD in which the copied data at the ASTE site are
    • HDD is mounted automatically
  3. checking the copied data in USB HDD
    [asteobs@aste-ax3 ~]$ ls /mnt/usbhdd/to_spda/
    
    • 山頂でコピーしたファイル(日付+'.cpio.'+なんちゃら)が入っているはず
  4. data copy
    • スクリプトは/home/trans/bin/cos3_trans_spda.sh
    • まずは転送ファイルのチェック
      [asteobs@aste-ax3 ~]$ /home/trans/bin/cos3_trans_spda.sh /mnt/usbhdd/to_spda
      *** found data to transfer ***
      /mnt/usbhdd/to_spda/20091205
      /mnt/usbhdd/to_spda/20091206
      /mnt/usbhdd/to_spda/20091207
      /mnt/usbhdd/to_spda/20091208
      /mnt/usbhdd/to_spda/20091209
      *** found data to transfer ***
      
      check mode
      
      
    • execute script if files are OK
      [asteobs@aste-ax3 ~]$ /home/trans/bin/cos3_trans_spda.sh /mnt/usbhdd/to_spda -exec
      
    • ファイル結合とcpioによるファイル展開が行われる。
    • また日本への輸送データとして/home/trans/[日付]のディレクトリへコピーされる。
  5. 輸送データ消去
    • 転送が終わると、ポータブルディスク内の元ファイルを消すかどうか聞かれるので消去する。
      • 消すには明示的に'y'(一回目)と'delete'(二回目)と打つ必要がある。
      • そのままenterを押すとファイル消しはキャンセルされるので、その後手動で消す。
      • 転送中にトラブル等の違和感を感じた場合は、ファイルの消去をせずに塚越まで連絡。
  6. ポータブルディスクのアンマウント
    • 画面上にディスクアイコンが出ているので、それを右クリックして'Unmount Volume'を選ぶ
    • もしくはターミナルで
      aste-1x{asteobs}66: umount /mnt/usbhdd
      

transfer from SPdA to Japan

  1. aste-ax3(ax2)にasteobsでログインする
  2. USBポータブルHDDをaste-ax3(ax2)につなぐ
    • 自動で/mnt/usbhddにマウントされ、画面上にASTEBU_??というディスクアイコンが出る
  3. 転送データの確認
    • /home/trans内にある日付ディレクトリ
      [asteobs@aste-ax3 ~]$ ls /home/trans
       20091208  20091210  bin
      
    • 山頂からデータをコピーした日付のディレクトリが入っている
  4. ポータブルディスク内に別ディレクトリを作成
    [asteobs@aste-ax3 ~]$ mkdir /mnt/usbhdd/to_jpn
    
    • すでにある場合は必要なし
  5. コピースクリプトの実行
    • スクリプトは/home/trans/bin/cos3_trans_jpn.sh
    • まずは転送ファイルのチェック
      [asteobs@aste-ax3 ~]$ /home/trans/bin/cos3_trans_jpn.sh /mnt/usbhdd/to_jpn
      ***found data directories to transfer***
      /home/trans/20091208
      /home/trans/20091210
      
      ***found data directories to transfer***
      check mode
      
    • ディレクトリがOKなら実行する
      [asteobs@aste-ax3 ~]$ /home/trans/bin/cos3_trans_jpn.sh /mnt/usbhdd/to_jpn -exec
      
    • rsyncにてファイルがコピーされる
  6. 輸送データ消去
    • 転送が終わると、ポータブルディスク内の元ファイルを消すかどうか聞かれるので消去する。
      • 消すには明示的に'y'(一回目)と'delete'(二回目)と打つ必要がある。
      • そのままenterを押すとファイル消しはキャンセルされるので、その後手動で消す。
      • 転送中にトラブル等の違和感を感じた場合は、ファイルの消去をせずに塚越まで連絡。
  7. ポータブルディスクのアンマウント
    • 画面上にディスクアイコンが出ているので、それを右クリックして'Unmount Volume'を選ぶ
    • もしくはターミナルで
      [asteobs@aste-ax3 ~]$ umount /mnt/usbhdd
      

At Mitaka

FAQ

USB HDD cannot be umounted

USB HDD is mounted on /media/usbhdd instead of on /mnt/usbhdd

USB HDD cannot be unmounted

message 'lack of disk space' appears

disk space of USB HDD is not close to being enough due to too much data

something is wrong!!!

memo(FAQs)

No comment. Comments/Computer and Network/Data transfer

Name:

Front page   New Page list Search Recent changes   Help   RSS of recent changes