diff options
author | Alasdair Kergon <agk@redhat.com> | 2002-01-10 23:21:07 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2002-01-10 23:21:07 +0000 |
commit | 4a624ca05565fb3e6cb12a588823b551a528e86a (patch) | |
tree | 5ca3977611392f65a44be29f43559202074334cd /tools/vgextend.c | |
parent | c6cc24ea3f84672e8e33855eeb2de0fda7019107 (diff) | |
download | lvm2-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/vgextend.c')
-rw-r--r-- | tools/vgextend.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/vgextend.c b/tools/vgextend.c index 59ac88e8..1938cb00 100644 --- a/tools/vgextend.c +++ b/tools/vgextend.c @@ -46,11 +46,6 @@ int vgextend(int argc, char **argv) return ECMD_FAILED; } -/******* Ignore active - if (!(vg->status & ACTIVE)) - log_error("Volume group '%s' is not active.", vg_name); -********/ - if (!(vg->status & RESIZEABLE_VG)) { log_error("Volume group '%s' is not resizeable.", vg_name); return ECMD_FAILED; |