uTools-Manuals/docs/linux/pvdisplay.html
2019-04-21 11:50:48 +08:00

22 lines
1.3 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="pvdisplay">pvdisplay</h1>
<p>显示物理卷的属性</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>pvdisplay命令</strong> 用于显示物理卷的属性。pvdisplay命令显示的物理卷信息包括物理卷名称、所属的卷组、物理卷大小、PE大小、总PE数、可用PE数、已分配的PE数和UUID。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">pvdisplay(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-s以短格式输出
-m显示PE到LE的映射。</code></pre>
<h3 id="参数">参数</h3>
<p>物理卷:要显示的物理卷对应的设备文件名。</p>
<h3 id="实例">实例</h3>
<p>使用pvdisplay命令显示指定的物理卷的基本信息。在命令行中输入下面的命令</p>
<pre><code class="language-bash">[root@localhost ~]# pvdisplay /dev/sdb1 #显示物理卷基本信息</code></pre>
<p>输出信息如下:</p>
<pre><code class="language-bash">&quot;/dev/sdb1&quot; is a new physical volume of &quot;101.94 MB&quot;
--- NEW Physical volume ---
PV Name /dev/sdb1
....省略部分输出内容......
PV UUID FOXiS2-Ghaj-Z0Mf- cdVZ-pfpk- dP9p-ifIZXN</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->