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
Alasdair Kergon
ec8efa35a1
revert
2006-10-16 16:47:56 +00:00
Alasdair Kergon
f72bf20482
pre-release
2006-10-16 16:44:28 +00:00
Alasdair Kergon
ebde2002e8
Fix pvdisplay to use vg_read() for non-orphans
2006-10-16 16:29:40 +00:00
Alasdair Kergon
d84c5391f7
Retain activation state after changing LV minor number with --force.
2006-10-13 21:33:31 +00:00
Alasdair Kergon
860cf80703
Propagate clustered flag in vgsplit and require resizeable flag.
2006-10-13 13:22:44 +00:00
Alasdair Kergon
eab7b2b581
fix dmsetup usage display (missing \n and --noflush wrong place)
2006-10-12 17:09:09 +00:00
Alasdair Kergon
45abade7fc
Add suspend noflush support.
...
Add basic dmsetup loop support.
2006-10-12 15:42:25 +00:00
Alasdair Kergon
2491a61481
Accept regionsize with lvconvert.
2006-10-07 23:04:36 +00:00
Alasdair Kergon
d305d655d4
Fix compiler warnings in percent arg. [pjc]
2006-10-02 16:15:03 +00:00
Alasdair Kergon
a4fef143cd
Add %VG, %LV and %FREE suffices to lvcreate/lvresize --extents arg.
...
e.g. lvcreate -l 100%FREE to create an LV using all available space.
lvextend -l 50%LV to increase an LV by 50% of its existing size.
lvcreate -l 20%VG to create an LV using 20% of the total VG size.
2006-09-26 09:35:43 +00:00
Alasdair Kergon
7408340b6a
Fix lvconvert mirror change case detection logic.
...
Fix mirror log detachment so it correctly becomes a standalone LV.
2006-09-19 19:13:41 +00:00
Alasdair Kergon
eef8c7862e
Fix several incorrect comparisons in parallel area avoidance code.
...
Fix segment lengths when flattening existing parallel areas.
Log existing parallel areas prior to allocation.
Fix mirror log creation when activation disabled.
2006-09-11 14:24:58 +00:00
Alasdair Kergon
b52375d446
fix vgreduce clustered check
2006-09-07 23:23:45 +00:00
Alasdair Kergon
6e2babc2ce
When using local file locking, skip clustered VGs.
...
Add fallback_to_clustered_locking and fallback_to_local_locking parameters.
2006-09-02 01:18:17 +00:00
Alasdair Kergon
415cfd99a0
Add skip_dev_dir() to process command line VGs.
2006-08-25 23:02:33 +00:00
Alasdair Kergon
45df79feba
stub.h shouldn't be here
2006-08-22 15:56:06 +00:00
Alasdair Kergon
b0b60fafd5
Move lvm_snprintf into libdevmapper.
2006-08-21 12:54:53 +00:00
Alasdair Kergon
461a997b5b
Prevent mirror renames.
2006-08-18 21:19:54 +00:00
Alasdair Kergon
a80afd7b4e
Move CMDLIB code into separate file and record whether static build.
2006-08-18 21:17:18 +00:00
Alasdair Kergon
984651d99d
Add lvm_getpagesize wrapper.
2006-08-17 18:23:44 +00:00