无法删除打开的逻辑卷

时间:2011-08-18 08:54:54

标签: linux

我正在尝试删除逻辑卷,但它正在抛出错误:

无法删除打开的逻辑卷“TestDeliveries”

有没有人知道这个问题

1 个答案:

答案 0 :(得分:1)

试试这个。

while [ $? -eq "5" ]; do lvremove -f /dev/vg_laptop/lv_home ; 
done 
Can't remove open logical volume "lv_home" 
Can't remove open logical volume "lv_home" 
Can't remove open logical volume "lv_home" 
Logical volume "lv_home" successfully removed 

来自https://bugzilla.redhat.com/show_bug.cgi?id=577798