**DAT Drive [#b2399c79]
-connect to eic02 and eic03. 
-You can use DAT Drive on eic02 and eic03. 
--/dev/st0------rewinding
--/dev/nst0----no rewinding
-Use tar or cpio
-“mt” command to rewind or forward.
-mt change uncompress or compress.
-When you use DAT tape, please confirm compression mode.

-Writing tape
 $ mt -f /dev/st0 rewind           rewinding tape media
 $ mt -f /dev/st0 compression 0    define 0 for uncompression, 1for -compression.
 $ cd /home/sgi/test               moving backup directory
 $ tar cvf /dev/st0 .              writing current directory to tape, and rewind when it finishes
-Reading tape
 $ mt -f /dev/st0 rewind           rewinding tape media
 $ cd /home/sgi/test               moving writing directory
 $tar xvf /dev/st0                 writing data to current directory , and rewind when it finishes
-Confirming tape media
 $ mt -f /dev/st0 rewind           rewinding tape media
 $tar tvf /dev/st0                 confirming tape media

-See online manual “man mt” or “man tar”

**Blu-ray Drive [#b2399c79]
-Blu-ray drive is available on eic00, eic01.
-Insert empty Blu-ray disc into Blu-ray Drive
-If pop-up window appear, click "Cancel"
-Following sample shows how to write "sample_dir" directory to Blu-ray disc.
~
 [user@eic00 ~]$ ls -lR sample_dir/
 sample_dir/:
 total 8
 drwxrwxr-x 2 user user 4096 Mar  4 17:48 DATA1
 drwxrwxr-x 2 user user 4096 Mar  4 17:49 DATA2
 
 sample_dir/DATA1:
 total 4002496
 -rwxr-xr-x 1 user user 4044230603 Mar  4 17:41 data1
 -rw-r--r-- 1 user user 37660806 Mar  4 17:48 sample2
 -rw-r--r-- 1 user user 16657930 Mar  4 17:48 sample3
 
 sample_dir/DATA2:
 total 375092
 -rwxr-xr-x 1 user user  622836 Mar  4 17:49 building.gfa
 -rwxr-xr-x 1 user user 3028873 Mar  4 17:49 c60_mpe.gfa
 -rw-r--r-- 1 user user 380432384 Mar  4 17:49 sample10
-Use ''bdr'' command.
 [user@eic00 ~]$ bdr sample_dir
 Executing 'mkisofs sample_dir | builtin_dd of=/dev/sr1 obs=32k seek=0'
 I: -input-charset not specified, using utf-8 (detected in locale settings)
   0.23% done, estimate finish Wed Mar  4 18:01:44 2015
 /dev/sr1: "Current Write Speed" is 8.2x4390KBps.
  0.46% done, estimate finish Wed Mar  4 18:52:47 2015
  0.69% done, estimate finish Wed Mar  4 18:40:37 2015
  0.91% done, estimate finish Wed Mar  4 18:32:44 2015
  1.14% done, estimate finish Wed Mar  4 18:26:31 2015
  1.37% done, estimate finish Wed Mar  4 18:23:37 2015
 ....
  99.82% done, estimate finish Wed Mar  4 18:04:47 2015
 Total translation table size: 0
 Total rockridge attributes bytes: 0
 Total directory bytes: 4096
 Path table size(bytes): 38
 Max brk space used 1a000
 2188964 extents written (4275 MB)
 builtin_dd: 2188976*2KB out @ average 5.5x4390KBps
 /dev/sr1: flushing cache
 /dev/sr1: closing track
 /dev/sr1: closing session
 /dev/sr1: reloading tray

-It will take about 30 minutes to write 20GB
-BD-R will be automatically ejected and reloaded after writing process finish. It is mounted as /media/CDROM.
 [user@eic00 ~]$ ls -lR /media/CDROM
 /media/CDROM:
 total 4
 dr-x------ 1 user user 2048 Mar  4 17:48 data1
 dr-x------ 1 user user 2048 Mar  4 17:49 data2
 
 /media/CDROM/data1:
 total 4002496
 -rwxr-xr-x 1 user user 4044230603 Mar  4 17:41 data1
 -rw-r--r-- 1 user user 37660806 Mar  4 17:48 sample2
 -rw-r--r-- 1 user user 16657930 Mar  4 17:48 sample3
 
 /media/CDROM/data2:
 total 375092
 -rwxr-xr-x 1 user user  622836 Mar  4 17:49 building.gfa
 -rwxr-xr-x 1 user user 3028873 Mar  4 17:49 c60_mpe.gfa
 -rw-r--r-- 1 user user 380432384 Mar  4 17:49 sample10
--ISO9660 format might be case-insensitive letter when it is mounted.

-In order to read this disc on any drive, you have to finalize. Run ''bdclose'' command, this disc will become read-only.
 [user@eic00 ~]$ bdclose
 Executing 'builtin_dd if=/dev/zero of=/dev/sr1 obs=32k seek=139938'
 /dev/sr1: "Current Write Speed" is 8.2x4390KBps.
 4587651072/25025314816 ( 0.0%) @0.0x, remaining 945:00 RBU 100.0% UBU   3.0%
 4587651072/25025314816 ( 0.0%) @0.0x, remaining 1575:01 RBU 100.0% UBU 100.0%
  ....
 24977211392/25025314816 (99.8%) @8.0x, remaining 0:01 RBU 100.0% UBU  97.0%
 :-[ WRITE@LBA=ba7400h failed with SK=5h/INVALID ADDRESS FOR WRITE]: Invalid  argument
 :-( write failed: Invalid argument
 /dev/sr1: flushing cache
 /dev/sr1: closing track
 /dev/sr1: closing session

-Write error will appear but it doesn't matter,eject your disc.
 [user@eic00 ~]$ eject /dev/sr1

-Insert it again, confirm your data
 [user@eic00 ~]$ ls -lR /media/CDROM
 /media/CDROM:
 total 4
 dr-x------ 1 user user 2048 Mar  4 17:48 data1
 dr-x------ 1 user user 2048 Mar  4 17:49 data2
 
 /media/CDROM/data1:
 total 4002496
 -rwxr-xr-x 1 user user 4044230603 Mar  4 17:41 data1
 -rw-r--r-- 1 user user 37660806 Mar  4 17:48 sample2
 -rw-r--r-- 1 user user 16657930 Mar  4 17:48 sample3
 
 /media/CDROM/data2:
 total 375092
 -rwxr-xr-x 1 user user  622836 Mar  4 17:49 building.gfa
 -rwxr-xr-x 1 user user 3028873 Mar  4 17:49 c60_mpe.gfa
 -rw-r--r-- 1 user user 380432384 Mar  4 17:49 sample10

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ