在centos5.8 上,删除逻辑卷时,总是报一个错Can't remove open logical volume 卷名

则解决方法就是:

先执行 swapoff -a

然后使用lvremove 卷名                     就能正常删除lv