Pvremove: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
</pre> | </pre> | ||
If the physical volume is used by a volume group, the | 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.