summaryrefslogtreecommitdiffstats
path: root/tools/vgextend.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2001-11-21 19:32:35 +0000
committerAlasdair Kergon <agk@redhat.com>2001-11-21 19:32:35 +0000
commit3080a754451caa789400f143f4091df89c3c5416 (patch)
treede5cd9e2627f2b20a440fec6d431d40b1640fa6b /tools/vgextend.c
parentab2799eb1497175e3a6eb62462e3fe857a37bb65 (diff)
downloadlvm2-3080a754451caa789400f143f4091df89c3c5416.tar.gz
lvm2-3080a754451caa789400f143f4091df89c3c5416.tar.xz
lvm2-3080a754451caa789400f143f4091df89c3c5416.zip
o activation & active status tests
o lvdisplay fields from kernel o update lv->size on resize
Diffstat (limited to 'tools/vgextend.c')
-rw-r--r--tools/vgextend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/vgextend.c b/tools/vgextend.c
index 0c3d1006..f8d01228 100644
--- a/tools/vgextend.c
+++ b/tools/vgextend.c
@@ -46,10 +46,10 @@ int vgextend(int argc, char **argv)
return ECMD_FAILED;
}
- if (!(vg->status & ACTIVE)) {
+/******* Ignore active
+ if (!(vg->status & ACTIVE))
log_error("Volume group '%s' is not active.", vg_name);
- return ECMD_FAILED;
- }
+********/
if (!(vg->status & EXTENDABLE_VG)) {
log_error("Volume group '%s' is not extendable.", vg_name);