Alasdair Kergon
16628e6cea
Moved the obsolete test subdirectory to old-tests.
...
If you're using the CVS repository you'll need to remove it and check
it out again when we repopulate it.
2007-09-17 19:51:02 +00:00
Alasdair Kergon
7067c12991
Remove no-longer-correct restrictions on PV arg count with stripes/mirrors.
...
[E.g. They fail if tags or --alloc anywhere used.]
2007-09-17 17:18:37 +00:00
Alasdair Kergon
7b47e241e0
clarification
2007-09-17 17:06:31 +00:00
Alasdair Kergon
d1e46207a5
Fix strdup memory leak in str_list_dup().
2007-09-17 16:02:46 +00:00
Jim Meyering
2a04b97cbd
configure: regenerate, to remove vestige of an upcoming patch
2007-09-12 18:23:02 +00:00
Jim Meyering
e6c8ef59e0
Avoid static link failure with some SELinux libraries.
...
Author: Jim Meyering <jim@meyering.net>
2007-09-12 16:54:23 +00:00
Jim Meyering
d3380f41de
Diagnose invalid PE values given on the pvmove command line (64-bit systems).
...
* tools/toollib.c (xstrtouint32): New function.
(_parse_pes): Use xstrtouint32; don't cast strtoul's unsigned
long to uint32_t. Detect overflow.
Author: Jim Meyering <jim@meyering.net>
2007-09-11 20:12:54 +00:00
Dave Wysochanski
4ef1633969
Undo previous checkin - output format not good, info already available in other form(s)
2007-09-11 13:49:52 +00:00
Dave Wysochanski
57e593aab2
Add pvseg_free field to 'pvs' output
2007-09-10 20:05:29 +00:00
Jim Meyering
6461caacbb
Include strerror string in dev_open_flags' stat failure message.
...
* lib/device/dev-io.c (dev_open_flags):
Use log_sys_error after failed stat to report strerror(errno).
Use a slightly different diagnostic to report mismatched device number.
2007-09-07 11:24:19 +00:00
Dave Wysochanski
e5531e2a93
Fix last checkin
2007-09-06 22:35:01 +00:00
Dave Wysochanski
329402a614
Fixup _lvresize error return codes and modularize function
2007-09-06 21:08:16 +00:00
Dave Wysochanski
4656ed462e
prepare to move guts of vgrename into library function
2007-08-31 19:09:49 +00:00
Dave Wysochanski
96ddad91a9
move guts of pvresize into library
2007-08-30 20:30:41 +00:00
Dave Wysochanski
5eb40588d2
prepare to move guts of pvresize into library
2007-08-30 20:16:01 +00:00
Alasdair Kergon
58def149aa
Avoid error when --corelog is provided without --mirrorlog. (2.02.28)
...
Correct --mirrorlog argument name in man pages (not --log).
2007-08-30 19:34:19 +00:00
Jonathan Earl Brassow
0ee5743d75
- 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
7c266f3e81
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
d7ce981cd1
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
eadadf6299
post-release
2007-08-24 21:05:15 +00:00
Alasdair Kergon
8ac9fabd07
pre-release
2007-08-24 21:01:52 +00:00
Patrick Caulfield
44c2b4b281
Fix clvmd logging so you can get lvm-level debugging out of it.
2007-08-24 08:29:39 +00:00
Patrick Caulfield
4cd97611e5
Locking P_global causes a cache refresh.
2007-08-23 15:43:20 +00:00
Alasdair Kergon
da27380ab5
Introduce VG_GLOBAL lock type for vgscan/pvscan to trigger clvmd -R.
2007-08-23 15:02:26 +00:00
Patrick Caulfield
756e539661
Force a device scan after init_full_scan_done() per agk.
2007-08-23 12:44:09 +00:00
Patrick Caulfield
cde44e3172
Call init_full_scan_done() when refreshing the cache. This should fix clvmd -R.
2007-08-23 12:19:13 +00:00
Alasdair Kergon
e79a4b34b0
Change lvconvert_mirrors to use mirror segtype not striped.
2007-08-22 20:03:46 +00:00
Alasdair Kergon
e9f0bdd72c
Fix lvconvert_mirrors detection of number of existing mirrors.
2007-08-22 19:32:39 +00:00
Alasdair Kergon
d080291150
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
06c69c56ba
Avoid static link failure with some SELinux libraries.
2007-08-21 20:32:29 +00:00
Alasdair Kergon
d79710ba9d
Fix (C) !
2007-08-21 19:56:18 +00:00
Alasdair Kergon
c9bc7dd0b6
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
ebc26c7421
Remove obsolete dmfs code from tree and update INSTALL.
2007-08-21 18:41:58 +00:00
Dave Wysochanski
3769425f6b
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
a50957443e
post-release
2007-08-21 17:03:07 +00:00
Dave Wysochanski
63fa007af0
Prepare to move guts of vgremove into lvm library.
...
Fixup force_t.
2007-08-21 16:40:33 +00:00
Alasdair Kergon
a6a52a128b
pre-release
2007-08-21 16:33:18 +00:00
Alasdair Kergon
1ad58e1121
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
2007-08-21 16:26:07 +00:00
Alasdair Kergon
3f507a26fb
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
2007-08-20 20:55:30 +00:00
Dave Wysochanski
bfc368764a
Update WHATS_NEW for last checkin
2007-08-20 17:05:49 +00:00
Dave Wysochanski
53fbce932b
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
a94195c6cd
Prepare to move guts of lvremove into lvm library
2007-08-20 16:16:54 +00:00
Jim Meyering
626c6d1124
factor out some duplication -- mostly I/O redirection
2007-08-20 12:06:35 +00:00
Patrick Caulfield
471ab92bbb
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
fbccd12924
Update to use autoconf 2.61, while still supporting 2.57.
2007-08-14 19:11:31 +00:00
Dave Wysochanski
e5928bbaea
Remove unneeded WHATS_NEW entry
2007-08-10 14:24:43 +00:00
Dave Wysochanski
3c1597bc67
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
295019815e
- change new log_ARG variable to more explicit mirrorlog_ARG.
2007-08-09 21:25:08 +00:00
Jonathan Earl Brassow
654a391250
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
9ee1465d3c
Add more cluster/clvmd information to lvmdump
2007-08-09 09:53:33 +00:00