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
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
53c0f00888
Really switch device number in lvmcache when it says it is doing so.
2005-09-16 18:44:52 +00:00
Alasdair Kergon
f0c4d9de40
Option for bitset memory allocation using malloc as well as pool.
2005-09-16 18:40:53 +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
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
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
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
a994dfcfbc
Factor out _get_library_path().
2005-08-09 17:24:21 +00:00
Alasdair Kergon
08771f9c89
Recognise aoe devices.
2005-08-08 17:54:23 +00:00
Alasdair Kergon
b75434db93
fix last checkin
2005-08-04 01:29:18 +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
AJ Lewis
5e61d0955e
fix pool format handler to work with pvseg code
2005-07-26 21:48:18 +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
0a5e0e1f71
preset pl to NULL
2005-06-14 18:29:12 +00:00
Alasdair Kergon
85dc22ebb7
missing fn defs
2005-06-14 18:22:31 +00:00
Alasdair Kergon
39fbb844f9
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00
Alasdair Kergon
252daf9717
Use matchpathcon mode parameter.
2005-06-13 13:13:15 +00:00
AJ Lewis
d2529e6334
o print the context along with the path when setting selinux context
2005-06-10 21:30: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
879576f0a2
lvremove mirror images
2005-06-03 15:44:12 +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
0805e4e5de
Fix mem allocs after archiver code move.
2005-05-24 17:37:39 +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
Alasdair Kergon
68254a052a
%Zu->zu
2005-05-09 17:45:06 +00:00
Alasdair Kergon
2425b3a166
fix compiler warnings
2005-05-09 17:41:36 +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