Alasdair Kergon
23289e6d14
Revise internal locking semantics.
2004-05-05 12:03:07 +00:00
Alasdair Kergon
5668c1abad
move find_pv_by_name to lib
2004-05-05 11:04:28 +00:00
Alasdair Kergon
0b2b87b717
Add devices to segments report; some move->copy renaming.
2004-05-05 10:58:44 +00:00
Alasdair Kergon
4922197a33
Begin to separate out segment types.
2004-05-04 21:25:57 +00:00
Alasdair Kergon
6ec6994107
Compress any (obsolete) long LVM1 pvids encountered.
2004-05-04 18:38:11 +00:00
Alasdair Kergon
25579907fc
Support tagged config files.
2004-05-04 18:28:15 +00:00
Alasdair Kergon
470a1e923c
Don't abort operations if selinux is present but disabled.
2004-05-04 15:29:26 +00:00
Alasdair Kergon
a38df97fb8
config option to avoid using install -o -g
2004-04-19 13:10:06 +00:00
Alasdair Kergon
96185e9ca1
Use 64-bit file functions.
2004-04-16 18:43:29 +00:00
Alasdair Kergon
01c6121ba5
Set devices/md_component_detection = 1 to ignore devices containing md
...
superblocks. [Luca Berra]
2004-04-16 16:12:04 +00:00
Alasdair Kergon
121c5c060b
Ignore error setting selinux file context if fs doesn't support it.
2004-04-16 12:24:46 +00:00
Alasdair Kergon
627f730e18
fix selinux error mesg
2004-04-14 18:10:10 +00:00
Alasdair Kergon
c7a7f85737
Add power2
2004-04-14 17:33:51 +00:00
Alasdair Kergon
c8f601b30f
Fix lvs_in_vg_opened counting.
2004-04-14 17:33:04 +00:00
Alasdair Kergon
d5d70df747
fix patch that misapplied
2004-04-08 17:21:01 +00:00
Alasdair Kergon
7d1552c9de
Option for auto-fallback to LVM1 tools if running 2.4 without device-mapper.
2004-04-08 15:23:23 +00:00
Alasdair Kergon
036f273ad0
Basic selinux support
2004-04-07 14:08:22 +00:00
Alasdair Kergon
fb53aa7bc6
Fix sysfs filter to check fs type.
2004-04-06 16:47:59 +00:00
Alasdair Kergon
d68a82ecbd
Fix shared format1 build.
2004-04-05 16:29:37 +00:00
Alasdair Kergon
6606c3ae81
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
8b07664860
Fix vgmknodes to remove dud /dev/mapper entries
2004-03-30 14:40:03 +00:00
Alasdair Kergon
f09fe0ad0f
Rename dev_manager_mknodes -> dev_manager_lv_mknodes etc.
2004-03-30 14:38:57 +00:00
Alasdair Kergon
685d88b26a
spelling corrections
2004-03-30 14:36:50 +00:00
Alasdair Kergon
6dee988083
vgdisplay_colons
2004-03-30 14:35:40 +00:00
Alasdair Kergon
8e1e14ee8a
missing definition
2004-03-26 21:46:01 +00:00
Alasdair Kergon
f22969328b
tweak memlock includes
2004-03-26 21:11:34 +00:00
Alasdair Kergon
2534fa5203
Add string display to mem leak dump.
2004-03-26 21:09:44 +00:00
Alasdair Kergon
93af0a4a51
indent
2004-03-26 21:07:30 +00:00
Alasdair Kergon
2da02bbd16
move lock_lvs; add lock memlock code
2004-03-26 20:49:35 +00:00
Alasdair Kergon
ff6d21103b
LV allocation variable renaming
2004-03-26 20:35:14 +00:00
Alasdair Kergon
05896e787c
Add locking flags + memlock option.
2004-03-26 20:17:11 +00:00
Alasdair Kergon
4291ce3cac
makefile spacing
2004-03-26 20:03:58 +00:00
Alasdair Kergon
d1f4953ad4
Add list_versions to library
2004-03-26 19:52:09 +00:00
Alasdair Kergon
c1f5052199
Ignore open hidden LVs when checking if deactivation is OK.
2004-03-26 19:13:39 +00:00
Alasdair Kergon
b65b777d2a
Suppress move percentage when inactive
2004-03-26 19:10:48 +00:00
Alasdair Kergon
23670fbe43
Tidy sysfs includes
2004-03-26 18:54:55 +00:00
Alasdair Kergon
4bd9480dce
lv_info_by_lvid
2004-03-26 15:35:01 +00:00
Alasdair Kergon
79982c59a0
.export.sym generation
2004-03-26 14:51:23 +00:00
Alasdair Kergon
aff059ecc2
cmdlib logging function
2004-03-26 14:47:14 +00:00
Alasdair Kergon
84510264cd
Update makefiles (incl. cmdlib).
2004-03-26 13:21:12 +00:00
Alasdair Kergon
d24fb77c03
Rebaseline internal verbose level.
2004-03-26 11:45:01 +00:00
Alasdair Kergon
f2046e0aeb
Only print warning message once when compiled without libdevmapper.
2004-03-19 16:26:46 +00:00
Alasdair Kergon
68df28296d
Fix lvreduce pv extents calculations.
2004-03-19 16:19:41 +00:00
Alasdair Kergon
658b58129b
additional activation functions
2004-03-08 18:54:13 +00:00
Alasdair Kergon
814643d8a2
rename config file vars & always use / as separator
2004-03-08 18:28:45 +00:00
Alasdair Kergon
de17d760ba
host tags
2004-03-08 18:13:22 +00:00
Alasdair Kergon
a0313876e7
move hostname into global
2004-03-08 17:25:59 +00:00
Alasdair Kergon
cf6dd25126
tagging
2004-03-08 17:19:15 +00:00
Alasdair Kergon
5071196631
More str_list fns.
2004-03-08 15:23:01 +00:00
Alasdair Kergon
c2b067912b
File missed from last checkin.
2004-02-18 13:06:21 +00:00
Alasdair Kergon
69792976e4
Basic internationalisation support.
2004-02-13 22:56:45 +00:00
Alasdair Kergon
08c419da66
Don't recurse symlinked dirs such as /dev/fd on 2.6.
2004-02-13 18:55:43 +00:00
Alasdair Kergon
a43a1312d2
don't inline pool_zalloc(); lift duplicated pool_str(n)dup to pool.c
2004-02-13 15:38:54 +00:00
Alasdair Kergon
6e4b011dac
Don't inline hash _find
2004-02-13 15:36:58 +00:00
Alasdair Kergon
a8537e6f59
Sysfs block device filtering option for 2.6.
2004-02-13 14:46:04 +00:00
Alasdair Kergon
c1c0685e34
split_words()
2004-02-13 14:43:35 +00:00
Alasdair Kergon
82c86650e1
Define BLKGETSIZE64 on systems with out-of-date header files.
2004-01-27 20:53:57 +00:00
Alasdair Kergon
cc8f6e3dbc
If PV/VG uuids are missing, generate them from the pv/vg numbers.
...
[This situation could occur if the uuids were oritinally created by
LVM1 on a system without /dev/urandom.]
2004-01-09 19:18:20 +00:00
Alasdair Kergon
397b239bdf
Log full details when "VG data differs between PVs" error message occurs.
2004-01-02 14:04:44 +00:00
Alasdair Kergon
50b39413ac
Relax restriction on pe_start location when re-writing LVM1 metadata.
2003-12-09 17:51:39 +00:00
Alasdair Kergon
e19f549a11
Fix support for PVs on read only devices. [Still must set LVs read only]
2003-11-21 19:54:40 +00:00
Alasdair Kergon
ee8518bd9c
lvcreate should close the initialised snapshot device immediately.
2003-11-14 17:55:39 +00:00
Alasdair Kergon
27642fade0
Fix dev_zero() offset.
2003-11-13 23:55:03 +00:00
Alasdair Kergon
034db45e26
Immediate error on big memory allocations when --enable-debug.
2003-11-13 23:54:02 +00:00
Alasdair Kergon
c01f85420e
Missing include.
2003-11-13 18:47:22 +00:00
Alasdair Kergon
8c0388e487
vgmknodes also creates necessary nodes in /dev/mapper
2003-11-13 14:11:41 +00:00
Alasdair Kergon
f7dd6d8446
The LVM2 part of vgmknodes [still to do the non-devfs device-mapper bit].
2003-11-12 19:16:48 +00:00
Alasdair Kergon
12bb377f9b
Default to unlimited number of LVs/PVs in lvm2 format.
2003-11-06 20:33:34 +00:00
Alasdair Kergon
6078f63801
Prevent PV allocation bit getting changed for format_text orphans.
2003-11-06 20:15:13 +00:00
Alasdair Kergon
2dc95e1c41
Configuration-time O_DIRECT setting.
2003-11-06 17:14:06 +00:00
Alasdair Kergon
40e975869b
Add drbd.
2003-11-06 17:10:35 +00:00
Alasdair Kergon
3eb135f550
Fit locking bits into 1 byte.
2003-11-06 17:08:18 +00:00
Alasdair Kergon
fee16e1049
Cope better with LVM1 minor numbers & LV numbers.
2003-11-06 16:58:38 +00:00
Alasdair Kergon
207aa8a131
Fix exported format1 VG recognition.
2003-10-21 22:21:41 +00:00
Alasdair Kergon
cfb7bfc7d9
More consistent error code usage.
2003-10-21 22:06:07 +00:00
Alasdair Kergon
0cf96f33ea
Check no fs mounted before deactivating.
2003-10-21 22:00:36 +00:00
Alasdair Kergon
dcc31da516
dumpconfig to dump active configuration
2003-10-15 20:17:19 +00:00
Alasdair Kergon
c7ee8edc33
relax a scanning restriction
2003-10-15 20:10:11 +00:00
Alasdair Kergon
ada0dc4234
Prevent creation of MDA bigger than disk.
2003-10-15 20:06:37 +00:00
Alasdair Kergon
ac21f47034
more str_list fns
2003-10-15 20:04:29 +00:00
Alasdair Kergon
13057fe53f
str_list_del
2003-10-15 20:01:12 +00:00
Alasdair Kergon
aa37899857
Extract some common functions.
2003-09-17 20:35:57 +00:00
Alasdair Kergon
842a35c7ca
Remove incorrect comments.
2003-09-16 16:23:21 +00:00
Alasdair Kergon
b2a849142b
Fix read-only snapshot creation.
2003-09-16 16:08:05 +00:00
Alasdair Kergon
85c1926171
Improve segment merge/split code.
2003-09-15 18:22:50 +00:00
Alasdair Kergon
96bea84664
vgcfgrestore -l lists backup file too
2003-09-15 15:03:22 +00:00
Alasdair Kergon
6a5b803539
Don't use !# in randomly-generated uuids.
2003-09-15 14:58:43 +00:00
Alasdair Kergon
f1e6be4be1
Additional validation of LV segments read from metadata. [HM]
2003-09-01 19:55:16 +00:00
Alasdair Kergon
8fd3c219fd
Fix unsafe list iteration in segment merge code. [HM]
2003-08-27 15:30:39 +00:00
Alasdair Kergon
29ebccc3e2
Cope better when format functions are missing.
2003-08-26 21:12:06 +00:00
Alasdair Kergon
4c22730b53
Some tidyups and minor fixes.
2003-08-20 15:48:27 +00:00
Alasdair Kergon
9a90f1aba6
Remove small hard-coded activation target line parameter limit.
2003-08-20 12:53:57 +00:00
Alasdair Kergon
21a1fa4701
Accept signed numbers in config file.
2003-07-15 16:32:20 +00:00
Alasdair Kergon
10f57523d9
Fix vgimport fix to work outside debug mode.
2003-07-15 01:26:24 +00:00
Alasdair Kergon
eaabdc26ce
Fix detection of exported LVM1 volume groups.
2003-07-13 11:07:25 +00:00
Alasdair Kergon
a12c4af876
Fix inactive snapshot display.
2003-07-11 17:09:21 +00:00
Alasdair Kergon
27ab6e0f86
Driver version 1 compatibility fix for snapshots.
2003-07-05 23:24:10 +00:00
Alasdair Kergon
914c97239f
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
46a68b7dd6
move functions
2003-05-06 12:22:24 +00:00
Alasdair Kergon
44c319cf0d
move fields
2003-05-06 12:06:02 +00:00