Alasdair Kergon
f58c5e6b30
o Additional device/filter-level debugging messages + duplicate alias fix
...
o 32/64-bit size_t fix (pjc)
2003-01-08 16:41:22 +00:00
Alasdair Kergon
c946c97402
Detect duplicate PV uuids - select the one on an md device if appropriate.
2003-01-06 21:10:43 +00:00
Alasdair Kergon
84a6f51318
Ignore filter cache at startup if config file is newer than cache.
2003-01-06 21:09:04 +00:00
Alasdair Kergon
633dd7ff9b
When there are device name aliases, choose the "nicest" to display.
2003-01-03 21:11:23 +00:00
Alasdair Kergon
580624fad6
Also lock memory during LV updates.
2003-01-03 21:10:28 +00:00
Alasdair Kergon
a8190f7efa
When activating an LV, remove any stray LVM1 /dev nodes and group file.
2003-01-03 13:50:47 +00:00
Alasdair Kergon
dd2157534b
Default stripesize 64k & config file setting for it;
...
Clear many compiler warnings (i386) & associated bugs - hopefully without
introducing too many new bugs:-) (Same exercise required for other archs.)
Default compilation has optimisation - or else use ./configure --enable-debug
2002-12-19 23:25:55 +00:00
Alasdair Kergon
38a90e7669
New column-based reporting tools: lvs, pvs & vgs.
2002-12-12 20:55:49 +00:00
Alasdair Kergon
27082bf77e
Use sync_dir().
2002-12-05 22:56:22 +00:00
Alasdair Kergon
a2903c80cd
Add sync_dir()
2002-12-05 22:51:15 +00:00
Alasdair Kergon
9a77c5369c
Fix display alignment of zero.
2002-12-05 22:42:31 +00:00
Alasdair Kergon
8de750c6aa
Maintain snapshot_count correctly.
2002-12-05 22:30:39 +00:00
Alasdair Kergon
a1a019784b
Keep some ld versions happy.
2002-12-05 22:27:43 +00:00
Alasdair Kergon
4aeeae77bd
New devices/types config file entry to add new types of block devices.
2002-12-03 16:20:38 +00:00
Alasdair Kergon
2ef8af25e2
Show PV uuid; single stripe is 'linear'; suppress snapshot fields for origin.
2002-12-03 13:26:17 +00:00
Alasdair Kergon
4c29f177a0
Show stripesize in KB.
2002-11-26 21:56:57 +00:00
Alasdair Kergon
d664e63d55
Skip config file reload attempt if no config file location.
2002-11-26 12:14:37 +00:00
Alasdair Kergon
1c8b27f554
Remove 2 TB LV size restriction message.
2002-11-18 16:21:00 +00:00
Alasdair Kergon
68297b7186
Missing sector->k conversion in "logical volumes cannot be larger than" mesg.
2002-11-18 16:08:45 +00:00
Alasdair Kergon
34dd8d0a91
Some new features.
2002-11-18 14:04:08 +00:00
Alasdair Kergon
81c44790d5
Refactoring.
2002-11-18 14:01:16 +00:00
Alasdair Kergon
d557b335cf
A new cache.
2002-11-18 13:53:58 +00:00
Alasdair Kergon
f2fd4b8a1f
Don't let LVM2 access a VG if the original LVM driver appears to be using it.
2002-11-01 19:57:25 +00:00
Joe Thornber
04732ce74b
o inline _step_matcher
2002-08-29 15:05:16 +00:00
Joe Thornber
f68622abe9
o Anchor support for the regex engine.
2002-08-29 14:46:30 +00:00
Patrick Caulfield
6500afc0ca
Remove O_DIRECT as it causes problems with some systems.
...
Harumph.
2002-08-14 14:58:00 +00:00
Joe Thornber
615ef1e2d2
o Make sure the status parsing code can deal with an empty array.
2002-08-01 12:51:48 +00:00
Joe Thornber
cf69a0cd7f
o Added new value type CFG_EMPTY_ARRAY, to indicate '[]', useful since we use
...
the arrays to hold a symbolic set of flags.
2002-08-01 12:46:52 +00:00
Joe Thornber
06e892fb33
o 0 was used rather than NULL in a couple of places.
...
o Indent output with tabs rather than single spaces.
2002-08-01 08:22:09 +00:00
Patrick Caulfield
247efdebdb
Rename lock_resource to file_lock_resource to avoid name clashes
2002-07-25 09:04:30 +00:00
Patrick Caulfield
76f3792287
Use O_DIRECT for writing to devices.
...
Doesn't work on HPPA due to a kernel bug but other archs shuld be OK.
2002-07-22 08:10:54 +00:00
Alasdair Kergon
64d8e2c727
Remove hard-coded extent_size from snapshot target (field no longer used).
2002-07-17 17:00:54 +00:00
Joe Thornber
66fc13b2ec
i) Add the VISIBLE flag to the text format. (Other changes are pending
...
for lib/activate.)
2002-07-11 15:28:49 +00:00
Joe Thornber
f3af4128b0
i) Added a little macro to aid defining the status flags.
2002-07-11 14:36:45 +00:00
Joe Thornber
0e43107c87
i) There's now a seperate field in struct logical_volume that stores the
...
allocation policy. This can currently take one of three values:
typedef enum {
ALLOC_NEXT_FREE,
ALLOC_STRICT,
ALLOC_CONTIGUOUS
} alloc_policy_t;
Notice that 'SIMPLE' has turned into the slightly more meaningful NEXT_FREE.
ii) Put code into display.[hc] for converting one of these enums to a
text representation and back again.
ii) Updated the text format so this also has the alloc_policy field.
2002-07-11 14:21:49 +00:00
Alasdair Kergon
1ee3e7997e
tidy
2002-07-11 14:09:26 +00:00
Alasdair Kergon
50fd61d91f
Add get_config_str
2002-07-11 14:07:43 +00:00
Patrick Caulfield
e4cdc051a9
Don't log an error if we can't write the cache file because the FS is read-only.
...
Gets rid of that annoying error at shutdown.
2002-07-11 09:23:29 +00:00
Alasdair Kergon
778e846e96
Add --ignorelockingfailure
2002-07-10 20:43:32 +00:00
Alasdair Kergon
a27759b647
Merge adjacent "Missing" segments.
2002-07-10 13:54:17 +00:00
Joe Thornber
b75eceab41
o Add version number to text format.
2002-07-02 18:47:43 +00:00
Patrick Caulfield
99c5a3ae46
Flush on open as well as close.
2002-06-25 14:02:28 +00:00
Patrick Caulfield
059a6b1d90
Get rid of compile warnings on 64bit platforms.
2002-06-07 08:37:07 +00:00
Alasdair Kergon
7904ecb462
Tidy
2002-05-31 19:28:37 +00:00
Alasdair Kergon
9ba4d45109
Remember to update VG free_count when reducing size of an LV.
2002-05-30 16:08:19 +00:00
AJ Lewis
e12a7e881d
o fix changed function names
2002-05-23 14:13:21 +00:00
Alasdair Kergon
5afb65325d
Fix LVM1 backwards compatibility issue when LV with a low LV number is deleted.
2002-05-23 11:37:51 +00:00
Alasdair Kergon
b8769751f6
Rename; add some FIXMEs.
2002-05-22 14:03:45 +00:00
Alasdair Kergon
eff96d839e
Revert to standard linux macros (for correct behaviour on rare architectures).
2002-05-21 12:37:07 +00:00
Andres Salomon
195acdac8c
ack, missing include
2002-05-19 04:11:34 +00:00