<?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 &#187; RAID</title>
	<atom:link href="http://www.stephenyeong.idv.hk/wp/tag/raid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stephenyeong.idv.hk/wp</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 16 Aug 2010 08:44:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NAS 2010 Final</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 14:17:16 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=567</guid>
		<description><![CDATA[等埋第二隻WINGSONIC MRA508同DELL SAS 6i 隻NAS終於可以UPGRADE了.
原本RAID5是4隻1TB (3TB 可用), 加多兩隻1.5TB (每隻只用1TB個RAID) 成為5TB儲存空間.
Rebuild 做得多，EMC FC SAN grow 也試過，LINUX 實機RAID5 grow 就第一次。
每隻HDD 14MB/s 寫入, 1TB Disk就要 1,000,000MB / 14 / 3600 = 19hr 才完.
]]></description>
			<content:encoded><![CDATA[<p>等埋第二隻WINGSONIC MRA508同DELL SAS 6i 隻NAS終於可以UPGRADE了.</p>
<p>原本RAID5是4隻1TB (3TB 可用), 加多兩隻1.5TB (每隻只用1TB個RAID) 成為5TB儲存空間.</p>
<p>Rebuild 做得多，EMC FC SAN grow 也試過，LINUX 實機RAID5 grow 就第一次。<br />
每隻HDD 14MB/s 寫入, 1TB Disk就要 1,000,000MB / 14 / 3600 = 19hr 才完.<br />

<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/expend-raid.png" title="由4碟RAID5轉換至6碟RAID5" rel="lightbox[singlepic383]">
	<img class="ngg-singlepic" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/cache/383__320x240_expend-raid.png" alt="Expending RAID" title="Expending RAID" />
</a>
</p>

<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/expend-raid2.png" title="Expending RAID#2" rel="lightbox[singlepic384]">
	<img class="ngg-singlepic" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/cache/384__320x240_expend-raid2.png" alt="Expending RAID#2" title="Expending RAID#2" />
</a>


<div class="ngg-galleryoverview" id="ngg-gallery-28-567">


	<!-- 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=28&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-369" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9146.jpg" title="MSR508" rel="lightbox[set_28]">
								<img title="dsc9146" alt="dsc9146" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9146.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-370" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9147.jpg" title="Unlock" rel="lightbox[set_28]">
								<img title="dsc9147" alt="dsc9147" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9147.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-371" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9149.jpg" title="Locked" rel="lightbox[set_28]">
								<img title="dsc9149" alt="dsc9149" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9149.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-372" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9150.jpg" title="免TRAY HOTSWAP" rel="lightbox[set_28]">
								<img title="dsc9150" alt="dsc9150" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9150.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-373" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9152.jpg" title="12CM FAN." rel="lightbox[set_28]">
								<img title="dsc9152" alt="dsc9152" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9152.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-374" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9154.jpg" title="inside view" rel="lightbox[set_28]">
								<img title="dsc9154" alt="dsc9154" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9154.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>



<div class="ngg-galleryoverview" id="ngg-gallery-29-567">


	<!-- 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=29&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-378" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9979.jpg" title="兩隻WINGSONIC MRA508" rel="lightbox[set_29]">
								<img title="2xMRA508" alt="2xMRA508" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9979.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-379" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9983.jpg" title="塊主機板相對機相有點細" rel="lightbox[set_29]">
								<img title="ITX ATOM" alt="ITX ATOM" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9983.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-380" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9985.jpg" title="DELL SAS 6i = LSI 1068 SAS" rel="lightbox[set_29]">
								<img title="SAS6i" alt="SAS6i" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9985.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-381" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9987.jpg" title="Antec EarthWatt 380 80Plus" rel="lightbox[set_29]">
								<img title="EA380" alt="EA380" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9987.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-382" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9989.jpg" title="完成" rel="lightbox[set_29]">
								<img title="Finish" alt="Finish" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9989.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-383" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/expend-raid.png" title="由4碟RAID5轉換至6碟RAID5" rel="lightbox[set_29]">
								<img title="Expending RAID" alt="Expending RAID" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_expend-raid.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-384" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/expend-raid2.png" title="Expending RAID#2" rel="lightbox[set_29]">
								<img title="Expending RAID#2" alt="Expending RAID#2" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_expend-raid2.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-377" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/after-expend.png" title="resize 完RAID後, 用指令放大個XFS,
見到SHARE VOLUME 大了." rel="lightbox[set_29]" >
								<img title="After Expend" alt="After Expend" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_after-expend.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-376" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/after-expend-smb-speed.png" title="由Network share 下載檔案, 有50MB/s" rel="lightbox[set_29]">
								<img title="SMB Test" alt="SMB Test" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_after-expend-smb-speed.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-375" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/after-expend-ftp-read.png" title="用FTP下載檔案, 基本上快過測試電腦的寫入速度. " rel="lightbox[set_29]">
								<img title="FTP TEST" alt="FTP TEST" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_after-expend-ftp-read.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/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>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]"><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]"><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]"><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]"><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]"><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]"><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]"><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]"><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]"><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]"><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]"><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]"><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]"><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>
	</channel>
</rss>
