Vgreduce: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= =Overview= vgreduce removes one or more unused physical volumes from a volume group. <pre> vgreduce <volume-group-name> <physical-volume-path> </pre>")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=
* [[Linux_Logical_Volume_Management_Operations#Volume_Group_Management_Operations|Logical Volume Operations]]


=Overview=
=Overview=


vgreduce removes one or more unused physical volumes from a volume group.
vgreduce removes one or more unused physical volumes from a volume group. The association between volume groups and physical volumes can be obtained with with [[pvs]] or [[pvscan]].


<pre>
<pre>
vgreduce <volume-group-name> <physical-volume-path>
vgreduce <volume-group-name> <physical-volume-path>
</pre>
Example:
<pre>
vgreduce docker_vg /dev/sdb1
</pre>
</pre>

Latest revision as of 13:57, 23 May 2017

Internal

Overview

vgreduce removes one or more unused physical volumes from a volume group. The association between volume groups and physical volumes can be obtained with with pvs or pvscan.

vgreduce <volume-group-name> <physical-volume-path>

Example:

vgreduce docker_vg /dev/sdb1