mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-08 23:14:06 +08:00
15 lines
960 B
HTML
15 lines
960 B
HTML
<h1 id="lvscan">lvscan</h1>
|
||
<p>扫描逻辑卷</p>
|
||
<h2 id="补充说明">补充说明</h2>
|
||
<p><strong>lvscan命令</strong> 用于扫描当前系统中存在的所有的LVM逻辑卷。使用lvscan指令可以发现系统中的所有逻辑卷,及其对应的设备文件。</p>
|
||
<h3 id="语法">语法</h3>
|
||
<pre><code class="language-bash">lvscan(选项)</code></pre>
|
||
<h3 id="选项">选项</h3>
|
||
<pre><code class="language-bash">-b:显示逻辑卷的主设备和次设备号。</code></pre>
|
||
<h3 id="实例">实例</h3>
|
||
<p>使用lvscan命令扫描系统中的所有逻辑卷。在命令行中输入下面的命令:</p>
|
||
<pre><code class="language-bash">[root@localhost ~]# lvscan #扫描所有的逻辑卷</code></pre>
|
||
<p>输出信息如下:</p>
|
||
<pre><code class="language-bash">ACTIVE '/dev/vg1000/lvol0' [200.00 MB] inherit</code></pre>
|
||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|