uTools-Manuals/docs/linux/vgextend.html
2019-04-20 13:36:40 +08:00

21 lines
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="vgextend">vgextend</h1>
<p>向卷组中添加物理卷</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>vgextend命令</strong> 用于动态扩展LVM卷组它通过向卷组中添加物理卷来增加卷组的容量。LVM卷组中的物理卷可以在使用vgcreate命令创建卷组时添加也可以使用vgextend命令动态的添加。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">vgextend(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-d调试模式
-t仅测试。</code></pre>
<h3 id="参数">参数</h3>
<ul>
<li>卷组:指定要操作的卷组名称;</li>
<li>物理卷列表:指定要添加到卷组中的物理卷列表。</li>
</ul>
<h3 id="实例">实例</h3>
<p>使用vgextend命令向卷组“vg2000”中添加物理卷。在命令行中输入下面的命令</p>
<pre><code class="language-bash">[root@localhost ~]# vgextend vg2000 /dev/sdb2 #将物理卷&quot;/dev/sdb2&quot;加入卷组&quot;vg2000&quot;</code></pre>
<p>输出信息如下:</p>
<pre><code class="language-bash">Volume group &quot;vg2000&quot; successfully extended</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->