Jonathan Earl Brassow
98e542d718
- I neglected to update this file on last check-in, which fixed
...
the MIRROR_NOTSYNCED flag being passed on to a linear lv when
converting from a mirror.
2007-08-30 18:53:32 +00:00
Jonathan Earl Brassow
a2cb3d17a7
When mirrors are created with the --nosync option, a status flag
...
(MIRROR_NOTSYNCED) is added to the LVM metadata. This flag is
not cleared when converting to linear. Subsequently, if you
up-convert the linear to a mirror, the flag remains - even though
an up-convert will always force a complete resync.
2007-08-29 20:19:11 +00:00
Dave Wysochanski
f603fe64bd
Modify lvremove to prompt for removal if LV active on other cluster nodes.
...
Add '-f' to vgremove to force removal of VG even if LVs exist.
Update vgremove man page for '-f'.
2007-08-28 16:14:49 +00:00
Alasdair Kergon
e4e02000ba
post-release
2007-08-24 21:05:15 +00:00
Alasdair Kergon
230948b96a
pre-release
2007-08-24 21:01:52 +00:00
Patrick Caulfield
d2fb8b66d7
Fix clvmd logging so you can get lvm-level debugging out of it.
2007-08-24 08:29:39 +00:00
Patrick Caulfield
5982271096
Locking P_global causes a cache refresh.
2007-08-23 15:43:20 +00:00
Alasdair Kergon
e935d21752
Introduce VG_GLOBAL lock type for vgscan/pvscan to trigger clvmd -R.
2007-08-23 15:02:26 +00:00
Patrick Caulfield
f608f30407
Force a device scan after init_full_scan_done() per agk.
2007-08-23 12:44:09 +00:00
Patrick Caulfield
88fc506bf0
Call init_full_scan_done() when refreshing the cache. This should fix clvmd -R.
2007-08-23 12:19:13 +00:00
Alasdair Kergon
3b3948f1d2
Change lvconvert_mirrors to use mirror segtype not striped.
2007-08-22 20:03:46 +00:00
Alasdair Kergon
ea041b12f1
Fix lvconvert_mirrors detection of number of existing mirrors.
2007-08-22 19:32:39 +00:00
Alasdair Kergon
21bc366486
Clean up numerous compiler warnings that crept in recently.
...
Remove several unused parameters from _allocate().
2007-08-22 14:38:18 +00:00
Jim Meyering
d65b20980b
Avoid static link failure with some SELinux libraries.
2007-08-21 20:32:29 +00:00
Alasdair Kergon
91953ca3aa
Fix (C) !
2007-08-21 19:56:18 +00:00
Alasdair Kergon
edb3374d32
Clean up mirrorlog argument processing.
...
Only permit --force, --verbose and --debug arguments to be repeated.
2007-08-21 19:46:36 +00:00
Alasdair Kergon
1f84815c12
Remove obsolete dmfs code from tree and update INSTALL.
2007-08-21 18:41:58 +00:00
Dave Wysochanski
16669b5aa0
Move guts of vgremove into lvm library.
...
Include archiver.h in metadata.c as a result of prior move.
2007-08-21 17:38:20 +00:00
Alasdair Kergon
6d7a6c4cf4
post-release
2007-08-21 17:03:07 +00:00
Dave Wysochanski
3d33abbb8c
Prepare to move guts of vgremove into lvm library.
...
Fixup force_t.
2007-08-21 16:40:33 +00:00
Alasdair Kergon
9cab88c59f
pre-release
2007-08-21 16:33:18 +00:00
Alasdair Kergon
147d5faccf
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
2007-08-21 16:26:07 +00:00
Alasdair Kergon
be6845999b
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
2007-08-20 20:55:30 +00:00
Dave Wysochanski
724ce8347b
Update WHATS_NEW for last checkin
2007-08-20 17:05:49 +00:00
Dave Wysochanski
cc78b9800d
Move lv_remove_single() into library (lv_manip.c, metadata-exported.h).
...
Move yes_no_prompt() into library (display.c, display.h).
Fixup includes as a result of movement of prior two functions.
Fixup force_t enum to be more descriptive.
2007-08-20 17:04:53 +00:00
Dave Wysochanski
9eb05d9761
Prepare to move guts of lvremove into lvm library
2007-08-20 16:16:54 +00:00
Jim Meyering
f8a9724fdb
factor out some duplication -- mostly I/O redirection
2007-08-20 12:06:35 +00:00
Patrick Caulfield
be313b1300
Allow clvmd debug to be turned on in a running daemon using clvmd -d
...
You can do with cluster-wide too, by adding -C
2007-08-17 11:51:23 +00:00
Alasdair Kergon
7a197a6220
Update to use autoconf 2.61, while still supporting 2.57.
2007-08-14 19:11:31 +00:00
Dave Wysochanski
b5cef7be3c
Remove unneeded WHATS_NEW entry
2007-08-10 14:24:43 +00:00
Dave Wysochanski
62af220c9e
Fix "lvconvert -s" from always failing with argument error message.
...
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.
2007-08-10 13:33:49 +00:00
Jonathan Earl Brassow
64119287c3
- change new log_ARG variable to more explicit mirrorlog_ARG.
2007-08-09 21:25:08 +00:00
Jonathan Earl Brassow
a6d4f21cdb
minor updates to the lvcreate/lvconvert man pages.
...
- put back reference to '--corelog'. It now says that it
is the same as '--log core'.
- other minor touches
2007-08-09 20:43:29 +00:00
Patrick Caulfield
6a6342f775
Add more cluster/clvmd information to lvmdump
2007-08-09 09:53:33 +00:00
Dave Wysochanski
be51e010b4
Remove extra checks for sub LV renaming.
...
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.
2007-08-08 18:00:36 +00:00
Dave Wysochanski
2835f025b6
A few more cleanups for lvrename of mirrors checkin:
...
* add struct lv_names for old/new names
* replace lv->status & MIRROR checks with lv_is_visible()
2007-08-07 18:55:38 +00:00
Dave Wysochanski
4f4d5fdc67
Some simple fixups for last checkin:
...
* remove "_" from "return_0"
* improve some naming and terminology
* add 'const'
2007-08-07 16:57:09 +00:00
Jim Meyering
08c9ff434b
Add "const" attributes where possible: first cut.
2007-08-07 09:06:05 +00:00
Dave Wysochanski
41a94b5400
Update a few comments
2007-08-06 21:11:27 +00:00
Dave Wysochanski
48bb503f12
Add entry for last checkin of lvrename mirror support
2007-08-06 20:38:41 +00:00
Dave Wysochanski
f58224119c
Add support for renaming mirrored LVs.
...
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
2007-08-06 20:35:48 +00:00
Jim Meyering
e5e120a502
For consistency, rename local variable: s/newname/new_name/g.
2007-08-06 14:57:48 +00:00
Alasdair Kergon
ee80c0f0e3
improve changelog
2007-08-06 13:09:46 +00:00
Jim Meyering
b7449ebc37
Make lv_rename's interface "const correct".
...
* lib/metadata/lv_manip.c (lv_rename): Make char* param "const".
* lib/metadata/metadata-exported.h: Update prototype, too.
2007-08-06 09:04:21 +00:00
Alasdair Kergon
27c7135097
Use NULL not 0.
...
Remove worthless comment.
2007-08-05 00:13:02 +00:00
Dave Wysochanski
b7cd307f9b
Factor out core of lvrename to lv_rename library function.
...
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
2007-08-03 21:22:10 +00:00
Petr Rockai
674cfe8071
Fix a possible segfault in libdevmapper-event. Thanks to Brian J. Wood
...
for noticing this.
2007-08-02 22:31:59 +00:00
Jonathan Earl Brassow
19583d115c
This patch changes the arguments that specify the mirror
...
log type. Previously, we had a '--corelog' argument that
would change the default type from 'disk' to 'core'. I
think that creates too much confusion - especially when
doing conversions on mirrors.
The new argument '--log' takes either "disk" or "core"
as a parameter. This could be expanded in the future
for additional logging types as well.
Examples:
# Creating a 2-way mirror
$> lvcreate -m1 ... # implicitly use default disk logging
$> lvcreate -m1 --log disk ... # explicit disk logging
$> lvcreate -m1 --log core ... # specify core logging
$> lvcreate -m1 --corelog ... # old way still works
# Conversion examples
$> lvconvert --log core ... # convert to core logging
$> lvconvert --log disk ... # convert to disk logging
$> lvconvert -mX --corelog ... # old way still works
$> lvconvert -mX ... # old way of converting to disk logging still works
Changes are reflected in the man pages.
2007-08-01 21:01:06 +00:00
Jonathan Earl Brassow
579d086d7a
- cleanup excessive indentation in tools/lvconvert.c:lvconvert_mirrors
2007-08-01 20:54:28 +00:00
Jonathan Earl Brassow
5efd97f108
lib/activate/activate.c:_lv_activate tries to monitor a device
...
regardless of whether it was successfully activated. Now fixed
to only monitor if it was successfully activated.
2007-08-01 20:29:07 +00:00