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

19 lines
1.0 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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="pvremove">pvremove</h1>
<p>删除一个存在的物理卷</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>pvremove命令</strong> 用于删除一个存在的物理卷。使用pvremove指令删除物理卷时它将LVM分区上的物理卷信息删除使其不再被视为一个物理卷。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">pvremove(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-d调试模式
-f强制删除
-y对提问回答“yes”。</code></pre>
<h3 id="参数">参数</h3>
<p>物理卷:指定要删除的物理卷对应的设备文件名。</p>
<h3 id="实例">实例</h3>
<p>使用pvremove指令删除物理卷<code>/dev/sdb2</code>。在命令行中输入下面的命令:</p>
<pre><code class="language-bash">pvremove /dev/sdb2 #删除物理卷
Labels on physical volume &quot;/dev/sdb2&quot; successfully wiped
</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->