Alasdair Kergon
0fd6ce546f
Fix vgsplit to handle mirrors.
...
Reorder fields in reporting field definitions.
2007-01-29 23:01:18 +00:00
Alasdair Kergon
c344766f3c
Add recent reporting options to dmsetup man page.
...
Revise some report fields names.
2007-01-29 19:35:24 +00:00
Alasdair Kergon
67895de0bc
help on help
2007-01-29 18:45:08 +00:00
Alasdair Kergon
ff00cb6990
help unused attr
2007-01-29 18:43:27 +00:00
Alasdair Kergon
2cc75c11ed
add help -c for field list
2007-01-29 18:37:57 +00:00
Alasdair Kergon
cd79e58eda
Add dmsetup 'help' command and update usage text.
2007-01-29 18:18:41 +00:00
Alasdair Kergon
6fa801f3d8
reorder report field definitions
2007-01-29 17:45:32 +00:00
Alasdair Kergon
da9cf7e5de
fix pvsegs report too
2007-01-27 02:32:31 +00:00
Alasdair Kergon
f57e7445fd
Fix vgs to treat args as VGs even when PV fields are displayed.
2007-01-27 02:09:06 +00:00
Alasdair Kergon
f813d41a76
Add some missing close() and fclose() return code checks.
...
Fix exit statuses of reporting tools (2.02.19).
2007-01-25 14:37:48 +00:00
Alasdair Kergon
d851289d8a
Add some missing close() and fclose() return value checks.
2007-01-25 14:16:20 +00:00
Alasdair Kergon
d0f7067471
lvm.static no longer interacts with dmeventd unless explicitly asked to.
2007-01-24 23:43:27 +00:00
Alasdair Kergon
d6d597e3dd
Migrate dmsetup column-based output over to new libdevmapper report framework.
2007-01-24 18:09:07 +00:00
Alasdair Kergon
9d944d6cf9
Fix refresh_toolcontext() always to wipe persistent device filter cache.
...
Add is_long_lived to toolcontext.
2007-01-23 15:58:06 +00:00
Alasdair Kergon
13635d281a
Add --clustered to man pages.
2007-01-23 13:08:34 +00:00
Alasdair Kergon
63e4217271
Add dm_event_handler_[gs]et_timeout functions.
...
Streamline dm_report_field_* interface.
2007-01-22 15:03:57 +00:00
Alasdair Kergon
f4bd12e8e9
register->monitor etc.
2007-01-19 22:21:45 +00:00
Alasdair Kergon
26376ac1c9
Some internal renaming.
...
Add --separator and --sort to dmsetup (unused as yet).
Make alignment flag optional when specifying report fields.
2007-01-18 17:47:58 +00:00
Alasdair Kergon
392e1bc2e8
more little fixes
2007-01-16 21:13:07 +00:00
Alasdair Kergon
d24d563ebc
Move basic reporting functions into libdevmapper.
2007-01-16 18:06:12 +00:00
Alasdair Kergon
f48648552e
Fix a malloc error path in dmsetup message.
2007-01-15 22:05:50 +00:00
Alasdair Kergon
edb9c3cc9f
Fix partition table processing after sparc changes (introduced in 2.02.16).
...
Fix cmdline PE range processing segfault (introduced in 2.02.13).
2007-01-15 21:55:11 +00:00
Alasdair Kergon
c975a100b1
Report dmeventd mirror monitoring status.
2007-01-12 20:38:30 +00:00
Alasdair Kergon
2d6a014920
Use CFLAGS when linking so mixed sparc builds can supply -m64
2007-01-11 17:12:27 +00:00
Alasdair Kergon
a10227eb03
Prevent permission changes on active mirrors.
2007-01-10 19:56:39 +00:00
Milan Broz
475ae29b85
Print warning instead of error message if cannot zero volume
...
Update lvconvert man page (snapshot option)
2007-01-10 14:13:46 +00:00
Alasdair Kergon
0b9cfc278b
dumpconfig accepts a list of configuration variables to display.
...
Change dumpconfig to use --file to redirect output to a file.
2007-01-09 23:22:31 +00:00
Alasdair Kergon
b57b6b4fba
Avoid vgreduce error when mirror code removes the log LV.
2007-01-09 23:14:35 +00:00
Alasdair Kergon
459023d171
Free memory in _raw_read_mda_header() error paths.
...
Fix ambiguous vgsplit error message for split LV.
Fix lvextend man page typo.
2007-01-09 21:12:41 +00:00
Alasdair Kergon
64fa83ec3f
Add dmeventd_mirror register_mutex, tidy initialisation & add memlock.
2007-01-08 14:24:20 +00:00
Alasdair Kergon
da983848b4
Add missing pvremove error message when device doesn't exist.
2006-12-13 18:40:23 +00:00
Alasdair Kergon
bc03f7bad3
When lvconvert allocates a mirror log, respect parallel area constraints.
...
Use loop to iterate through the now-ordered policy list in _allocate().
Check for failure to allocate just the mirror log.
Introduce calc_area_multiple().
Support mirror log allocation when there is only one PV: area_count now 0.
(See lvm-devel list archives for further details.)
2006-12-13 03:39:58 +00:00
Alasdair Kergon
ee68d715bf
Adjust some alignments for ia64 and sparc.
...
(Some of the changes are probably unnecessary.)
2006-11-30 23:11:42 +00:00
Alasdair Kergon
3aada6dd1d
Fix pvremove error path for case when PV is in use.
2006-11-17 02:45:51 +00:00
Alasdair Kergon
fb875e0709
Fix --autobackup argument which could never disable backups.
2006-11-14 15:28:50 +00:00
Alasdair Kergon
997fa756ad
Add some missing bounds checks on 32 bit extent counters.
...
Add Petabyte and Exabyte support.
Fix lvcreate error message when 0 extents requested.
2006-11-10 18:24:11 +00:00
Alasdair Kergon
e76a9c2618
fix shift
2006-11-03 21:23:06 +00:00
Alasdair Kergon
45be8a836b
fix last check-in: lv->size is in sectors
2006-11-03 21:07:15 +00:00
Alasdair Kergon
954b6032e7
Fix mirror log LV writing to set all bits in whole LV.
2006-11-02 23:33:20 +00:00
Alasdair Kergon
dfa1f80a57
dd couple of missing files to tools/Makefile CLEAN_TARGETS.
2006-10-26 20:37:13 +00:00
Alasdair Kergon
15dfb93b17
When adding snapshot leave cow LV mapped device active after zeroing.
2006-10-26 18:22:10 +00:00
Alasdair Kergon
fefa8e9b4d
Add dev_flush() to set_lv()
2006-10-24 18:25:30 +00:00
Alasdair Kergon
32c4c44812
resync alphabetical order
2006-10-24 17:19:48 +00:00
Alasdair Kergon
05195e2b1d
try forcesync -> resync
2006-10-24 17:18:25 +00:00
Alasdair Kergon
e5692a4721
fix forcesync local active detection
2006-10-24 15:30:33 +00:00
Alasdair Kergon
312e6a0d31
Add lvchange --forcesync.
2006-10-23 23:03:55 +00:00
Patrick Caulfield
949a835f4a
Don't allow a node to remove an LV that's exclusively active on anther node.
2006-10-23 11:46:16 +00:00
Alasdair Kergon
85e6042941
Cope if same PV is included more than once in cmdline PE range list.
2006-10-21 23:18:43 +00:00
Alasdair Kergon
2179a72c3a
Suppress encryption key in 'dmsetup table' output unless --showkeys supplied.
2006-10-19 15:34:50 +00:00
Alasdair Kergon
40e8631f63
Add segment parameter to target_present functions.
2006-10-18 18:01:53 +00:00