libvirt/src/storage
Chang Liu 3c5405149b storage: Fallback to use lvchange first if lvremove fails
virStorageBackendLogicalDeleteVol() could not remove the lv with error
"could not remove open logical volume" sometimes. Generally it's caused
by the volume is still active, even if lvremove tries to remove it with
option "--force".

This patch is to fix it by disbale the lv first using "lvchange -aln"
and "lvremove -f" afterwards if the direct "lvremove -f" failed.
2011-11-22 15:24:25 +08:00
..
parthelper.c Fix parted sector size assumption 2011-09-01 10:46:31 +01:00
storage_backend_disk.c storage: forbid rebuilding existing disk storage pools 2011-11-14 18:19:40 +01:00
storage_backend_disk.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_fs.c storage: make previous leak less likely to regress 2011-10-24 19:42:49 -06:00
storage_backend_fs.h build: storage: Conditionaly compiled structure caused build fail on OSX 2011-09-16 21:03:50 +08:00
storage_backend_iscsi.c build: drop useless dirent.h includes 2011-11-11 14:12:37 -07:00
storage_backend_iscsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_logical.c storage: Fallback to use lvchange first if lvremove fails 2011-11-22 15:24:25 +08:00
storage_backend_logical.h Fix two out-of-date comments in LVM backend 2011-04-17 08:37:31 +02:00
storage_backend_mpath.c build: drop useless dirent.h includes 2011-11-11 14:12:37 -07:00
storage_backend_mpath.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_scsi.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
storage_backend_scsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend.c storage: avoid null deref on qemu-img failure 2011-10-26 10:58:00 -06:00
storage_backend.h lvm storage backend: handle command_names=1 in lvm.conf 2011-09-30 15:17:44 -06:00
storage_driver.c storage: Do not break the whole vol lookup process in the middle 2011-09-27 08:38:12 +08:00
storage_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00