Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.2.5. 删​​​​​​​除​​​​​​​物​​​​​​​理​​​​​​​卷​​​​​​​

如​​​​​​​果​​​​​​​ LVM 不​​​​​​​再​​​​​​​使​​​​​​​用​​​​​​​某​​​​​​​个​​​​​​​设​​​​​​​备​​​​​​​,您​​​​​​​可​​​​​​​以​​​​​​​使​​​​​​​用​​​​​​​ pvremove 命​​​​​​​令​​​​​​​删​​​​​​​除​​​​​​​ LVM 标​​​​​​​签​​​​​​​。​​​​​​​执​​​​​​​行​​​​​​​ pvremove 会​​​​​​​将​​​​​​​空​​​​​​​白​​​​​​​物​​​​​​​理​​​​​​​卷​​​​​​​的​​​​​​​ LVM 元​​​​​​​数​​​​​​​据​​​​​​​归​​​​​​​零​​​​​​​。​​​​​​​
If the physical volume you want to remove is currently part of a volume group, you must remove it from the volume group with the vgreduce command, as described in 第 4.3.6 节 “从​​​​​​​卷​​​​​​​组​​​​​​​中​​​​​​​删​​​​​​​除​​​​​​​物​​​​​​​理​​​​​​​卷​​​​​​​”.
# pvremove /dev/ram15
  Labels on physical volume "/dev/ram15" successfully wiped