summaryrefslogtreecommitdiffstats
path: root/tools/vgremove.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2002-01-10 23:21:07 +0000
committerAlasdair Kergon <agk@redhat.com>2002-01-10 23:21:07 +0000
commit4a624ca05565fb3e6cb12a588823b551a528e86a (patch)
tree5ca3977611392f65a44be29f43559202074334cd /tools/vgremove.c
parentc6cc24ea3f84672e8e33855eeb2de0fda7019107 (diff)
downloadlvm2-4a624ca05565fb3e6cb12a588823b551a528e86a.tar.gz
lvm2-4a624ca05565fb3e6cb12a588823b551a528e86a.tar.xz
lvm2-4a624ca05565fb3e6cb12a588823b551a528e86a.zip
o ACTIVE is no longer a status flag - lv_active() used to check if an LV
is active in the device-mapper. o Many operations can be carried out regardless of whether the VG is active or not. o vgscan does not activate anything - use vgchange. o Change lvrename to support renaming of active LVs. o Remove '//' appearing in some pathnames. o Dummy lv_check_segments() for compilation.
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r--tools/vgremove.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c
index d5dd8b48..8d9a4f1f 100644
--- a/tools/vgremove.c
+++ b/tools/vgremove.c
@@ -40,13 +40,6 @@ static int vgremove_single(const char *vg_name)
return ECMD_FAILED;
}
-/******* Ignore active status
- if (vg->status & ACTIVE) {
- log_error("Volume group %s is still active", vg_name);
- return ECMD_FAILED;
- }
-********/
-
if (vg->lv_count) {
log_error("Volume group %s still contains %d logical volume(s)",
vg_name, vg->lv_count);