<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post//</link>
<title><![CDATA[[原]寻找未创建为PV的硬件设备]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[示例]]></category>
<pubDate>Sat, 14 Jun 2008 07:59:54 +0000</pubDate> 
<guid>https://www.linuxfly.org/post//</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;在使用lvm的系统中，首先需要把物理设别创建为PV，然后才能组成VG及创建LV逻辑盘。对于盘符不多的情况下，这通常不是问题，只要一一对应寻找即可。但这次在一个项目中，遇到的情况是：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">有三个系统共享一个盘柜，盘柜中划分了约30个LUN映射到系统中。由于不同系统连接到盘柜的路径不同，导致同一个LUN设备，在不同系统上其设备号并不相同。例如：在A系统上是/dev/sdx，而在B系统上则是/dev/sdy。</div></div><br/>&nbsp;&nbsp;&nbsp;&nbsp;这样，万一我需要在原有的系统上增加PV，需逐一手动匹配物理设备，并且不同系统上还需要匹配多次，相当麻烦。所以，我写了下面的脚本协助寻找那些仍未创建为PV的设备。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/lvm/" rel="tag">lvm</a> , <a href="https://www.linuxfly.org/tags/qla2300/" rel="tag">qla2300</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post//#blogcomment</link>
<title><![CDATA[[评论] [原]寻找未创建为PV的硬件设备]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://www.linuxfly.org/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>