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/pvcreate.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/pvcreate.c')
-rw-r--r-- | tools/pvcreate.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c index 7a008fd0..3caa2594 100644 --- a/tools/pvcreate.c +++ b/tools/pvcreate.c @@ -50,13 +50,6 @@ static int pvcreate_check(const char *name) return 0; } -/******* Removed check - if (pv->status & ACTIVE) { - log_error("Can't create on active physical volume %s", name); - return 0; - } -********/ - /* we must have -ff to overwrite a non orphan */ if (arg_count(force_ARG) < 2) { log_error("Can't initialize physical volume %s of " |