Pvremove: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= =Overview= Removes a physical volume by removing all LVM labels. <pre> pvremove </pre>")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=
* [[Linux_Logical_Volume_Management_Operations#Physical_Volume_Operations|Logical Volume Operations]]


=Overview=
=Overview=


Removes a physical volume by removing all LVM labels.
Removes a [[Linux_Logical_Volume_Management_Concepts#Physical_Volumes_.28PVs.29|physical volume]] by removing all LVM labels.
 
The association between volume groups and physical volumes can be obtained with with [[pvs]] or [[pvscan]].


<pre>
<pre>
pvremove
pvremove <physical-volume-path>
</pre>
</pre>
If the physical volume is used by a volume group, the volume group must be removed first with [[vgremove]].

Latest revision as of 17:48, 23 May 2017

Internal

Overview

Removes a physical volume by removing all LVM labels.

The association between volume groups and physical volumes can be obtained with with pvs or pvscan.

pvremove <physical-volume-path>

If the physical volume is used by a volume group, the volume group must be removed first with vgremove.