ubuntu: deactivate LVs and VGs before removing them.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 7 Dec 2010 17:55:38 +0000 (17:55 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 7 Dec 2010 17:57:08 +0000 (17:57 +0000)
commit0942cab0375cb445cc8edfba87ea82a703383964
tree7f4a3059f4d788e8c60dec3402b2cc24ec36ee49
parent1c63d8239a9a05eeafd4e4b8c882200bc68a3109
ubuntu: deactivate LVs and VGs before removing them.

Even with the '-f' option, LVM on Ubuntu sometimes cannot remove
active LVs and VGs.

Change lvm-remove-all so it deactivates each LV and VG before
removing them.
daemon/lvm.c