Pvremove

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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 association must be deleted with vgreduce, or --force should be used.

Example:

pvremove /dev/sdb1