<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stephenyeong&#039;s blog</title>
	<atom:link href="http://www.stephenyeong.idv.hk/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stephenyeong.idv.hk/wp</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 08 Mar 2010 12:38:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>直接同DELL買的Broadcom 5709</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/03/broadcom-5709/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/03/broadcom-5709/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 12:38:03 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[pfsense]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=526</guid>
		<description><![CDATA[不是淘返來的 Broadcom 5709 Dual port GbE, 有iSCSI offload, 行PCI-E x8


]]></description>
			<content:encoded><![CDATA[<p>不是淘返來的 Broadcom 5709 Dual port GbE, 有iSCSI offload, 行PCI-E x8</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/DSC8857.jpg" title="_DSC8857" rel="lightbox[526]" rel="lightbox[526]"><img class="alignnone size-medium wp-image-527" title="_DSC8857" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/DSC8857-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/DSC8859.jpg" title="_DSC8859" rel="lightbox[526]" rel="lightbox[526]"><img class="alignnone size-medium wp-image-528" title="_DSC8859" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/DSC8859-300x199.jpg" alt="" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/03/broadcom-5709/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally pfsense wireless bridge working</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/03/pfsense-wireless-bridge-working/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/03/pfsense-wireless-bridge-working/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 17:28:36 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[pfsense]]></category>
		<category><![CDATA[wireless lan]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=519</guid>
		<description><![CDATA[Finally, pfSense  2.0 router with AP working.
The tweak is, make both WLAN and LAN as opt  interface, bridge them and make bridged interface as LAN

interface to network port assignment

bridge interface members

]]></description>
			<content:encoded><![CDATA[<p>Finally, pfSense  2.0 router with AP working.</p>
<p>The tweak is, make both WLAN and LAN as opt  interface, bridge them and make bridged interface as LAN</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/pfsense-lan-wlan-bridge_1.png" title="pfsense-lan-wlan-bridge_1" rel="lightbox[519]" rel="lightbox[519]"><img class="alignnone size-full  wp-image-523" title="pfsense-lan-wlan-bridge_1" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/pfsense-lan-wlan-bridge_1.png" alt="" width="771" height="386" /></a></p>
<p>interface to network port assignment</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/pfsense-lan-wlan-bridge_2.png" title="pfsense-lan-wlan-bridge_2" rel="lightbox[519]" rel="lightbox[519]"><img class="alignnone size-full wp-image-521" title="pfsense-lan-wlan-bridge_2" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/pfsense-lan-wlan-bridge_2.png" alt="" width="731" height="159" /></a></p>
<p>bridge interface members</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/pfsense-lan-wlan-bridge_3.png" title="pfsense-lan-wlan-bridge_3" rel="lightbox[519]" rel="lightbox[519]"><img class="alignnone size-full wp-image-522" title="pfsense-lan-wlan-bridge_3" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/pfsense-lan-wlan-bridge_3.png" alt="" width="739" height="110" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/03/pfsense-wireless-bridge-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test post from android app</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/02/test-post-from-android-app/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/02/test-post-from-android-app/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 06:50:18 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/2010/02/test-post-from-android-app/</guid>
		<description><![CDATA[This is a test
]]></description>
			<content:encoded><![CDATA[<p>This is a test</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/02/test-post-from-android-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba 50MB per second limit?</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/02/samba-50mb/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/02/samba-50mb/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 06:49:32 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[NAS]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=508</guid>
		<description><![CDATA[調試了幾日Openfiler 發覺用 Windows 連上NAS 唔夠Windows 連Windows 快。無論寫入或讀取，上限只有40MB/s。相對從 Windows 找檔到 Windows (both windows 7) 可以快過 80MB/s.
排除是 RAID5 慢的問題，在 Linux 下用 hdparam 做讀取測試，有 180MB/s
再試在 Windows 用 FTP (Filezilla)  從 NAS 下載反而可逹 110MB/s ，近乎 GbE 上限。
Googling, 用 &#8220;NAS slow&#8221;、&#8221;samba slow&#8221;、&#8221;samba RAID5 slow&#8221; 找到好多資料，但所有提及到的設定只可令到速度上升至50MB/s.
似乎上限在50MB/s
昨晚返而用 &#8220;samba 50MB&#8221; 找到一些資料。即是很多人都停在50MB/s。
再找Samba個Changes log發現以下幾點

Samba 3.45 只用SMB v1, 而Vista 、Server 2008 &#38; Windows 7 用SMB v2
Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>調試了幾日Openfiler 發覺用 Windows 連上NAS 唔夠Windows 連Windows 快。無論寫入或讀取，上限只有40MB/s。相對從 Windows 找檔到 Windows (both windows 7) 可以快過 80MB/s.</p>
<p>排除是 RAID5 慢的問題，在 Linux 下用 hdparam 做讀取測試，有 180MB/s</p>
<p>再試在 Windows 用 FTP (Filezilla)  從 NAS 下載反而可逹 110MB/s ，近乎 GbE 上限。</p>
<p>Googling, 用 &#8220;NAS slow&#8221;、&#8221;samba slow&#8221;、&#8221;samba RAID5 slow&#8221; 找到好多資料，但所有提及到的設定只可令到速度上升至50MB/s.</p>
<p>似乎上限在50MB/s</p>
<p>昨晚返而用 &#8220;samba 50MB&#8221; 找到一些資料。即是很多人都停在50MB/s。</p>
<p>再找Samba個Changes log發現以下幾點</p>
<ol>
<li>Samba 3.45 只用SMB v1, 而Vista 、Server 2008 &amp; Windows 7 用SMB v2</li>
<li>Microsoft 話 SMB v2 快過 SMB v1</li>
<li>SMB v1 訊息最大64KB, 同TCP Windows Size 個Concept 一樣, 即是TCP Windows size max = 64KB,<br />
相對現在Linux Kernel 可以設定大過16MB相差很遠</li>
<li>Samba 3.5 會加入 SMB v2.</li>
</ol>
<p>可能等到Samba 3.5 release 才知能否突破這個限制</p>
<p>Samba 3.5 RC2 Available for Download (26 January 2010)<br />
<a title="Samba 3.5 rc2 Download" href="http://news.samba.org/releases/3.5.0rc2/">Download</a> and <a title="Samba 3.5 rc2 Release note" href="http://samba.org/samba/ftp/rc/WHATSNEW-3-5-0rc2.txt">Samba 3.5 rc2 Release note</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/02/samba-50mb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Home NAS</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/02/my-home-nas/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/02/my-home-nas/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 19:31:56 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[NAS]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=497</guid>
		<description><![CDATA[農歷新年幾日足不出戶，重點完成了家裏NAS PROJECT (除了NAS 還睇完100集REBORN)
因為有兩隻1TB是有DATA的，所以花了多了時間。
一晚時間做 BACKUP、一日安裝、兩日個調整，終於大功告成。
硬件

ASL ATOM 330 ITX
onboard  ICH7 with 4x SATA、1&#215;40PIN PATA,
PCIE x16 slot (x8 Actual)
Realtek 8111C Gigabit Ethernet
AC97 (no use for me)
1GB DDR2
4GB CF BOOT UP
4&#215;1TB RAID5 (3隻Seagate + 1隻WD)

軟件

Openfiler 2.3 32bit
外掛 TransmissionBT
更新 proftpd 至 1.3.2c (支援 UTF8檔)

]]></description>
			<content:encoded><![CDATA[<p>農歷新年幾日足不出戶，重點完成了家裏NAS PROJECT (除了NAS 還睇完100集REBORN)</p>
<p>因為有兩隻1TB是有DATA的，所以花了多了時間。<br />
一晚時間做 BACKUP、一日安裝、兩日個調整，終於大功告成。</p>
<p>硬件</p>
<ul>
<li>ASL ATOM 330 ITX<br />
onboard  ICH7 with 4x SATA、1&#215;40PIN PATA,<br />
PCIE x16 slot (x8 Actual)<br />
Realtek 8111C Gigabit Ethernet<br />
AC97 (no use for me)</li>
<li>1GB DDR2</li>
<li>4GB CF BOOT UP</li>
<li>4&#215;1TB RAID5 (3隻Seagate + 1隻WD)</li>
</ul>
<p>軟件</p>
<ul>
<li>Openfiler 2.3 32bit</li>
<li>外掛 TransmissionBT</li>
<li>更新 proftpd 至 1.3.2c (支援 UTF8檔)</li>
</ul>

<div class="ngg-galleryoverview" id="ngg-gallery-27-497">


	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.stephenyeong.idv.hk/wp/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=27&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-363" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/dsc8253.jpg" title="ASL ATOM 330, 上面張PERC5i 不需改SMBUS PIN也可以正常運作。
但因PERC5i 太熱，最後無用。" rel="lightbox[set_27]" >
								<img title="ASL ATOM 330" alt="ASL ATOM 330" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/thumbs/thumbs_dsc8253.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-364" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/dsc8806.jpg" title="初時放在桌面" rel="lightbox[set_27]">
								<img title="NAS on Desktop#1" alt="NAS on Desktop#1" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/thumbs/thumbs_dsc8806.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-365" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/dsc8807.jpg" title="初時放在桌面, 4隻HDD在主板下面, 要加把8CM FAN" rel="lightbox[set_27]">
								<img title="NAS on Desktop#2" alt="NAS on Desktop#2" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/thumbs/thumbs_dsc8807.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-366" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/dsc8809.jpg" title="加埋之前隻pfsense firewall, 共2塊ATOM。
一隻230W 小火牛推
兩塊板、
4隻HDD、
一個HUBS" rel="lightbox[set_27]" >
								<img title="Final#1" alt="Final#1" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/thumbs/thumbs_dsc8809.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-367" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/dsc8814.jpg" title="4隻HDD接口向上，方便接線" rel="lightbox[set_27]">
								<img title="Final#2" alt="Final#2" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/thumbs/thumbs_dsc8814.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-368" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/dsc8815.jpg" title=" " rel="lightbox[set_27]">
								<img title="Final#3" alt="Final#3" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/thumbs/thumbs_dsc8815.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-362" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/transmission-web.png" title="在NAS裝了TransmissionBT
自帶WEB介面，支援magnet。" rel="lightbox[set_27]" >
								<img title="transmission-web" alt="transmission-web" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-02-18-nas/thumbs/thumbs_transmission-web.png" width="91" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/02/my-home-nas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screen Protector</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/02/screen-protector/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/02/screen-protector/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 07:07:23 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[HTC]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=480</guid>
		<description><![CDATA[第一次覺得保護貼好重要
被剪鉗碰了一下, 只有保護貼花了.


]]></description>
			<content:encoded><![CDATA[<p>第一次覺得保護貼好重要</p>
<p>被剪鉗碰了一下, 只有保護貼花了.</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8803.jpg" title="_DSC8803" rel="lightbox[480]" rel="lightbox[480]"><img class="alignnone size-medium wp-image-481" title="_DSC8803" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8803-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8803_02.jpg" title="_DSC8803_02" rel="lightbox[480]" rel="lightbox[480]"><img class="alignnone size-medium wp-image-482" title="_DSC8803_02" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8803_02-300x293.jpg" alt="" width="300" height="293" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/02/screen-protector/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hard mod DELL M62xx 10GbE Stacking</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/02/hard-mod-dell-m62xx-10gbe-stacking/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/02/hard-mod-dell-m62xx-10gbe-stacking/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 06:51:56 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[10GbE]]></category>
		<category><![CDATA[CX4]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[stack]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=472</guid>
		<description><![CDATA[本來要10GbE CX4 接口, 但後來order了10GbE Stacking.
幸運的是Stacking與否只差一粒100ohm電阻.
這張是除去電阻後



]]></description>
			<content:encoded><![CDATA[<p>本來要10GbE CX4 接口, 但後來order了10GbE Stacking.<br />
幸運的是Stacking與否只差一粒100ohm電阻.</p>
<p>這張是除去電阻後<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8503.jpg"></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8503.jpg" title="_DSC8503" rel="lightbox[472]" rel="lightbox[472]"><img class="alignnone size-medium wp-image-475" title="_DSC8503" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8503-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8505.jpg" title="_DSC8505" rel="lightbox[472]" rel="lightbox[472]"><img class="alignnone size-medium  wp-image-473" title="_DSC8505" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8505-300x199.jpg" alt="Hard Mod 後" width="300" height="199" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8505_02.jpg" title="_DSC8505_02" rel="lightbox[472]" rel="lightbox[472]"><img class="alignnone size-medium wp-image-487" title="_DSC8505_02" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/02/DSC8505_02-300x216.jpg" alt="" width="300" height="216" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/02/hard-mod-dell-m62xx-10gbe-stacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openfiler RAID擴展、加碟</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/01/openfiler-raid%e6%93%b4%e5%b1%95%e3%80%81%e5%8a%a0%e7%a2%9f/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/01/openfiler-raid%e6%93%b4%e5%b1%95%e3%80%81%e5%8a%a0%e7%a2%9f/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 19:01:26 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=458</guid>
		<description><![CDATA[以下是測試Openfiler  Software RAID 5 擴展的過程
環景是Vmware ESXi, 由6隻Virtual Disk的RAID5擴展到7碟

先是檢視現有的RAID,
/sbin/mdadm &#8211;detail /dev/md0

在VM加多一隻SCSI DISK後, 做一次SCSI Rescan 令到新碟顯示

把新碟初始化
parted /dev/sdh
mklabel msdos
mkpart primary ext2 0 8192
set 1 raid on
quit
並把新碟加入RAID
mdadm &#8211;add /dev/md0 /dev/sdh1

把RAID由6碟擴展為7碟
mdadm &#8211;grow /dev/md0 &#8211;raid-devices=7

在背景碟擴佔用CPU不多


完成RAID

到Physical Volume

再擴大Logical Volume

最後到XFS

]]></description>
			<content:encoded><![CDATA[<p>以下是測試Openfiler  Software RAID 5 擴展的過程</p>
<p>環景是Vmware ESXi, 由6隻Virtual Disk的RAID5擴展到7碟</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/0.-6-disk-RAID-5.png" title="0. 6 disk RAID 5" rel="lightbox[458]" rel="lightbox[458]"><img class="size-medium wp-image-459 alignnone" title="0. 6 disk RAID 5" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/0.-6-disk-RAID-5-300x219.png" alt="" width="300" height="219" /></a></p>
<p>先是檢視現有的RAID,<br />
/sbin/mdadm &#8211;detail /dev/md0</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/1.-Currnet-Disk-format.png" title="1. Currnet Disk format" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-460" title="1. Currnet Disk format" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/1.-Currnet-Disk-format-300x259.png" alt="" width="300" height="259" /></a></p>
<p>在VM加多一隻SCSI DISK後, 做一次SCSI Rescan 令到新碟顯示</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/2.-Scan-SCSI-BUS.png" title="2. Scan SCSI BUS" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-461" title="2. Scan SCSI BUS" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/2.-Scan-SCSI-BUS-300x220.png" alt="" width="300" height="220" /></a></p>
<p>把新碟初始化</p>
<p>parted /dev/sdh<br />
mklabel msdos<br />
mkpart primary ext2 0 8192<br />
set 1 raid on<br />
quit</p>
<p>並把新碟加入RAID<br />
mdadm &#8211;add /dev/md0 /dev/sdh1</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/3.-Add-Disk.png" title="3. Add Disk" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-462" title="3. Add Disk" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/3.-Add-Disk-300x288.png" alt="" width="300" height="288" /></a></p>
<p>把RAID由6碟擴展為7碟</p>
<p>mdadm &#8211;grow /dev/md0 &#8211;raid-devices=7</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/4.-grow-disk.png" title="4. grow disk" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-463" title="4. grow disk" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/4.-grow-disk-284x300.png" alt="" width="284" height="300" /></a></p>
<p>在背景碟擴佔用CPU不多</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/5.-Upgrading-in-background.png" title="5. Upgrading in background" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-464" title="5. Upgrading in background" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/5.-Upgrading-in-background-300x220.png" alt="" width="300" height="220" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/6.-Almost-complete.png" title="6. Almost complete" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-465" title="6. Almost complete" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/6.-Almost-complete-284x300.png" alt="" width="284" height="300" /></a></p>
<p>完成RAID</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/7.-Completed.png" title="7. Completed" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-466" title="7. Completed" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/7.-Completed-284x300.png" alt="" width="284" height="300" /></a></p>
<p>到Physical Volume</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/8.-pvresize.png" title="8. pvresize" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-467" title="8. pvresize" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/8.-pvresize-284x300.png" alt="" width="284" height="300" /></a></p>
<p>再擴大Logical Volume</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/9.-lvresize.png" title="9. lvresize" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-468" title="9. lvresize" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/9.-lvresize-284x300.png" alt="" width="284" height="300" /></a></p>
<p>最後到XFS</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/10.-xfs_resize.png" title="10. xfs_resize" rel="lightbox[458]" rel="lightbox[458]"><img class="alignnone size-medium wp-image-469" title="10. xfs_resize" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/10.-xfs_resize-284x300.png" alt="" width="284" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/01/openfiler-raid%e6%93%b4%e5%b1%95%e3%80%81%e5%8a%a0%e7%a2%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openfiler vs FreeBSD</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/01/openfiler-vs-freebsd/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/01/openfiler-vs-freebsd/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 14:35:00 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[NAS]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[軟件]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=440</guid>
		<description><![CDATA[早在一個月前已開始準備在家建立一台NAS，當時還未選定用FreeNAS還是Openfiler。
剛好有個PROJECT要為ESXi準備NAS Storage，所以返復測試了兩者。
今次測試的版本
Openfiler 2.3
FreeNAS 0.7
在驅動方面, 如終是LINUX的Openfiler佔優。
因為Openfiler 的Kernel 可以在Web介面上更新，而且想自己Compile Driver 也比較易。
無論在ESX下使用VMXNET3、還是ATOM NanoITX用RTL8111C的JUMBOFRAME支援上，比起使用FreeBSD 7.2的FreeNAS好。
FreeBSD 對於Realtek 8111的jumboframe支援應該要到 FreeBSD 8.0 才能解決。
論功能，FreeNAS 佔優
兩者皆有 iSCSI Target, iSCSI Initiator, NFS, SMB, FTP
但在FTP方面, FreeNAS 佔優。
FreeNAS用proftpd 1.31, 而Openfiler只是proftpd 1.30。雖然版本號相差很少，但可用性就大有不同。
FreeNAS是可以用UTF8的. 用UTF8支援的FTP CLIENT可以見到完整的檔名。而proftpd 1.30 就會出亂碼。
還未計FreeNAS原生有Bittorrent client，基本上可以選定FreeNAS了。
RAID管理，Openfiler LVM+XFS vs FreeNAS ZFS。
在RAID管理方面，Openfiler較強
用到電腦做家用NAS，差不多一定會用RAID。
在空間擴展方面，單以WEB面介面來比較，FreeNAS 較好。因為FreeNAS能用WEB介面使ZFS不斷以Stripe方法擴展。當然Stripe不是真正的RAID。
而Openfiler的Software RAID 只有建立array及加HDD入array為HOT SPARE功能。而且新建的array也不能加到現有的share folder入面。
但Openfiler的優勢是LVM可以在console用指令擴展array.
例如把4碟RAID5加多2碟成為6碟RAID5。
返而FreeNAS的ZFS未能做到。
Finally, LINUX WIN
餘下來的問題是選擇，要功能強大的Openfiler，但沒有UTF8 FTP支援。還是要簡單好用，但RAID未能逹標的FreeNAS?
其實最簡單就要令Openfiler入面的proftpd升給就可以。
設定方法、待續..
]]></description>
			<content:encoded><![CDATA[<p>早在一個月前已開始準備在家建立一台NAS，當時還未選定用FreeNAS還是Openfiler。<br />
剛好有個PROJECT要為ESXi準備NAS Storage，所以返復測試了兩者。</p>
<p>今次測試的版本<br />
Openfiler 2.3<br />
FreeNAS 0.7</p>
<p><strong>在驅動方面, 如終是LINUX的Openfiler佔優。</strong><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/System-Update.png" title="System Update" rel="lightbox[440]" rel="lightbox[440]"><img class="size-thumbnail wp-image-446 alignright" title="System Update" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/System-Update-150x150.png" alt="" width="150" height="150" /></a><br />
因為Openfiler 的Kernel 可以在Web介面上更新，而且想自己Compile Driver 也比較易。<br />
無論在ESX下使用VMXNET3、還是ATOM NanoITX用RTL8111C的JUMBOFRAME支援上，比起使用FreeBSD 7.2的FreeNAS好。</p>
<p>FreeBSD 對於Realtek 8111的jumboframe支援應該要到 FreeBSD 8.0 才能解決。</p>
<p><strong>論功能，FreeNAS 佔優</strong><br />
兩者皆有 iSCSI Target, iSCSI Initiator, NFS, SMB, FTP</p>
<p>但在FTP方面, FreeNAS 佔優。<br />
FreeNAS用proftpd 1.31, 而Openfiler只是proftpd 1.30。雖然版本號相差很少，但可用性就大有不同。<br />
FreeNAS是可以用UTF8的. 用UTF8支援的FTP CLIENT可以見到完整的檔名。而proftpd 1.30 就會出亂碼。</p>
<p>還未計FreeNAS原生有Bittorrent client，基本上可以選定FreeNAS了。</p>
<p><strong>RAID管理，Openfiler LVM+XFS vs FreeNAS ZFS。</strong><br />
在RAID管理方面，Openfiler較強</p>
<p>用到電腦做家用NAS，差不多一定會用RAID。</p>
<p>在空間擴展方面，單以WEB面介面來比較，FreeNAS 較好。因為FreeNAS能用WEB介面使ZFS不斷以Stripe方法擴展。當然Stripe不是真正的RAID。<br />
而Openfiler的Software RAID 只有建立array及加HDD入array為HOT SPARE功能。而且新建的array也不能加到現有的share folder入面。</p>
<p>但Openfiler的優勢是LVM可以在console用指令擴展array.<br />
例如把4碟RAID5加多2碟成為6碟RAID5。</p>
<p>返而FreeNAS的ZFS未能做到。</p>
<p><strong>Finally, LINUX WIN</strong><br />
餘下來的問題是選擇，要功能強大的Openfiler，但沒有UTF8 FTP支援。還是要簡單好用，但RAID未能逹標的FreeNAS?<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/proftpd-1.32-on-openfiler.png" title="proftpd 1.32 on  openfiler" rel="lightbox[440]" rel="lightbox[440]"><img class="size-medium wp-image-445 alignright" title="proftpd 1.32 on  openfiler" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/proftpd-1.32-on-openfiler-292x300.png" alt="" width="292" height="300" /></a></p>
<p>其實最簡單就要令Openfiler入面的proftpd升給就可以。</p>
<p>設定方法、待續..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/01/openfiler-vs-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Nexus One</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/01/google-nexus-one/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/01/google-nexus-one/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 09:57:42 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Nexus One]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=430</guid>
		<description><![CDATA[同事的, 今天送到.


]]></description>
			<content:encoded><![CDATA[<p>同事的, 今天送到.</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/DSC8384.jpg" title="_DSC8384" rel="lightbox[430]" rel="lightbox[430]"><img class="alignnone size-medium wp-image-431" title="_DSC8384" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/DSC8384-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/DSC8385.jpg" title="_DSC8385" rel="lightbox[430]" rel="lightbox[430]"><img class="alignnone size-medium wp-image-432" title="_DSC8385" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/DSC8385-199x300.jpg" alt="" width="199" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/01/google-nexus-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
