Alasdair Kergon
bcc400dafa
Use dm_is_dm_major instead of local copy.
...
Allow mapped devices to be used as PVs safely.
2005-10-25 19:08:21 +00:00
Alasdair Kergon
44fc41b3e5
Move set_selinux_context into libdevmapper
2005-10-25 17:28:46 +00:00
Alasdair Kergon
7212c20a1b
Fix automatic text metadata buffer expansion (using macro). [stdarg usage bug]
...
Cache formatted text metadata buffer between metadata area writes.
[improves write performance when lots of metadata area clones]
2005-10-23 00:14:48 +00:00
Alasdair Kergon
7ff142de1c
Add pe_start to pvs.
2005-10-20 22:24:46 +00:00
Alasdair Kergon
f6ee160e66
Add 'LVM-' prefix to uuids.
2005-10-19 13:59:18 +00:00
Alasdair Kergon
b32bf72b5f
Split lv_segment_area from lv_segment to permit extension.
2005-10-18 13:43:40 +00:00
Alasdair Kergon
095b71ed96
Move deactivation code into libdevmapper.
2005-10-18 12:39:20 +00:00
Alasdair Kergon
64efa4627d
Replacement deactivation code - untested.
2005-10-17 18:21:57 +00:00
Alasdair Kergon
e092ce51f6
Attempt to load missing targets using modprobe.
...
Simplify dev_manager_info().
2005-10-17 18:00:02 +00:00
Alasdair Kergon
7b78edb1b7
Attempt to load missing targets using modprobe.
2005-10-17 17:56:27 +00:00
Alasdair Kergon
b332e7090e
lvscan -a
2005-10-17 16:41:38 +00:00
Alasdair Kergon
67eb7723d6
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
1170dfac05
post-release
2005-10-16 20:09:42 +00:00
Alasdair Kergon
4157f141c7
pre-release
2005-10-16 20:06:54 +00:00
Alasdair Kergon
e23df1f07a
Refuse to run pvcreate/pvremove on devices we can't open exclusively.
2005-10-03 21:10:41 +00:00
Alasdair Kergon
c818540dfd
Use ORPHAN lock definition throughout.
2005-10-03 18:16:44 +00:00
Alasdair Kergon
21365cbe1a
Validate chunksize in lvcreate.
2005-09-30 22:21:01 +00:00
Alasdair Kergon
d7b6fa9cd0
Reduce chunksize limit to 512k.
2005-09-29 15:50:51 +00:00
Alasdair Kergon
05f65c38e6
Fix chunksize field in reports.
2005-09-23 17:06:01 +00:00
Alasdair Kergon
2e9d062ec0
Don't hide snapshots from default 'lvs' output.
2005-09-23 16:22:17 +00:00
Alasdair Kergon
b526f86b49
Add is_dm_major() for use in duplicate device detection in lvmcache_add().
2005-09-16 18:53:01 +00:00
Alasdair Kergon
03ef8cec83
Don't assume exactly two mirrors when parsing mirror status
2005-09-02 16:59:46 +00:00
Alasdair Kergon
85f2a2e8c2
Suppress fsync() error message on filesystems that don't support it.
2005-09-01 18:37:22 +00:00
Alasdair Kergon
584b3e6642
Fix yes_no_prompt() error handling.
2005-08-31 19:32:10 +00:00
Alasdair Kergon
7b8c2707bc
lvmconf.sh
2005-08-16 20:42:28 +00:00
Alasdair Kergon
3473c25c14
Add format1 dev_write debug messages.
2005-08-16 19:00:55 +00:00
Patrick Caulfield
e52f022026
clvmd no longer takes out locks for non-clusteed LVs,
...
and non-clustered LVs are only activated on the local node.
2005-08-16 08:25:09 +00:00
Alasdair Kergon
b1a7df8e43
Add clustered VG attribute to report.
2005-08-15 23:34:11 +00:00
Alasdair Kergon
0fd2479b7c
Move lvconvert parameters into struct lvconvert_params.
2005-08-15 14:10:28 +00:00
Alasdair Kergon
273857f914
Add clustered VG flag to LV lock requests.
2005-08-15 13:24:46 +00:00
Alasdair Kergon
a08b85dbc8
Change LV locking macros to take lv instead of lvid.
2005-08-15 12:00:04 +00:00
Alasdair Kergon
a0aedf299a
Prepare tools to support clustered mirrors.
2005-08-14 23:18:28 +00:00
Alasdair Kergon
3c61426844
Factor out generate_log_name_format().
2005-08-12 20:02:21 +00:00
Alasdair Kergon
786f228076
Factor out adjusted_mirror_region_size()
2005-08-12 19:23:08 +00:00
Alasdair Kergon
004da28792
Move compose_log_line() into mirror directory.
2005-08-10 17:19:46 +00:00
Alasdair Kergon
6e2be6efb6
Don't kill idling clvmd threads.
2005-08-09 17:29:04 +00:00
Alasdair Kergon
a994dfcfbc
Factor out _get_library_path().
2005-08-09 17:24:21 +00:00
Alasdair Kergon
885fd7bb46
aoe
2005-08-08 17:55:35 +00:00
Alasdair Kergon
8be48195a5
post-release
2005-08-04 02:07:34 +00:00
Alasdair Kergon
3af327116a
Fix lvconvert PV parameter in help string.
2005-08-04 01:50:17 +00:00
Alasdair Kergon
04e912aacd
Prevent snapshots getting activated in a clustered VG.
2005-08-04 01:27:25 +00:00
Alasdair Kergon
d7be352f87
Separate out _build_dev_string.
2005-08-04 01:15:30 +00:00
Alasdair Kergon
96be3ec22c
Move zero_lv to toollib.
2005-08-04 01:14:36 +00:00
AJ Lewis
5e61d0955e
fix pool format handler to work with pvseg code
2005-07-26 21:48:18 +00:00
Alasdair Kergon
e8a4662ae7
post-release
2005-07-13 19:28:09 +00:00
Alasdair Kergon
5f1a5d7b99
2.01.13
2005-07-13 19:15:09 +00:00
Alasdair Kergon
3e28a9db8f
Fix pvmove segment splitting.
...
Abstract vg_validate.
2005-07-12 19:40:59 +00:00
Alasdair Kergon
ebf6071d77
Only make one attempt at contiguous allocation.
2005-07-12 14:50:45 +00:00
Alasdair Kergon
47a35fb9fb
Fix lvm1 format metadata read.
2005-06-22 15:31:29 +00:00
Alasdair Kergon
48e88aba44
fix lvm1 non-mirror lvcreate
2005-06-22 14:56:14 +00:00
Alasdair Kergon
5c21526009
post-release
2005-06-14 18:22:22 +00:00
Alasdair Kergon
14dff1cefc
2.01.12
2005-06-14 17:59:57 +00:00
Alasdair Kergon
39fbb844f9
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00
Patrick Caulfield
ca4e0c973a
Log an error if clvmd can't resolve a host name got from CCS
...
Fix potential spin loop in clvmd
2005-06-14 10:35:02 +00:00
Alasdair Kergon
ecb42bee80
post-release
2005-06-13 14:53:07 +00:00
Alasdair Kergon
674ed2a9f3
2.01.11
2005-06-13 14:43:28 +00:00
Alasdair Kergon
252daf9717
Use matchpathcon mode parameter.
2005-06-13 13:13:15 +00:00
Patrick Caulfield
8e526ba1bf
Don't defer closing of FDs in clvmd as it can cause trouble.
2005-06-13 10:16:21 +00:00
Alasdair Kergon
cc4d9676c5
Remove hard-coded 64k text metadata writing restriction.
2005-06-07 11:00:07 +00:00
Alasdair Kergon
1cf1b819f4
Make VG name restrictions consistent.
2005-06-06 18:16:33 +00:00
Alasdair Kergon
f916c66d2b
Introduce lvconvert. So far only removes mirror images.
2005-06-06 17:12:08 +00:00
Alasdair Kergon
014e764758
Allow mirror images to be resized.
2005-06-03 19:48:19 +00:00
Alasdair Kergon
d1fc28432b
Allow mirror images to have more than one segment.
2005-06-03 18:07:13 +00:00
Alasdair Kergon
69098210be
Always insert an intermediate layer for mirrors.
...
Suppress hidden LVs from reports unless --all is given.
Use square brackets for hidden LVs in reports.
Centralise restrictions on LV names.
2005-06-03 14:49:51 +00:00
Alasdair Kergon
99df4f892d
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
8a74ce578d
Fix non-orphan pvchange -u.
2005-05-24 17:38:26 +00:00
Alasdair Kergon
7d3d3d0a3a
Fix vgmerge to handle duplicate LVIDs.
2005-05-19 16:48:51 +00:00
Alasdair Kergon
b2971edd7d
Start merging cloned allocation functions.
2005-05-17 13:49:45 +00:00
Alasdair Kergon
c37d723692
Move archiver code from tools into library.
2005-05-17 13:46:38 +00:00
Alasdair Kergon
30f9026e1d
vgscan/change/display/vgs automatically create metadata backup if out-of-date or missing.
2005-05-17 13:44:02 +00:00
Alasdair Kergon
6b4f3d63b8
Fix contiguous allocations with linear.
2005-05-11 16:46:59 +00:00
Alasdair Kergon
fc6c472401
Cope with missing format1 PVs again.
2005-05-11 15:04:06 +00:00
Alasdair Kergon
2cd42a6866
Remove lists of free PV segments.
...
Simplify pv_maps code and remove slow bitset algorithm.
2005-05-11 15:02:49 +00:00
AJ Lewis
36a90c345c
updated to reflect clvmd rhel4 initscript being redhatified
2005-05-10 20:15:39 +00:00
Alasdair Kergon
68254a052a
%Zu->zu
2005-05-09 17:45:06 +00:00
Alasdair Kergon
5524ed753b
Fix loopfiles mem alloc.
2005-05-09 17:02:52 +00:00
Alasdair Kergon
89711723da
Un-inline dbg_strdup.
2005-05-09 17:01:06 +00:00
Alasdair Kergon
bed2740ffd
lv_reduce tidying.
...
Remove some unnecessary parameters.
Introduce seg_is macros.
2005-05-09 16:59:01 +00:00
Alasdair Kergon
751d633c3d
post-release
2005-05-09 16:41:48 +00:00
Alasdair Kergon
6d719e9480
2.01.10
2005-05-03 17:43:47 +00:00
Alasdair Kergon
05e278afda
Don't create backup and archive dirs till needed.
2005-05-03 17:31:56 +00:00
Alasdair Kergon
87dbf462cb
Reinstate full PV size when removing from VG.
...
Support loopfiles for testing.
Complete the pv_segment support.
2005-05-03 17:28:23 +00:00
Alasdair Kergon
0868749d42
set_lv_segment_area_pv/lv
2005-04-22 15:43:02 +00:00
Alasdair Kergon
1d40ee23f0
Initial pv_segment code.
2005-04-19 20:58:25 +00:00
Patrick Caulfield
901f7c5c36
Tidy clvmd's SIGHUP handler so it doesn't do all that work.
2005-04-19 10:36:42 +00:00
Alasdair Kergon
775bb413b3
vgchange --physicalextentsize (but only if it's an exact fit - may need to
...
use pvmove first)
2005-04-18 14:56:42 +00:00
Patrick Caulfield
6102a5d2b0
Make clvmd work around some "limitations" in gulm's node state notifications.
...
Also make clvmd debuglog timestamps a little more helpful.
2005-04-13 13:50:07 +00:00
Alasdair Kergon
e0e7a685ef
Remove unused internal non-persistent snapshot option.
2005-04-07 12:27:57 +00:00
Alasdair Kergon
a4cf792e6d
store snapshot id as lvid internally
2005-04-07 12:24:48 +00:00
Alasdair Kergon
89109ded53
Allow offline extension of snapshot volumes.
...
NB Requires kernel patch that is not upstream.
2005-04-07 12:17:46 +00:00
Alasdair Kergon
e20e52a4b2
Move from 2-step to 3-step on-disk metadata commit.
2005-04-06 18:59:55 +00:00
Alasdair Kergon
20c4b1cbec
Add ramdisk.
2005-04-06 16:43:59 +00:00
Alasdair Kergon
839335cae6
Annotate, tidy and extend list.h.
2005-04-06 14:50:37 +00:00
Alasdair Kergon
a99b2ce167
Alignment tidying.
2005-04-06 13:47:41 +00:00
Alasdair Kergon
b695141d87
post-release
2005-04-04 15:46:14 +00:00
Alasdair Kergon
92d5c9f866
2.01.09
2005-04-04 15:41:51 +00:00
Alasdair Kergon
7f18a1ffe0
Add --ignorelockingfailure to vgmknodes.
2005-04-04 14:44:49 +00:00
Patrick Caulfield
8c3fdaaa62
set SO_KEEPALIVE on sockets
2005-04-01 16:03:00 +00:00
Patrick Caulfield
5ac1c69710
Don't allow user operations to start until the lvm thread is fully up.
...
Hopefully finally nails bz#146056
2005-04-01 13:01:01 +00:00
Alasdair Kergon
e46be0415f
post-release
2005-03-22 16:50:17 +00:00