<?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>【知行合一】-Poople&#039;s Blog &#187; storage</title>
	<atom:link href="http://99dev.net/archives/tag/storage/feed" rel="self" type="application/rss+xml" />
	<link>http://99dev.net</link>
	<description>智巧终归庸俗，雄谋只余虚话</description>
	<lastBuildDate>Fri, 23 Jul 2010 09:52:36 +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>[Original]测试Netapp与Windows Server域扩展（基于Linux+NetApp Simulator）</title>
		<link>http://99dev.net/archives/779</link>
		<comments>http://99dev.net/archives/779#comments</comments>
		<pubDate>Sun, 14 Mar 2010 08:18:25 +0000</pubDate>
		<dc:creator>蒼</dc:creator>
				<category><![CDATA[其他Linux技术]]></category>
		<category><![CDATA[系统架构]]></category>
		<category><![CDATA[网络管理]]></category>
		<category><![CDATA[Netapp]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://99dev.net/archives/779</guid>
		<description><![CDATA[详细方法官方文档说得很清楚，请移步文章末尾的附件。
#文中提到Data Ontap为Netapp存储的操作系统，基于*Nix定制
几个注意点：
1.需要域控制器上面同时有DNS server。对域控制器不熟的兄弟，可以利用“Windows2003 EE &#8211; 管理工具 &#8211; 管理您的服务器 &#8211; 添加删除角色 -第一台服务器”模式安装。这会把常用的Service都装上，然后移除不需要的服务即可。
<span class="readmore"><a href="http://99dev.net/archives/779" title="[Original]测试Netapp与Windows Server域扩展（基于Linux+NetApp Simulator）" target="_blank">阅读全文——共970字</a></span>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">详细方法官方文档说得很清楚，请移步文章末尾的附件。</font></span></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">#文中提到Data Ontap为Netapp存储的操作系统，基于*Nix定制</font></span></span></p>
<p><span style="font-size: x-small"><strong><span style="font-size: x-small"><font size="2">几个注意点：</font></span></strong></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2"><strong>1.</strong>需要域控制器上面同时有DNS server。对域控制器不熟的兄弟，可以利用“Windows2003 EE &#8211; 管理工具 &#8211; 管理您的服务器 &#8211; 添加删除角色 -第一台服务器”模式安装。这会把常用的Service都装上，然后移除不需要的服务即可。</font></span></span></p>
<p> <span id="more-779"></span><font size="2"></font><span style="font-size: x-small"></span><span style="font-size: x-small"><span style="font-size: x-small"><font size="2"><strong>2.</strong>需要保持Data Ontap和DC服务器时间误差在5分钟以内。否则，客户机登陆CIFS共享时，将会有“权限不足”等的错误提示。同时，NetApp的console界面返回如下信息</font></span></span>
</p>
<blockquote><p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">NTN3600A&gt; Sat Mar 13 11:30:18 GMT [cifs.trace.GSS:error]: AUTH: Unable to acquire filer credentials: (0&#215;96c73a25) Filer and domain time differ by more than 5 minutes.</font></span></span></p>
</blockquote>
<p><span style="font-size: x-small"><font size="2"><span style="font-size: x-small">在Netapp WebUI中调整时间，注意，时区必须选择“PRC”。Data Ontap</span><span style="font-size: x-small">的内核有点诡异，时区选择GMT+8也是不行的。</span></font></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2"></font></span></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2"><strong>3.</strong>Netapp首次安装，除了3张系统盘，额外的虚拟磁盘，均是不可用。具体表现如下</font></span></span></p>
<blockquote><p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2"><strong>a.</strong>启动时，显示如下信息：</font></span></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">“Disk v4.40 Shelf ? Bay ? [NETAPP VD-1000MB-FZ-520 0042] S/N [18084922] has no valid labels. It will be taken out of service to prevent possible data loss.”</font></span></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2"><strong>b.</strong>在“Data Ontap &#8211; Storage &#8211; Disk”里显示这几张盘为Broken</font></span></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2"><strong>c.</strong>做Aggregates时，会提示“at least 2 spare disks”</font></span></span></p>
</blockquote>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">可以做如下操作来解决这个问题</font></span></span></p>
<blockquote><p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">&gt;priv set diag           <br />*&gt;disk unfail -s v4.19 (where v4.19 is your disk,maybe 4.20,4.21…)            <br />*&gt;disk zero spares</font></span></span></p>
</blockquote>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2"></font></span></span></p>
<p><span style="font-size: x-small"><strong><span style="font-size: x-small"><font size="2">相关工具和文档</font></span></strong></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">1.IBM RedBook:</font></span><a href="http://ftp.99dev.net/Document%ce%c4%b5%b5%d7%ca%c1%cf/Setting%20up%20CIFS%20shares%20and%20joining%20the%20Active%20Dictory.pdf"><span style="font-size: x-small"><font size="2">Setting up CIFS shares and joining the Active Dictory</font></span></a></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">2.</font></span><a href="http://ftp.99dev.net/OS.ISO/7.2.1P1-sim-cdrom-image-v19.iso"><span style="font-size: x-small"><font size="2">模拟器：Netapp Simulator v7.1</font></span></a></span></p>
<p><span style="font-size: x-small"><span style="font-size: x-small"><font size="2">3.模拟器使用文档：</font></span><a href="http://ftp.99dev.net/[Document]%ce%c4%b5%b5%d7%ca%c1%cf/simulator7_3.pdf" target="_blank"><span style="font-size: x-small"><font size="2">Netapp Simulator User Guide v7.1</font></span></a></span></p>
<p><font size="2"></font></p>
]]></content:encoded>
			<wfw:commentRss>http://99dev.net/archives/779/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Original]NetAPP的负载均衡</title>
		<link>http://99dev.net/archives/778</link>
		<comments>http://99dev.net/archives/778#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:37:41 +0000</pubDate>
		<dc:creator>蒼</dc:creator>
				<category><![CDATA[系统架构]]></category>
		<category><![CDATA[网络管理]]></category>
		<category><![CDATA[Netapp]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://99dev.net/archives/778</guid>
		<description><![CDATA[NetAPP存储支持以下三种端口聚合方式：
a.single-mode&#160; 端口工作在active和standby状态，只有一个端口处于actvie状况。当active端口失效,系统自动从standby中选择一个端口成为active口。不需要交换机支持aggre，也不需要在交换机上做任何相关配置。所有端口具有相同的ＭＡＣ地址，实现最基本的链路冗余。
b.multi-mode(static)&#160; 与IEEE 802.3ad(static)兼容，所有端口处于active状态，具有相同的mac地址；能够检测端口的链路状态，但不能数据的丢失；交换机需要支持 LAC；;在multimode(包括static和dynamic)下，存储系统对outbound traffic支持三种load-balance算法:IP-based/MAC-based/Round robin;。
<span class="readmore"><a href="http://99dev.net/archives/778" title="[Original]NetAPP的负载均衡" target="_blank">阅读全文——共2795字</a></span>]]></description>
			<content:encoded><![CDATA[<p><font size="4"><strong>NetAPP存储支持以下三种端口聚合方式：</strong></font></p>
<p><font size="2">a.<strong>single-mode&#160; </strong>端口工作在active和standby状态，只有一个端口处于actvie状况。当active端口失效,系统自动从standby中选择一个端口成为active口。不需要交换机支持aggre，也不需要在交换机上做任何相关配置。所有端口具有相同的ＭＡＣ地址，实现最基本的链路冗余。</font></p>
<p><font size="2">b.<strong>multi-mode(static)&#160; </strong>与IEEE 802.3ad(static)兼容，所有端口处于active状态，具有相同的mac地址；能够检测端口的链路状态，但不能数据的丢失；交换机需要支持 LAC；;在multimode(包括static和dynamic)下，存储系统对outbound traffic支持三种load-balance算法:IP-based/MAC-based/Round robin;。</font></p>
<p><font size="2">c.<strong>multi-mode(dynamic)&#160; </strong>与IEEE 802.3ad(dynamic)兼容，即lLACP协议(cisco叫做PAgP)，所有端口均处于active状态，具有相同的mac地址。交换机需要支持LACP。在lacp下,vif接口必须配置为 first-level，并且LB应该配置为IP-based(这也是默认方式)；在lacp下，存储系统不仅能检测链路的丢失,还能检测数据流的丢失，因此该模式与HA环境相兼容。<strong>此种模式有其局限性，只能使用IP Balance算法。</strong></font></p>
<p> <span id="more-778"></span>
<p><font size="2"></font></p>
<p><font size="4"><strong>三种load-balance算法的比较：</strong></font></p>
<p><font size="2">a. <strong>ip balance&#160; </strong>根据来源IP动态负载均衡，得出的结果不会太平均。故障切换，会有一个丢包。在故障恢复后，会将流量重定向回该端口。      <br /></font><font size="2"></font></p>
<p><font size="2">b. <strong>mac balance&#160; </strong>多个不同mac地址的端口，平均分配负载。比较有意思的是，长期测试之后，会发现，其中接收包都集中在一个端口，发送包集中在另一个端口。在拔掉一个接口的情况下，另一个接口会接管所有流量。在网络断掉的一瞬间，会有一个丢包。      <br /></font></p>
<p><font size="2">c. <strong>rr balance （Round-Robin Scheduling） </strong>轮询调度算法的原理是每一次把来自用户的请求轮流分配给内部中的服务器，从1开始，直到N(内部服务器个数)，然后重新开始循环。适用于请求方软硬件条件和请求数差不多的情况。</font></p>
<p><font size="2">d. <strong>port balance</strong>方式下，所有流量由两个端口均衡，得出的结果平均。在网络断掉的一瞬间，会有一个丢包。从端口和带宽利用率来考虑，这是最佳方式。</font></p>
<p><font size="2">以上所说丢包，都是基于连续ping测试。</font></p>
<p><font size="4"><strong>以下是IBM NS3600做VIF的一个实例</strong></font></p>
<blockquote><p>NTN3600B&gt; ifconfig e0a down     <br />NTN3600B&gt; ifconfig e0b down      <br />NTN3600B&gt; ifconfig vif1 down      <br />ifconfig: vif1: no such interface      <br />NTN3600B&gt; vif destroy vif1      <br />vif1 is not a valid vifname       <br />NTN3600B&gt; vif create multi vif1 -b port e0a e0b       <br />NTN3600B&gt; ifconfig vif1 192.168.125.2      <br />NTN3600B&gt; ifconfig vif1 up      <br />NTN3600B&gt; ping 192.168.125.2      <br />192.168.125.2 is alive</p>
<p>NTN3600B&gt; vif stat vif1     <br />Virtual interface (trunk) vif1      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; e0b&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; e0a&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; Pkts In&#160;&#160; Pkts Out&#160; Pkts In&#160;&#160; Pkts Out      <br />&#160; 1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 83&#160;&#160;&#160;&#160;&#160;&#160;&#160; 66&#160;&#160;&#160;&#160;&#160;&#160;&#160; 23&#160;&#160;&#160;&#160;&#160; <br />&#160; 0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 3&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 3&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; 1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 5&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; 0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; 0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; 0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; 0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; 0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; 0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160; 0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0&#160;&#160;&#160;&#160;&#160;&#160; </p>
<p>NTN3600B&gt; vif status&#160;&#160; <br />default: transmit &#8216;IP Load balancing&#8217;, VIF Type &#8216;multi_mode&#8217;, fail &#8216;log&#8217;      <br />vif1: 2 links, transmit &#8216;IP+port Load balancing&#8217;, VIF Type &#8216;multi_mode&#8217; fail &#8216;default&#8217;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; VIF Status&#160;&#160;&#160;&#160; Up&#160;&#160;&#160;&#160;&#160; Addr_set       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; up:      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; e0b: state up, since 10Mar2010 14:02:01 (00:02:45)      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mediatype: auto-1000t-fd-up      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; flags: enabled      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; input packets 2, input bytes 128      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; output packets 131, output bytes 9414      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; up indications 1, broken indications 0      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; drops (if) 0, drops (link) 0      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; indication: up at 10Mar2010 14:02:01      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; consecutive 164, transitions 1      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; e0a: state up, since 10Mar2010 14:02:01 (00:02:45)      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mediatype: auto-1000t-fd-up      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; flags: enabled      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; input packets 113, input bytes 9006      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; output packets 23, output bytes 1576      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; up indications 1, broken indications 0      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; drops (if) 0, drops (link) 0      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; indication: up at 10Mar2010 14:02:01      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; consecutive 164, transitions 1</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://99dev.net/archives/778/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Original]企业NAS存储方案设计和部署</title>
		<link>http://99dev.net/archives/740</link>
		<comments>http://99dev.net/archives/740#comments</comments>
		<pubDate>Wed, 06 Jan 2010 03:22:24 +0000</pubDate>
		<dc:creator>蒼</dc:creator>
				<category><![CDATA[其他Linux技术]]></category>
		<category><![CDATA[系统架构]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://99dev.net/archives/740</guid>
		<description><![CDATA[一、硬件选择      存储系统，容易出现瓶颈的子系统，分别是网络、内存、磁盘，最不容易出现瓶颈的子系统为CPU。更多详情参照《服务器性能瓶颈分析》。
参考配置        CPU&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 双核酷睿处理器E7400,2.8GHz及以上         内存&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2GB 内存, 1&#215;1GB, 667MHz, DDR-2         硬盘&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1000GB 3.5英寸, 7200RPM SATA 硬盘*3         网络适配器&#160;&#160; Broadcom 5722 千兆以太网集成控制卡*2（或者同级别Intel系列）         Raid级别&#160;&#160;&#160;&#160; Raid 5         管理系统&#160;&#160;&#160;&#160;&#160; FreeNAS 0.69及以上
<span class="readmore"><a href="http://99dev.net/archives/740" title="[Original]企业NAS存储方案设计和部署" target="_blank">阅读全文——共1495字</a></span>]]></description>
			<content:encoded><![CDATA[<p><font size="2">一、硬件选择      <br />存储系统，容易出现瓶颈的子系统，分别是网络、内存、磁盘，最不容易出现瓶颈的子系统为CPU。更多详情参照《服务器性能瓶颈分析》。</font></p>
<blockquote><p><font size="2">参考配置        <br />CPU&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 双核酷睿处理器E7400,2.8GHz及以上         <br />内存&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2GB 内存, 1&#215;1GB, 667MHz, DDR-2         <br />硬盘&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1000GB 3.5英寸, 7200RPM SATA 硬盘*3         <br />网络适配器&#160;&#160; Broadcom 5722 千兆以太网集成控制卡*2（或者同级别Intel系列）         <br />Raid级别&#160;&#160;&#160;&#160; Raid 5         <br />管理系统&#160;&#160;&#160;&#160;&#160; FreeNAS 0.69及以上</font></p>
</blockquote>
<p><font size="2">二、相关说明</font></p>
<p> <span id="more-740"></span>
<p><font size="2"></font></p>
<p><font size="2">■文件服务是关键服务，宕机一小时，都会有很大的压力，建议选择品牌服务器。</font></p>
<p><font size="2">■Raid5不建议使用板载Raid，俗称BIOS Raid，功能不够完善。一个功能完善的Raid控制器，应该包括创建/删除，状态监控，故障恢复(Rebuild)功能，板载Raid一般缺乏后二者功能，采用此方案是相当冒险的。(注：Linux主要是使用dmraid 套件搭配 device-mapper 功能，来存取BIOS RAID硬盘。对Raid0和1支持较好)</font></p>
<p><font size="2">因此，推荐外置SATA/SCSI Raid扩展卡。      </p>
<p>■一定要上Raid5，最低要求是hdd×3，但还是建议插满阵列卡的所有slot。       <br />●raid 5只保障了磁盘的安全；如果文件被删除了，怎么办？如果文件被清空保存了，又怎么办？       <br />建议每天做备份（完全备份/增量备份），磁带或者远程都可以。       </p>
<p>●如果文件系统撑满了怎么办？       <br />建议上LVM，这是一项在企业级Unix上应用多年的管理机制了，相当成熟了。       </p>
<p>●要兼顾安全和灵活，可以尝试SUN Solaris的ZFS文件系统，目前Solaris、FreeBSD、FreeNAS都已经支持该文件系统了，其中FreeBSD和FreeNAS的ZFS Support都还未release，建议要采用该文件系统的兄弟，直接上Solaris For x86或者OpenSolaris。ZFS文件系统占用内存稍大，建议上更大的内存。       </p>
<p>■一定要多网卡冗余，单块G网卡有时候会在吞吐量大的时候假死。       <br />多网卡捆绑一个IP，Intel已有软件可以实现，或者是交换机上面做端口捆绑。       <br /></font></p>
<p><font size="2">■存储管理系统的话，如果有较好的*Nix基础，可以采用Linux或者FreeBSD做SoftRaid(mdadm套件)+LVM。 1U的机器的话，LVM就不用做了。1U机器最大只能塞下4张盘，1张放存储管理系统，只有3张可以用于Raid5，相当于实际上只有一个PV，实施LVM是没有什么意义的。      </p>
<p>没有较好的*nix基础的话，<strong><font color="#ff0000">推荐使用FreeNAS系统</font></strong>。这是一个定制过的FreeBSD系统，有友好的WEB管理界面，功能丰富。事实上，笔者也是用这个系统来管理存储的。       <br /></font></p>
<p><font size="2"></font></p>
<p><font size="2">三、FreeNAS安装和配置      <br />■配置手册      <br />■过程截图</font></p>
<p><font size="2">四、挂载和测试      </p>
<p>■如果是使用iSCSI协议(支持*nix及Win系统)       <br />■如果是使用NFS协议(只支持*nix系统)</font></p>
<p><font size="2">五、其他参考</font></p>
<p><font size="2">■Linux中建立和模拟raid故障&#160; </font><a title="http://bbs.zdnet.com.cn/archiver/tid-199958.html" href="http://bbs.zdnet.com.cn/archiver/tid-199958.html"><font size="2">http://bbs.zdnet.com.cn/archiver/tid-199958.html</font></a><font size="2">      <br />■FreeNAS中设置默认路由</font></p>
<blockquote><p><font size="2"><strong>配置文件方式</strong>         <br />/etc/rc.conf         <br />defaultrouter=&quot;10.20.30.1&quot; </font><font size="2">       <br /><strong>CLI方式          <br /></strong># route add default 10.20.30.1</font></p>
</blockquote>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">&#160;</font></p>
<p><font size="2">df&#160;&#160; -&#160;&#160;&#160; 文件系统的使用情况      <br />dd&#160;&#160;&#160;&#160; -&#160;&#160;&#160;&#160; 转换和输出数据       <br />hdparm -&#160;&#160;&#160; 显示和设置硬盘参数       <br />bonnie++ &#8211; 系统IO性能测试       <br />iozone&#160;&#160; -&#160; 系统IO性能测试</font></p>
<p><font size="2"></font></p>
]]></content:encoded>
			<wfw:commentRss>http://99dev.net/archives/740/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
