Alasdair Kergon
9b02bdbce0
Refuse to run pvcreate/pvremove on devices we can't open exclusively.
2005-10-03 21:10:41 +00:00
Alasdair Kergon
88d2bdc668
Fix chunksize field in reports.
2005-09-23 17:06:01 +00:00
Alasdair Kergon
540b379902
Don't hide snapshots from default 'lvs' output.
2005-09-23 16:22:17 +00:00
Alasdair Kergon
68366c99b2
Add is_dm_major() for use in duplicate device detection in lvmcache_add().
2005-09-16 18:53:01 +00:00
Alasdair Kergon
72a16423d2
Really switch device number in lvmcache when it says it is doing so.
2005-09-16 18:44:52 +00:00
Alasdair Kergon
7c2ef08367
Option for bitset memory allocation using malloc as well as pool.
2005-09-16 18:40:53 +00:00
Alasdair Kergon
dbb43034e6
Don't assume exactly two mirrors when parsing mirror status
2005-09-02 16:59:46 +00:00
Alasdair Kergon
40ec1e8a36
Suppress fsync() error message on filesystems that don't support it.
2005-09-01 18:37:22 +00:00
Alasdair Kergon
fd0eec20b7
Add format1 dev_write debug messages.
2005-08-16 19:00:55 +00:00
Patrick Caulfield
fe6c78629d
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
3d38769798
Add clustered VG attribute to report.
2005-08-15 23:34:11 +00:00
Alasdair Kergon
4c60a35226
Add clustered VG flag to LV lock requests.
2005-08-15 13:24:46 +00:00
Alasdair Kergon
0fb173aa3a
Change LV locking macros to take lv instead of lvid.
2005-08-15 12:00:04 +00:00
Alasdair Kergon
07d318310b
Prepare tools to support clustered mirrors.
2005-08-14 23:18:28 +00:00
Alasdair Kergon
bfd31e94d5
Factor out adjusted_mirror_region_size()
2005-08-12 19:23:08 +00:00
Alasdair Kergon
197632009b
Move compose_log_line() into mirror directory.
2005-08-10 17:19:46 +00:00
Alasdair Kergon
4bf57acec8
Factor out _get_library_path().
2005-08-09 17:24:21 +00:00
Alasdair Kergon
398c74b263
Recognise aoe devices.
2005-08-08 17:54:23 +00:00
Alasdair Kergon
7b68df96dc
fix last checkin
2005-08-04 01:29:18 +00:00
Alasdair Kergon
78a352c2eb
Prevent snapshots getting activated in a clustered VG.
2005-08-04 01:27:25 +00:00
Alasdair Kergon
a4be2c013c
Separate out _build_dev_string.
2005-08-04 01:15:30 +00:00
AJ Lewis
cc4a9ff522
fix pool format handler to work with pvseg code
2005-07-26 21:48:18 +00:00
Alasdair Kergon
0440a206dc
Fix pvmove segment splitting.
...
Abstract vg_validate.
2005-07-12 19:40:59 +00:00
Alasdair Kergon
10b44b2d4a
Only make one attempt at contiguous allocation.
2005-07-12 14:50:45 +00:00
Alasdair Kergon
4f8781051a
Fix lvm1 format metadata read.
2005-06-22 15:31:29 +00:00
Alasdair Kergon
fbb77ddb23
preset pl to NULL
2005-06-14 18:29:12 +00:00
Alasdair Kergon
b6d69d0c1e
missing fn defs
2005-06-14 18:22:31 +00:00
Alasdair Kergon
5e947dac48
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00
Alasdair Kergon
56c3d1f7fc
Use matchpathcon mode parameter.
2005-06-13 13:13:15 +00:00
AJ Lewis
c71d140252
o print the context along with the path when setting selinux context
2005-06-10 21:30:21 +00:00
Alasdair Kergon
5748cb17f8
Remove hard-coded 64k text metadata writing restriction.
2005-06-07 11:00:07 +00:00
Alasdair Kergon
8b80d2a57c
Make VG name restrictions consistent.
2005-06-06 18:16:33 +00:00
Alasdair Kergon
1a1f3d3efe
Introduce lvconvert. So far only removes mirror images.
2005-06-06 17:12:08 +00:00
Alasdair Kergon
ffb0e5387b
Allow mirror images to be resized.
2005-06-03 19:48:19 +00:00
Alasdair Kergon
c77de77790
Allow mirror images to have more than one segment.
2005-06-03 18:07:13 +00:00
Alasdair Kergon
5c9a54e480
lvremove mirror images
2005-06-03 15:44:12 +00:00
Alasdair Kergon
8211a13ce0
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
60f13f01d2
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
3f910647c3
Fix mem allocs after archiver code move.
2005-05-24 17:37:39 +00:00
Alasdair Kergon
21ca3b1227
Fix vgmerge to handle duplicate LVIDs.
2005-05-19 16:48:51 +00:00
Alasdair Kergon
e7c47a5dad
Start merging cloned allocation functions.
2005-05-17 13:49:45 +00:00
Alasdair Kergon
7ac8c2389f
Move archiver code from tools into library.
2005-05-17 13:46:38 +00:00
Alasdair Kergon
24e654645f
vgscan/change/display/vgs automatically create metadata backup if out-of-date or missing.
2005-05-17 13:44:02 +00:00
Alasdair Kergon
0888dc43cf
Fix contiguous allocations with linear.
2005-05-11 16:46:59 +00:00
Alasdair Kergon
17ae61cce5
Cope with missing format1 PVs again.
2005-05-11 15:04:06 +00:00
Alasdair Kergon
7f2def9e6d
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
c44c04a6d7
%Zu->zu
2005-05-09 17:45:06 +00:00
Alasdair Kergon
bbdd74e0fa
fix compiler warnings
2005-05-09 17:41:36 +00:00
Alasdair Kergon
c708ec79b1
Fix loopfiles mem alloc.
2005-05-09 17:02:52 +00:00
Alasdair Kergon
4d12267641
Un-inline dbg_strdup.
2005-05-09 17:01:06 +00:00