]> sourceware.org Git - lvm2.git/log
lvm2.git
7 years agoman: enhance man postprocessing regexp
Heinz Mauelshagen [Mon, 27 Mar 2017 22:17:43 +0000 (00:17 +0200)]
man: enhance man postprocessing regexp

7 years agotests: update to better fit
Zdenek Kabelac [Thu, 23 Mar 2017 15:00:02 +0000 (16:00 +0100)]
tests: update to better fit

Die is automatic on 'error' result
Cleanup everything on 'regular' code path.

7 years agocleanup: use more common FMTd64 type
Zdenek Kabelac [Mon, 27 Mar 2017 18:32:21 +0000 (20:32 +0200)]
cleanup: use more common FMTd64 type

We use 'd' for plain singed integers.

7 years agobuild: fix x32 arch
Mikulas Patocka [Wed, 15 Feb 2017 16:01:49 +0000 (11:01 -0500)]
build: fix x32 arch

This patch fixed lvm2 compilation running on x32 arch.
(Using 64bit x86 cpu features but running on 32b address space,
so consuming less mem in VM).

On x32 arch 'time_t' is 64bit while 'long' is 32bit.

7 years agoman-generator/man/help: simplify hyphen escaping
Heinz Mauelshagen [Mon, 27 Mar 2017 14:45:48 +0000 (16:45 +0200)]
man-generator/man/help: simplify hyphen escaping

Commits a29bb6a14b5e920092495fb9a1623e527d22daac
    ... 5c199d99f4dc9911d62673baba7643ea649ffe64
narrowed down on addressing the escaping of hyphens
in the dynamic creation of manuals whilst avoiding
them in creating help texts.  This lead to a sequence
of slipping through hyphens adrressed by additional
patches in aforementioned commit series.

On the other hand, postprocessing dynamically man-generator
created and statically provided manuals catches all hyphens
in need of escaping.

Changes:
- revert the above commits whilst keeping man-generator
  streamlining and the detection of any '\' when generating
  help texts in order to avoid escapes to slip in

- Dynamically escape hyphens in manaual pages using sed(1)
  in the respective Makefile targets

- remove any manually added escaping on hyphens from any
  static manual sources or headers

7 years agolvchange: reject setting all raid1 images to writemostly
Heinz Mauelshagen [Sun, 26 Mar 2017 18:28:04 +0000 (20:28 +0200)]
lvchange: reject setting all raid1 images to writemostly

raid1 doesn't allow to set all images to writemostly because at
least one image is required to receive any written data immediately.

The dm-raid target will detect such invalid request and
fail it iwith a kernel error message.

Reject such request in uspace displaying a respective error message.

7 years agoman: a few more missed '-' to escape
Heinz Mauelshagen [Sat, 25 Mar 2017 02:40:02 +0000 (03:40 +0100)]
man: a few more missed '-' to escape

7 years agoman-generator: more escaped '-'
Heinz Mauelshagen [Fri, 24 Mar 2017 17:57:45 +0000 (18:57 +0100)]
man-generator: more escaped '-'

7 years agoman-generator: fix buffer length calculation
Heinz Mauelshagen [Fri, 24 Mar 2017 17:33:03 +0000 (18:33 +0100)]
man-generator: fix buffer length calculation

7 years agomake: Don't hard-code SHELL as /bin/sh
Alasdair G Kergon [Fri, 24 Mar 2017 15:29:17 +0000 (15:29 +0000)]
make: Don't hard-code SHELL as /bin/sh

7 years agoman/help: avoid escaping of '-' with --help
Heinz Mauelshagen [Fri, 24 Mar 2017 14:14:21 +0000 (15:14 +0100)]
man/help: avoid escaping of '-' with --help

7 years agoWHATS_NEW: man-generator escape '-'
Heinz Mauelshagen [Fri, 24 Mar 2017 13:31:19 +0000 (14:31 +0100)]
WHATS_NEW: man-generator escape '-'

7 years agoman-generator: cleanup escape '-'
Heinz Mauelshagen [Fri, 24 Mar 2017 13:27:59 +0000 (14:27 +0100)]
man-generator: cleanup escape '-'

7 years agoman-generator: emit escaped '-'
Heinz Mauelshagen [Fri, 24 Mar 2017 03:00:47 +0000 (04:00 +0100)]
man-generator: emit escaped '-'

7 years agoman: escape all single '-'
Heinz Mauelshagen [Fri, 24 Mar 2017 01:46:11 +0000 (02:46 +0100)]
man: escape all single '-'

7 years agoman: revert erouneous '-' escapes in Makefine.in
Heinz Mauelshagen [Fri, 24 Mar 2017 00:39:50 +0000 (01:39 +0100)]
man: revert erouneous '-' escapes in Makefine.in

7 years agoman: escape all double '-'
Heinz Mauelshagen [Fri, 24 Mar 2017 00:03:58 +0000 (01:03 +0100)]
man: escape all double '-'

7 years agotools: Reinstate lvm script processing.
Alasdair G Kergon [Thu, 23 Mar 2017 23:03:25 +0000 (23:03 +0000)]
tools: Reinstate lvm script processing.

We check for a script if the command isn't recognised (ENO_SUCH_CMD).
(Also added a few comments and fixed some whitespace.)

7 years agolibdm: typo
Heinz Mauelshagen [Thu, 23 Mar 2017 23:12:41 +0000 (00:12 +0100)]
libdm: typo

7 years agocommands: improve error message for unknown command
David Teigland [Thu, 23 Mar 2017 08:35:06 +0000 (03:35 -0500)]
commands: improve error message for unknown command

when running "lvm foo".

7 years agocommands: fix commands with run with path basename
David Teigland [Thu, 23 Mar 2017 08:06:07 +0000 (03:06 -0500)]
commands: fix commands with run with path basename

The recent command definitions commit took the command
name from argv[0] without applying basename to the value,
so a pathname, e.g. /usr/sbin, would cause lvm to not
recognize the command name.

7 years agotools: Show configuration command line in lvm version.
Alasdair G Kergon [Thu, 23 Mar 2017 01:00:49 +0000 (01:00 +0000)]
tools: Show configuration command line in lvm version.

Also update configure.in with some items recently added to the tree.

7 years agoraid: adjust to misordered raid table line output
Heinz Mauelshagen [Thu, 23 Mar 2017 00:20:00 +0000 (01:20 +0100)]
raid: adjust to misordered raid table line output

This commit supersedes reverted 1e4462dbfbd2bbe3590936df24b3ccd83110b158
to avoid changes to liblvm and the libdm API completely.

The libdevmapper interface compares existing table line retrieved from
the kernel to new table line created to decide if it can suppress a reload.
Any difference between input and output of the table line is taken to be a
change thus causing a table reload.

The dm-raid target started to misorder the raid parameters (e.g. 'raid10_copies')
starting with dm-raid target version 1.9.0 up to (excluding) 1.11.0.  This causes
runtime failures (limited to raid10 as of tests) and needs to be reversed to allow
e.g. old lvm2 uspace to run properly.

Check for the aforementioned version range in libdm and adjust creation of the table line
to the respective (mis)ordered sequence inside and correct order outside the range
(as described for the raid target in the kernels Documentation/device-mapper/dm-raid.txt).

7 years agoRevert "raid: adjust to misordered raid table line output"
Heinz Mauelshagen [Wed, 22 Mar 2017 16:50:51 +0000 (17:50 +0100)]
Revert "raid: adjust to misordered raid table line output"

This reverts commit 1e4462dbfbd2bbe3590936df24b3ccd83110b158
in favour of an enhanced solution avoiding changes in liblvm
completetly by checking the target versions in libdm and emitting
the respective parameter lines.

7 years agocommands: fix combined thin pool and vol create defs
David Teigland [Tue, 21 Mar 2017 02:48:22 +0000 (21:48 -0500)]
commands: fix combined thin pool and vol create defs

Fixes command defs related to creating a new thin pool and
then a new thin lv in the new pool.

1. lvcreate --size --virtualsize --thinpool
   Needs a cmd def, it was missing.
   The def is unique by the three required
   options: size, virtualsize and thinpool.

2. lvcreate --size --virtualsize --thinpool VG
   Needs a cmd def, it was missing.
   The def is unique by the three required
   options: size, virtualsize and thinpool,
   and one required positional arg: VG.

3. lvcreate --thin --virtualsize --size LV_new|VG
   This existing def should not accept an optional
   --type thin, which if used makes it indistinct
   from another def.

4. lvcreate --size --virtualsize VG
   This existing def should not accept an optional
   --type thin or --thin, which if used makes it
   indistinct from other defs (e.g. 3)

7 years agoRevert "lvcreate: continue to accept --thinpool with -L and -V but not -T"
David Teigland [Wed, 22 Mar 2017 01:38:47 +0000 (20:38 -0500)]
Revert "lvcreate: continue to accept --thinpool with -L and -V but not -T"

This reverts commit 642d682d8ddcc3152f68b3ec8518902a0ef448ac.

Using the thinpool option with this cmd def makes it
indistinct from other cmd defs where thinpool is a
required option.

7 years agometadata: cleanup flags definition to be consistent
Heinz Mauelshagen [Tue, 21 Mar 2017 23:29:49 +0000 (00:29 +0100)]
metadata: cleanup flags definition to be consistent

Use shift bitops throughout segtype.h.

7 years agoWHATS_NEW: adjust to misordered raid parameters
Heinz Mauelshagen [Tue, 21 Mar 2017 17:18:58 +0000 (18:18 +0100)]
WHATS_NEW: adjust to misordered raid parameters

7 years agoraid: adjust to misordered raid table line output
Heinz Mauelshagen [Tue, 21 Mar 2017 17:17:42 +0000 (18:17 +0100)]
raid: adjust to misordered raid table line output

The libdevmapper interface compares existing table line retrieved from
the kernel to new table line created to decide if it can suppress a reload.
Any difference between input and output of the table line is taken to be a
change thus causing a table reload.

The dm-raid target started to misorder the raid parameters (e.g. 'raid10_copies')
starting with dm-raid target version 1.9.0 up to (excluding) 1.11.0.  This causes
runtime failures (limited to raid10 as of tests) and needs to be reversed to allow
e.g. old lvm2 uspace to run properly.

Check for the aforementioned version range and adjust creation of the table line
to the respective (mis)ordered sequence inside and correct order outside the range
(as described for the raid target in the kernels Documentation/device-mapper/dm-raid.txt).

7 years agolvcreate: continue to accept --thinpool with -L and -V but not -T
Alasdair G Kergon [Mon, 20 Mar 2017 21:57:17 +0000 (21:57 +0000)]
lvcreate: continue to accept --thinpool with -L and -V but not -T

lvcreate --thinpool POOL1 -L 100M --virtualsize 100M snapper_thinp

https://bugzilla.redhat.com/1434027

(The general rule is that a command is accepted if it is unambiguous.
The combination -L -V --thinpool uniquely identifies the operation.)

7 years agoman-generator: Remove unused variable.
Alasdair G Kergon [Mon, 20 Mar 2017 16:55:30 +0000 (16:55 +0000)]
man-generator: Remove unused variable.

man-generator.c:2976:6: warning: variable "sep" set but not used

7 years agolvmdbusd: Rename ee to got_external_event
Tony Asleson [Mon, 20 Mar 2017 14:43:34 +0000 (09:43 -0500)]
lvmdbusd: Rename ee to got_external_event

This variable is global, make it more descriptive.

7 years agolvmdbusd: Update state during pv move
Tony Asleson [Wed, 15 Mar 2017 19:19:55 +0000 (14:19 -0500)]
lvmdbusd: Update state during pv move

Periodically update the state during pv move so that all the different
dbus objects reflect something close to reality during the process.

7 years agolvmdbusd: Limit state refreshes for udev events
Tony Asleson [Wed, 15 Mar 2017 18:08:19 +0000 (13:08 -0500)]
lvmdbusd: Limit state refreshes for udev events

Udev events can come in like a flood when something changes.  It really
doesn't do us any good to refresh the state of the service numerous times
when 1 would suffice.  We had something like this before, but it was
removed when we added the refresh thread.  However, we have since learned
that we need to sequence events in the correct order and block dbus
operations if we believe the state has been affected, thus udev events are
being processed on the main work queue.  This change limits spurious
work items from getting to the queue.

7 years agolvmdbusd: Call add_no_notify for *move commands
Tony Asleson [Wed, 15 Mar 2017 15:58:41 +0000 (10:58 -0500)]
lvmdbusd: Call add_no_notify for *move commands

Missed this in change when "add_no_notify" was added.  This was causing
extra external events to process when we did moves.

7 years agolvmdbusd: Only disable notify_dbus after getting external event
Tony Asleson [Wed, 15 Mar 2017 15:57:01 +0000 (10:57 -0500)]
lvmdbusd: Only disable notify_dbus after getting external event

If we always disable the sending of notify dbus events then in the case
where all the users are lvm dbus users we will be in udev handling mode
until at least 1 external lvm command occurs.  Instead we will not disable
notify dbus until after we get at least 1 external event.  This makes the
service get into the correct mode of operation faster.

7 years agotests: early detect leaking error dev
Zdenek Kabelac [Mon, 20 Mar 2017 13:18:50 +0000 (14:18 +0100)]
tests: early detect leaking error dev

lvconvert should not leak 'error' device.

(This patch is not fix the problem, just makes it more easily visible
instead of more confusing 'clvmd' trace).

7 years agoman: advise against mirrored mirror log
David Teigland [Fri, 17 Mar 2017 16:54:39 +0000 (11:54 -0500)]
man: advise against mirrored mirror log

7 years agohelp: align option list in pv/lv/vgchange cases
David Teigland [Fri, 17 Mar 2017 16:20:51 +0000 (11:20 -0500)]
help: align option list in pv/lv/vgchange cases

Align one-required options like is done for
optional options.

7 years agoraid: check target version for shrink support
Heinz Mauelshagen [Fri, 17 Mar 2017 15:46:33 +0000 (16:46 +0100)]
raid: check target version for shrink support

Starting with dm-raid target version 1.9.0 shrinking of mapped devices is supported.
Check for support being present in lvresize and lvreduce.

Related: rhbz1394048

7 years agoraid: conditionally reject convert to striped/raid; fix
Heinz Mauelshagen [Fri, 17 Mar 2017 15:03:35 +0000 (16:03 +0100)]
raid: conditionally reject convert to striped/raid; fix

Fix a logic flaw introduced in commit 17bee733d16e
preventing e.g. striped -> raid5 conversions.

Related: rhbz1191935
Related: rhbz1366296

7 years agoWHATS_NEW: conditionally reject raid convert
Heinz Mauelshagen [Fri, 17 Mar 2017 13:51:10 +0000 (14:51 +0100)]
WHATS_NEW: conditionally reject raid convert

7 years agoraid: cleanup; remove unused function
Heinz Mauelshagen [Fri, 17 Mar 2017 13:24:09 +0000 (14:24 +0100)]
raid: cleanup; remove unused function

Remove unused function (lv_has_constant_stripes() is used instead).

7 years agotests: raise min dm cache version
Zdenek Kabelac [Fri, 17 Mar 2017 13:20:20 +0000 (14:20 +0100)]
tests: raise min dm cache version

Since we want to test different cache policies with profiles mq&smq
raise version to 1.8.

TODO: maybe split in more tests so older targets can test here as well.
N.B.: passthrough is also not supported with version 1.3

7 years agoproperties: only thin-pool provides discards
Zdenek Kabelac [Fri, 17 Mar 2017 13:01:18 +0000 (14:01 +0100)]
properties: only thin-pool provides discards

Quering non-thin-pool segment for discard property may lead
to intenal error if the segment had set 'out-of-range' value,
so only thin-pool is allowed, for other it returns NULL.

7 years agolvm2app: correct internal API changes
Zdenek Kabelac [Fri, 17 Mar 2017 13:00:18 +0000 (14:00 +0100)]
lvm2app: correct internal API changes

Internal library gets more strict about setting discard and
zero_new_blocks parameter.

7 years agoraid: cleanup
Heinz Mauelshagen [Fri, 17 Mar 2017 13:14:42 +0000 (14:14 +0100)]
raid: cleanup

Move function _raid45_to_raid54_wrapper() to avoid superfluous declaration.

7 years agoraid: name variables consistently
Heinz Mauelshagen [Fri, 17 Mar 2017 13:04:03 +0000 (14:04 +0100)]
raid: name variables consistently

Related: rhbz1191935
Related: rhbz1366296

7 years agoraid: conditionally reject convert to striped/raid0*
Heinz Mauelshagen [Fri, 17 Mar 2017 12:58:54 +0000 (13:58 +0100)]
raid: conditionally reject convert to striped/raid0*

If SubLVs to be removed still exist after an image removing
conversion (i.e. "lvconvert --yes --force --stripes N "
with N < total stripes) any request to convert to a different
striped/raid* level has to be rejected until after those freed
SubLVs got removed by running the aforementioned lvconvert again.

Add tests to check conversion to striped/raid* gets rejected.
Enhance a test comment.

Related: rhbz1191935
Related: rhbz1366296

7 years agoman: Build man-generator in tools dir.
Alasdair G Kergon [Thu, 16 Mar 2017 23:10:40 +0000 (23:10 +0000)]
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.

7 years agoman: Preserve template variables in pre-generated pages.
Alasdair G Kergon [Thu, 16 Mar 2017 23:08:59 +0000 (23:08 +0000)]
man: Preserve template variables in pre-generated pages.

7 years agomake.tmpl: Support per-object DEFS.
Alasdair G Kergon [Thu, 16 Mar 2017 23:03:03 +0000 (23:03 +0000)]
make.tmpl: Support per-object DEFS.

Same as CFLAGS.

7 years agotools: Avoid man-generator compilation warnings.
Alasdair G Kergon [Thu, 16 Mar 2017 22:39:04 +0000 (22:39 +0000)]
tools: Avoid man-generator compilation warnings.

Unused variables and make fns with missing prototypes static.

7 years agoman: lvmraid(7) clarifications
Heinz Mauelshagen [Thu, 16 Mar 2017 22:10:57 +0000 (23:10 +0100)]
man: lvmraid(7) clarifications

7 years agoWHATS_NEW: ensure raid6 upconversion restrictions
Heinz Mauelshagen [Thu, 16 Mar 2017 21:33:08 +0000 (22:33 +0100)]
WHATS_NEW: ensure raid6 upconversion restrictions

7 years agoWHATS_NEW: adjust mirror+raid DSOs to lvconvert --repair
Heinz Mauelshagen [Thu, 16 Mar 2017 21:27:30 +0000 (22:27 +0100)]
WHATS_NEW: adjust mirror+raid DSOs to lvconvert --repair

7 years agolvconvert: ensure upconversion restrictions
Heinz Mauelshagen [Thu, 16 Mar 2017 21:10:32 +0000 (22:10 +0100)]
lvconvert: ensure upconversion restrictions

Ensure minimum number of 3 data stripes on conversions to raid6.

Add test for it.

Resolves: rhbz1432675

7 years agotest: adjust to proper dm-raid target version
Heinz Mauelshagen [Thu, 16 Mar 2017 20:17:58 +0000 (21:17 +0100)]
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.

7 years agodmeventd: adjust mirror/raid DSOs to new repair design
Heinz Mauelshagen [Thu, 16 Mar 2017 20:03:51 +0000 (21:03 +0100)]
dmeventd: adjust mirror/raid DSOs to new repair design

Previous commit 506d88a2ec8c introduced disabling lvmetad on repairs.

Avoid calling lvscan and use of any --config options altogether
in the mirror and raid DSOs.

Related: rhbz1380521

7 years agolvmetad: fix bug in snprintf of disable reason
David Teigland [Thu, 16 Mar 2017 17:15:03 +0000 (12:15 -0500)]
lvmetad: fix bug in snprintf of disable reason

7 years agoWHATS_NEW: disable lvmetad for repair
David Teigland [Thu, 16 Mar 2017 16:56:19 +0000 (11:56 -0500)]
WHATS_NEW: disable lvmetad for repair

7 years agolvconvert: disable lvmetad for repair
David Teigland [Thu, 16 Mar 2017 15:56:05 +0000 (10:56 -0500)]
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.

7 years agodmeventd: reintroduce fix mirror DSO to work with lvmetad
Heinz Mauelshagen [Thu, 16 Mar 2017 13:19:06 +0000 (14:19 +0100)]
dmeventd: reintroduce fix mirror DSO to work with lvmetad

Commit 07ded8059cbd 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 76f6951c3e8f 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

7 years agospec: Disable sanlock only, keep lockd_dlm enabled
Marian Csontos [Fri, 16 Sep 2016 16:01:31 +0000 (18:01 +0200)]
spec: Disable sanlock only, keep lockd_dlm enabled

7 years agospec: Replace remaining %define by %global
Marian Csontos [Fri, 16 Sep 2016 15:30:01 +0000 (17:30 +0200)]
spec: Replace remaining %define by %global

7 years agospec: Use %global instead of %define for constants
Marian Csontos [Fri, 16 Sep 2016 15:23:32 +0000 (17:23 +0200)]
spec: Use %global instead of %define for constants

Using %define is now discouraged by Fedora Packaging Guidelines

7 years agospec: Update requirements for lockd
Marian Csontos [Fri, 16 Sep 2016 15:21:24 +0000 (17:21 +0200)]
spec: Update requirements for lockd

lockd requires sanlock >= 3.3.0

7 years agospec: Profiles are not %config(noreplace)
Marian Csontos [Wed, 14 Sep 2016 12:39:44 +0000 (14:39 +0200)]
spec: Profiles are not %config(noreplace)

These files are just examples and should not be edited by user.

7 years agoman: Make dmfilemapd.8 optional dev-mcsontos-filemapd
Marian Csontos [Thu, 16 Mar 2017 11:26:51 +0000 (12:26 +0100)]
man: Make dmfilemapd.8 optional

7 years agospec: lvmchange is built-in command
Marian Csontos [Thu, 16 Mar 2017 10:44:10 +0000 (11:44 +0100)]
spec: lvmchange is built-in command

7 years agoman: Handle empty MAN8GENERATED
Marian Csontos [Thu, 16 Mar 2017 10:33:07 +0000 (11:33 +0100)]
man: Handle empty MAN8GENERATED

7 years agotests: better disk delay
Zdenek Kabelac [Thu, 16 Mar 2017 07:49:52 +0000 (08:49 +0100)]
tests: better disk delay

Delay only writable extents.
Skip zeroing for earlier lvcreate finish.

7 years agotests: add missing --yes
Zdenek Kabelac [Thu, 16 Mar 2017 07:44:44 +0000 (08:44 +0100)]
tests: add missing --yes

7 years agotools: Drop unused e2fsadm refs (replaced by fsadm).
Alasdair G Kergon [Thu, 16 Mar 2017 02:24:39 +0000 (02:24 +0000)]
tools: Drop unused e2fsadm refs (replaced by fsadm).

7 years agoman: Include lvmchange/lvmsar/lvmsadc content in lvm.8
Alasdair G Kergon [Thu, 16 Mar 2017 02:09:51 +0000 (02:09 +0000)]
man: Include lvmchange/lvmsar/lvmsadc content in lvm.8

Remove separate lvmchange man page as the external command has also been
removed.

7 years agoman: Reinstate previous lvmsar and lvmsadc pages.
Alasdair G Kergon [Thu, 16 Mar 2017 01:49:40 +0000 (01:49 +0000)]
man: Reinstate previous lvmsar and lvmsadc pages.

Avoid listing all the common options for obsolete commands.

7 years agolvmsar/lvmsadc: Mention dmstats when run.
Alasdair G Kergon [Thu, 16 Mar 2017 01:36:02 +0000 (01:36 +0000)]
lvmsar/lvmsadc: Mention dmstats when run.

7 years agolvmchange: Move to a built-in command.
Alasdair G Kergon [Thu, 16 Mar 2017 01:09:29 +0000 (01:09 +0000)]
lvmchange: Move to a built-in command.

Has been obsolete since LVM1 and it's clear we'll never implement this.

7 years agoman: Remove blank lines from pregenerated files
Alasdair G Kergon [Thu, 16 Mar 2017 00:50:27 +0000 (00:50 +0000)]
man: Remove blank lines from pregenerated files

7 years agoman: reinstate lvmchange man page for now
Alasdair G Kergon [Thu, 16 Mar 2017 00:46:35 +0000 (00:46 +0000)]
man: reinstate lvmchange man page for now

7 years agomirror: revert 76f6951c3e8f0933df9730a42e9c46f273d1da24
Zdenek Kabelac [Thu, 16 Mar 2017 00:17:57 +0000 (01:17 +0100)]
mirror: revert 76f6951c3e8f0933df9730a42e9c46f273d1da24

Effectively revert whole  76f6951c3e8f0933df9730a42e9c46f273d1da24.
We need to figure out some other solution.

At this moment usage of --config  with 'repair' of blocked mirror
is 'freezing' combination.

7 years agoraid: use 64bit arithmetic
Zdenek Kabelac [Wed, 15 Mar 2017 23:51:52 +0000 (00:51 +0100)]
raid: use 64bit arithmetic

Coverity - keep  multiplication for size cals in 64bit
(otherwise it's just 32b x 32b)

7 years agocoverity: make sure segtype pointer is valid
Zdenek Kabelac [Wed, 15 Mar 2017 23:46:48 +0000 (00:46 +0100)]
coverity: make sure segtype pointer is valid

7 years agolibdm: fix endless loop
Zdenek Kabelac [Wed, 15 Mar 2017 23:36:06 +0000 (00:36 +0100)]
libdm: fix endless loop

Coverity noticed endless loop (i not being changed).

TODO: test coverage

7 years agothin: remove unneeed test for NULL
Zdenek Kabelac [Wed, 15 Mar 2017 23:34:31 +0000 (00:34 +0100)]
thin: remove unneeed test for NULL

In this API NULL is not valid parameter so do not check for it.

7 years agocoverity: update models
Zdenek Kabelac [Tue, 14 Mar 2017 13:15:55 +0000 (14:15 +0100)]
coverity: update models

Latest versions do get quite  strange - so let's use suggestions
from their authors...

7 years agomirror: avoid scanning
Zdenek Kabelac [Wed, 15 Mar 2017 23:00:52 +0000 (00:00 +0100)]
mirror: avoid scanning

While mirror is blocked we can't try to scan device.
Regression introduce by previous commit
76f6951c3e8f0933df9730a42e9c46f273d1da24.

7 years agoman: Minor clarifications and grammar corrections for lvmraid.7
Jonathan Brassow [Wed, 15 Mar 2017 23:19:29 +0000 (18:19 -0500)]
man:  Minor clarifications and grammar corrections for lvmraid.7

7 years agoman: remove blank lines from end/des files
David Teigland [Wed, 15 Mar 2017 20:59:43 +0000 (15:59 -0500)]
man: remove blank lines from end/des files

which produce unwanted blank lines in some output
formats.

7 years agohelp: fix missing newlines
David Teigland [Wed, 15 Mar 2017 16:40:59 +0000 (11:40 -0500)]
help: fix missing newlines

Recent commits to remove newlines from man output
accidentally removed some newlines from help output.

7 years agoman: remove blank lines in included files
David Teigland [Wed, 15 Mar 2017 16:30:34 +0000 (11:30 -0500)]
man: remove blank lines in included files

7 years agoman: remove blank lines
David Teigland [Wed, 15 Mar 2017 16:05:31 +0000 (11:05 -0500)]
man: remove blank lines

Blank lines in the man source sometimes appear as extra
blank lines in the output, so remove them.

7 years agoman: specify man-generator path
Alasdair G Kergon [Wed, 15 Mar 2017 01:36:12 +0000 (01:36 +0000)]
man: specify man-generator path

7 years agomake: Support for 'make -R'.
Alasdair G Kergon [Wed, 15 Mar 2017 01:31:11 +0000 (01:31 +0000)]
make: Support for 'make -R'.

Aim to be self-sufficient.

7 years agoman: remove more unnecessary line breaks
David Teigland [Tue, 14 Mar 2017 21:28:20 +0000 (16:28 -0500)]
man: remove more unnecessary line breaks

in case they cause extra blank lines in some output formats.

7 years agoman: remove redundant line breaks
David Teigland [Tue, 14 Mar 2017 19:58:30 +0000 (14:58 -0500)]
man: remove redundant line breaks

unecessary .br and .P

7 years agoargs: clarify repeated --options lists
David Teigland [Tue, 14 Mar 2017 18:52:09 +0000 (13:52 -0500)]
args: clarify repeated --options lists

7 years agoman clvmd: mention attempt for deactivate
David Teigland [Tue, 14 Mar 2017 15:17:46 +0000 (10:17 -0500)]
man clvmd: mention attempt for deactivate

attempt is always the case, but mention it again

7 years agoman: Adjust some wording and update examples style.
Alasdair G Kergon [Tue, 14 Mar 2017 14:55:36 +0000 (14:55 +0000)]
man: Adjust some wording and update examples style.

7 years agoman: Revise internal man page generation process.
Alasdair G Kergon [Tue, 14 Mar 2017 00:47:46 +0000 (00:47 +0000)]
man: Revise internal man page generation process.

For each section 8 man page, a .8_gen file is created from one of:
  .8_main            - Old-style man page - content used directly
  .8_des and .8_end  - Description and end section of a generated page
  .8_pregen      - Pre-generated page used if the generator fails

Other man sections are not generated and use the suffix .5_main or .7_main.

Developers should use 'make generate' to regenerate the .8_pregen files.

This page took 0.094979 seconds and 5 git commands to generate.