2019-04-21 11:50:48 +08:00

20 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="pvs">pvs</h1>
<p>输出物理卷信息报表</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>pvs命令</strong> 用于输出格式化的物理卷信息报表。使用pvs命令仅能得到物理卷的概要信息如果要得到更加详细的信息可以使用pvdisplay命令。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">pvs(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">--noheadings不输出标题头
--nosuffix不输出空间大小的单位。</code></pre>
<h3 id="参数">参数</h3>
<p>物理卷:要显示报表的物理卷列表。</p>
<h3 id="实例">实例</h3>
<p>使用pvs命令显示系统中所有物理卷的信息报表。在命令行中输入下面的命令</p>
<pre><code class="language-bash">pvs #输出物理卷信息报表 </code></pre>
<p>输出信息如下:</p>
<pre><code class="language-bash">PV VG fmt Attr PSize PFree
/dev/sdb1 vg1000 lvm2 -- 100.00M 100.00M
/dev/sdb2 lvm2 -- 101.98M 101.98M</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->