然后用umount 卸载掉你的逻辑卷
最后,用lvremove 卷组名/逻辑卷名删除该逻辑卷
比如vg0卷组下有个叫lv0的逻辑卷lvremove vg0/lv0
manpage 摘抄:
EXAMPLES
Remove the active logical volume lvol1 in volume group vg00 without asking for confirmation:
lvremove -f vg00/lvol1
Remove all logical volumes in volume group vg00:
lvremove vg00
首先备份好你的数据。然后用umount 卸载掉你的逻辑卷
最后,用lvremove 卷组名/逻辑卷名删除该逻辑卷
比如vg0卷组下有个叫lv0的逻辑卷lvremove vg0/lv0
manpage 摘抄:
EXAMPLES
Remove the active logical volume lvol1 in volume group vg00 without asking for confirmation:
lvremove -f vg00/lvol1
Remove all logical volumes in volume group vg00:
lvremove vg00
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)