[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Force deactivate a logical volume (LVM2)



Is it possible to _force_ deactivate a logical volume in lvm2?

I've tried
# lvchange -an /dev/vg/foo, but I get
LV vg/foo in use: not removing

I want to test some raid function(raid 5, inside xen domU) so I need to 
deactivate the logical volume.
Searched google but cannot find something useful...
Any idea?

Thank you!

-- 
ck.Choy
choylists at gmail dot com



Reply to: