



1. set console LOCALE
參考: http://blog.spiderman.idv.tw/?p=6
編輯 /etc/csh.login 於最後加入以下設定 :
setenv ENABLE_STARTUP_LOCALE zh_TW.Big5
setenv LC_CTYPE en_US.ISO8859-1
setenv LANG zh_TW.Big5在 /etc/csh.cshrc 加入下面三行後重開機即可顯示中文。
#vi etc/csh.cshrc
setenv LC_CTYPE en_US.ISO8859-1
setenv LC_ALL zh_TW.Big5
setenv LANG zh_TW.Big5
2. mount NAS4100
mount_smbfs -E big5:big5 -I 192.168.10.119 //chchang@192.168.10.206/RAID5 /nas4100
不過這樣的作法需要手動輸入密碼,應該有辦法可以把密碼帶進去或者是去讀取密碼
3. zpool & zfs setting
建立 zpool & ZFS
4. rsync script
template:
rsync -avzPbu –progress –suffix=.old –exclude-from=/root/notoback /mnt/管理部 /z452/NAS
update
rsync 看起來似乎對於中文檔名的處理有很多問題
常常會出現一些像是file has vanished 的狀況,搜尋過後似乎只能 ignored ??
改測試rdiff-backup 看看
update
rdiff-backup 比較好一點,不過碰到某些符號還是一樣會有問題..
到底要用哪一套來做SYNC啊!!!




1 Client: VM BSD 8.0 Server 192.168.10.203 (Fedora Core 12) 原本以為這台是GIGA LAN,不過看起來似乎是我記錯了
[root@storage ~]# iperf -c 192.168.10.203 -w 100M -t 120 -i 10
————————————————————
Client connecting to 192.168.10.203, TCP port 5001
TCP window size: 256 KByte (WARNING: requested 100 MByte)
————————————————————
[ 3] local 192.168.10.204 port 52972 connected with 192.168.10.203 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 112 MBytes 94.2 Mbits/sec
[ 3] 10.0-20.0 sec 112 MBytes 94.0 Mbits/sec
[ 3] 20.0-30.0 sec 112 MBytes 94.0 Mbits/sec
[ 3] 30.0-40.0 sec 112 MBytes 94.1 Mbits/sec
[ 3] 40.0-50.0 sec 112 MBytes 94.0 Mbits/sec
[ 3] 50.0-60.0 sec 112 MBytes 94.1 Mbits/sec
[ 3] 60.0-70.0 sec 112 MBytes 94.0 Mbits/sec
[ 3] 70.0-80.0 sec 112 MBytes 94.0 Mbits/sec
[ 3] 80.0-90.0 sec 112 MBytes 94.1 Mbits/sec
[ 3] 90.0-100.0 sec 112 MBytes 94.0 Mbits/sec
[ 3] 100.0-110.0 sec 112 MBytes 94.0 Mbits/sec
[ 3] 110.0-120.0 sec 112 MBytes 94.1 Mbits/sec
[ 3] 0.0-120.0 sec 1.31 GBytes 94.1 Mbits/sec
2 Client VM BSD 8.0 , Server 192.168.10.205 (VM Host) 從VM去測試VM主機的效果,不是很滿意的數據。
[root@storage ~]# iperf -c 192.168.10.205 -w 100M -t 120 -i 10
————————————————————
Client connecting to 192.168.10.205, TCP port 5001
TCP window size: 256 KByte (WARNING: requested 100 MByte)
————————————————————
[ 3] local 192.168.10.204 port 44576 connected with 192.168.10.205 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 529 MBytes 444 Mbits/sec
[ 3] 10.0-20.0 sec 524 MBytes 440 Mbits/sec
[ 3] 20.0-30.0 sec 668 MBytes 561 Mbits/sec
[ 3] 30.0-40.0 sec 670 MBytes 562 Mbits/sec
[ 3] 40.0-50.0 sec 673 MBytes 564 Mbits/sec
[ 3] 50.0-60.0 sec 671 MBytes 563 Mbits/sec
[ 3] 60.0-70.0 sec 673 MBytes 565 Mbits/sec
[ 3] 70.0-80.0 sec 670 MBytes 562 Mbits/sec
[ 3] 80.0-90.0 sec 674 MBytes 565 Mbits/sec
[ 3] 90.0-100.0 sec 671 MBytes 563 Mbits/sec
[ 3] 100.0-110.0 sec 668 MBytes 560 Mbits/sec
[ 3] 110.0-120.0 sec 667 MBytes 560 Mbits/sec
[ 3] 0.0-120.0 sec 7.58 GBytes 542 Mbits/sec
3Client VM BSD 8.0 Server 10.236(Windows Server 2000) 效果出乎意料的好!? 幾乎都可以保持在900Mb以上,算是很優的表現!
[root@storage ~]# iperf -c 192.168.10.236 -w 100M -t 120 -i 10
————————————————————
Client connecting to 192.168.10.236, TCP port 5001
TCP window size: 256 KByte (WARNING: requested 100 MByte)
————————————————————
[ 3] local 192.168.10.204 port 34026 connected with 192.168.10.236 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.05 GBytes 903 Mbits/sec
[ 3] 10.0-20.0 sec 1.05 GBytes 902 Mbits/sec
[ 3] 20.0-30.0 sec 1.05 GBytes 900 Mbits/sec
[ 3] 30.0-40.0 sec 1.05 GBytes 899 Mbits/sec
[ 3] 40.0-50.0 sec 1.05 GBytes 903 Mbits/sec
[ 3] 50.0-60.0 sec 1.05 GBytes 899 Mbits/sec
[ 3] 60.0-70.0 sec 1.05 GBytes 902 Mbits/sec
[ 3] 70.0-80.0 sec 1.05 GBytes 902 Mbits/sec
[ 3] 80.0-90.0 sec 1.04 GBytes 896 Mbits/sec
[ 3] 90.0-100.0 sec 1.05 GBytes 903 Mbits/sec
[ 3] 100.0-110.0 sec 1.05 GBytes 903 Mbits/sec
[ 3] 110.0-120.0 sec 1.05 GBytes 903 Mbits/sec
[ 3] 0.0-120.0 sec 12.6 GBytes 901 Mbits/sec
[root@storage ~]#




感覺似乎還不錯?
———————————————————————–
CrystalDiskMark 3.0 (C) 2007-2010 hiyohiyo
Crystal Dew World : http://crystalmark.info/
———————————————————————–
* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
Sequential Read : 181.179 MB/s
Sequential Write : 133.526 MB/s
Random Read 512KB : 137.627 MB/s
Random Write 512KB : 132.753 MB/s
Random Read 4KB (QD=1) : 8.274 MB/s [ 2019.9 IOPS]
Random Write 4KB (QD=1) : 8.373 MB/s [ 2044.1 IOPS]
Random Read 4KB (QD=32) : 44.456 MB/s [ 10853.6 IOPS]
Random Write 4KB (QD=32) : 41.531 MB/s [ 10139.3 IOPS]
Test : 1000 MB [C: 23.0% (9.2/39.9 GB)] (x5)
Date : 2010/06/15 10:06:19
OS : Windows 7 Ultimate Edition [6.1 Build 7600] (x86)




感覺這次的硬碟速度測試還滿恐怖的! 效能都很高!
10G檔案 寫入
ds# dd if=/dev/zero of=/nas/test10g bs=10M count=1024
1024+0 records in
1024+0 records out
10737418240 bytes transferred in 62.281571 secs (172401211 bytes/sec) (172.4 MB/s)
10G檔案 讀取
ds# dd of=/dev/null if=/nas/test10g bs=10M count=1024
1024+0 records in
1024+0 records out
10737418240 bytes transferred in 65.472655 secs (163998516 bytes/sec) (163.9 MB/s)
20G檔案 寫入
ds# dd if=/dev/zero of=/nas/test10g bs=20M count=1024
1024+0 records in
1024+0 records out
21474836480 bytes transferred in 123.954357 secs (173247936 bytes/sec) (173.2 MB/s)
20G檔案 讀取
ds# dd of=/dev/null if=/nas/test10g bs=20M count=1024
1024+0 records in
1024+0 records out
21474836480 bytes transferred in 135.590593 secs (158379988 bytes/sec) (158.3 MB/s)




套件名稱:XRDP
Name : xrdp Relocations: (not relocatable)
Version : 0.5.0 Vendor: Fedora Project
Release : 0.6.20090811cvs.fc12 Build Date: 西元2009年09月17日 (週四) 03時39分25秒
Install Date: 西元2010年06月10日 (週四) 13時41分15秒 Build Host: x86-6.fedora.phx.redhat.com
Group : Applications/Internet Source RPM: xrdp-0.5.0-0.6.20090811cvs.fc12.src.rpm
Size : 1256479 License: GPLv2+ with exceptions
Signature : RSA/8, 西元2010年02月27日 (週六) 00時03分10秒, Key ID 7edc6ad6e8e40fde
Packager : Fedora Project
URL : http://xrdp.sourceforge.net/
Summary : Open source remote desktop protocol (RDP) server
Description :
The goal of this project is to provide a fully functional Linux terminal
server, capable of accepting connections from rdesktop and Microsoft’s own
terminal server / remote desktop clients.
運作圖,CLIENT就直接用XP內的遠端桌面連線就可以了



More Options ...
Categories
Tag Cloud
Blog RSS
Comments RSS

Void « Default
Life
Earth
Wind
Water
Fire
Light 