Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
4.2.5. 移除實體卷冊
若 LVM 已不再需要使用某個裝置,您可透過
pvremove
指令來將 LVM 標籤移除掉。執行 pvremove
指令可將一個空的實體卷冊上的 LVM metadata 零化掉。
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