Linux 技術支援
⇒
基礎篇
進階篇
補腦篇
指令索引
中⇒ENG
版權所有, 引用請註明出處
pvremove 移除 PV
pvremove
為
pvcreate
反動作,是一個 LVM 相關指令,功能為把 LVM 的物理卷 PV (Physical Volume) 移除 。
vremove
指令的語法如下:
pvremove [OPTIONS] [PV_NAME]
。
pvremove
指令的常用選項包括:
-f : 強制刪除,即使物理卷已在使用中。
-y : 對提示回答 yes
例:
#
pvremove /dev/sda1 /dev/sda2
←將〝/dev/sda1〞和〝/dev/sda2〞的 PV 移除
Labels on physical volume "/dev/sda1" successfully wiped.
Labels on physical volume "/dev/sda2" successfully wiped.
更多
pvremove
和相關的 LVM 範例操作參考
連結
。