Alasdair G Kergon
5e7bc8d854
man: Build man-generator in tools dir.
...
Use ln to make a copy of command.c for compilation with different DEFS
then handle dependencies the normal way.
2017-03-16 23:10:40 +00:00
Alasdair G Kergon
270ed9bc90
man: Preserve template variables in pre-generated pages.
2017-03-16 23:08:59 +00:00
Alasdair G Kergon
0c74afa1c6
make.tmpl: Support per-object DEFS.
...
Same as CFLAGS.
2017-03-16 23:03:03 +00:00
Alasdair G Kergon
2d00767394
tools: Avoid man-generator compilation warnings.
...
Unused variables and make fns with missing prototypes static.
2017-03-16 22:39:04 +00:00
Heinz Mauelshagen
ad4158bac7
man: lvmraid(7) clarifications
2017-03-16 23:10:57 +01:00
Heinz Mauelshagen
4a3e30d102
WHATS_NEW: ensure raid6 upconversion restrictions
2017-03-16 22:33:08 +01:00
Heinz Mauelshagen
b917b12e2c
WHATS_NEW: adjust mirror+raid DSOs to lvconvert --repair
2017-03-16 22:27:30 +01:00
Heinz Mauelshagen
b0336e8b3c
lvconvert: ensure upconversion restrictions
...
Ensure minimum number of 3 data stripes on conversions to raid6.
Add test for it.
Resolves: rhbz1432675
2017-03-16 22:10:32 +01:00
Heinz Mauelshagen
76b843a4bf
test: adjust to proper dm-raid target version
...
Adjust to final target version 1.10.1 supporting reshape
properly and to recently changed report field specifications
(e.g. rehape_len_le) to allow these tests to run.
Lower mirror region size to suite the tiny test VG.
2017-03-16 21:17:58 +01:00
Heinz Mauelshagen
a37bb7b2a5
dmeventd: adjust mirror/raid DSOs to new repair design
...
Previous commit 506d88a2ec
introduced disabling lvmetad on repairs.
Avoid calling lvscan and use of any --config options altogether
in the mirror and raid DSOs.
Related: rhbz1380521
2017-03-16 21:05:05 +01:00
David Teigland
73d028023a
lvmetad: fix bug in snprintf of disable reason
2017-03-16 12:15:40 -05:00
David Teigland
c8719d4e94
WHATS_NEW: disable lvmetad for repair
2017-03-16 11:56:19 -05:00
David Teigland
506d88a2ec
lvconvert: disable lvmetad for repair
...
Repairing missing devices does not work reliably
with lvmetad, so disable lvmetad before repair.
A standard lvmetad refresh (pvscan --cache) will
enable lvmetad again.
2017-03-16 11:50:36 -05:00
Heinz Mauelshagen
e5b6f2685a
dmeventd: reintroduce fix mirror DSO to work with lvmetad
...
Commit 07ded8059c
assumed that the mirror is blocked which is not the case.
It is accessible, degraded and in need of repair because some of its legs
(partially) failed. Any auto-repair via dmeventd fails though because
of lvmetad not providing proper data about the failed PV(s). That's why
this workaround got introduced in commit 76f6951c3e
until we get to
the lvmetad interaction core issue.
Mind any mirror auto-repair failure is caused by such lvmetad interaction
problems not yet solved so disabling lvmetad works as a resort as elaborated
on in the related bz.
Reintroducing the interim solution.
Resolves: rhbz1380521
2017-03-16 14:19:06 +01:00
Marian Csontos
a87715b6fd
spec: Disable sanlock only, keep lockd_dlm enabled
2017-03-16 13:03:25 +01:00
Marian Csontos
19b65a3d76
spec: Replace remaining %define by %global
2017-03-16 13:03:24 +01:00
Marian Csontos
7067514c9b
spec: Use %global instead of %define for constants
...
Using %define is now discouraged by Fedora Packaging Guidelines
2017-03-16 13:03:24 +01:00
Marian Csontos
5ba82a16db
spec: Update requirements for lockd
...
lockd requires sanlock >= 3.3.0
2017-03-16 13:03:24 +01:00
Marian Csontos
cf0bf4b314
spec: Profiles are not %config(noreplace)
...
These files are just examples and should not be edited by user.
2017-03-16 13:02:24 +01:00
Marian Csontos
a4a6a7a526
man: Make dmfilemapd.8 optional
2017-03-16 12:26:51 +01:00
Marian Csontos
2fd5c8e908
spec: lvmchange is built-in command
2017-03-16 11:44:10 +01:00
Marian Csontos
affe055462
man: Handle empty MAN8GENERATED
2017-03-16 11:35:08 +01:00
Zdenek Kabelac
51b9de7249
tests: better disk delay
...
Delay only writable extents.
Skip zeroing for earlier lvcreate finish.
2017-03-16 08:49:52 +01:00
Zdenek Kabelac
7fa08ae4e8
tests: add missing --yes
2017-03-16 08:44:44 +01:00
Alasdair G Kergon
e9b5a455e1
tools: Drop unused e2fsadm refs (replaced by fsadm).
2017-03-16 02:24:39 +00:00
Alasdair G Kergon
8ef93c756e
man: Include lvmchange/lvmsar/lvmsadc content in lvm.8
...
Remove separate lvmchange man page as the external command has also been
removed.
2017-03-16 02:09:51 +00:00
Alasdair G Kergon
b0430b975b
man: Reinstate previous lvmsar and lvmsadc pages.
...
Avoid listing all the common options for obsolete commands.
2017-03-16 01:49:40 +00:00
Alasdair G Kergon
1cdaa8144d
lvmsar/lvmsadc: Mention dmstats when run.
2017-03-16 01:36:02 +00:00
Alasdair G Kergon
4f86519845
lvmchange: Move to a built-in command.
...
Has been obsolete since LVM1 and it's clear we'll never implement this.
2017-03-16 01:09:29 +00:00
Alasdair G Kergon
9729fc4f8c
man: Remove blank lines from pregenerated files
2017-03-16 00:50:27 +00:00
Alasdair G Kergon
6d6ab310e5
man: reinstate lvmchange man page for now
2017-03-16 00:46:35 +00:00
Zdenek Kabelac
07ded8059c
mirror: revert 76f6951c3e
...
Effectively revert whole 76f6951c3e
.
We need to figure out some other solution.
At this moment usage of --config with 'repair' of blocked mirror
is 'freezing' combination.
2017-03-16 01:17:57 +01:00
Zdenek Kabelac
4a727a3ccd
raid: use 64bit arithmetic
...
Coverity - keep multiplication for size cals in 64bit
(otherwise it's just 32b x 32b)
2017-03-16 01:02:10 +01:00
Zdenek Kabelac
e3a51537c5
coverity: make sure segtype pointer is valid
2017-03-16 01:02:10 +01:00
Zdenek Kabelac
42b970d4f3
libdm: fix endless loop
...
Coverity noticed endless loop (i not being changed).
TODO: test coverage
2017-03-16 01:02:10 +01:00
Zdenek Kabelac
2a139993b4
thin: remove unneeed test for NULL
...
In this API NULL is not valid parameter so do not check for it.
2017-03-16 01:02:10 +01:00
Zdenek Kabelac
0dcb928d1e
coverity: update models
...
Latest versions do get quite strange - so let's use suggestions
from their authors...
2017-03-16 01:02:10 +01:00
Zdenek Kabelac
115fd205de
mirror: avoid scanning
...
While mirror is blocked we can't try to scan device.
Regression introduce by previous commit
76f6951c3e
.
2017-03-16 01:02:10 +01:00
Jonathan Brassow
849ab38e3c
man: Minor clarifications and grammar corrections for lvmraid.7
2017-03-15 18:19:29 -05:00
David Teigland
7b6ee130cc
man: remove blank lines from end/des files
...
which produce unwanted blank lines in some output
formats.
2017-03-15 15:59:43 -05:00
David Teigland
5c5df43ea3
help: fix missing newlines
...
Recent commits to remove newlines from man output
accidentally removed some newlines from help output.
2017-03-15 11:40:59 -05:00
David Teigland
60eb74a27a
man: remove blank lines in included files
2017-03-15 11:30:34 -05:00
David Teigland
7e9bc77865
man: remove blank lines
...
Blank lines in the man source sometimes appear as extra
blank lines in the output, so remove them.
2017-03-15 11:05:31 -05:00
Alasdair G Kergon
f536c53aee
man: specify man-generator path
2017-03-15 01:36:12 +00:00
Alasdair G Kergon
1dc1a1cedb
make: Support for 'make -R'.
...
Aim to be self-sufficient.
2017-03-15 01:31:11 +00:00
David Teigland
531d7c97e7
man: remove more unnecessary line breaks
...
in case they cause extra blank lines in some output formats.
2017-03-14 16:28:20 -05:00
David Teigland
23d59c6fc1
man: remove redundant line breaks
...
unecessary .br and .P
2017-03-14 15:04:58 -05:00
David Teigland
5942fd18db
args: clarify repeated --options lists
2017-03-14 13:52:09 -05:00
David Teigland
88b05391ff
man clvmd: mention attempt for deactivate
...
attempt is always the case, but mention it again
2017-03-14 10:17:46 -05:00
Alasdair G Kergon
c891918174
man: Adjust some wording and update examples style.
2017-03-14 14:55:36 +00:00