summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* raid: fixup some size issues; allow for striped -> raid4 conversiondev-lvmguy-raid_tiny_extent_size_v2Heinz Mauelshagen2016-08-265-19/+19
|
* Adjust region and stripe sizes on small VG extentsHeinz Mauelshagen2016-08-265-17/+24
|
* Fix bogus metadata device size on conversion from striped/raid0 -> raid4Heinz Mauelshagen2016-08-261-0/+3
|
* alloc: Avoid PV tags too when avoiding parallel PV allocation.Alasdair G Kergon2016-08-262-20/+37
| | | | Also add debug messages for parallel PVs.
* Support tiny VG extent sizes...Heinz Mauelshagen2016-08-256-29/+205
|
* test: delay writes to all test PVs in lvchange-rebuild-raid.sh to avoid raceHeinz Mauelshagen2016-08-251-1/+4
|
* test: add missing lvchange-rebuild-raid.shHeinz Mauelshagen2016-08-241-0/+125
|
* alloc: Record PV tags of parallel PVs in log.Alasdair G Kergon2016-08-241-37/+54
|
* alloc: Move _log_parallel_areas.Alasdair G Kergon2016-08-242-44/+44
|
* lvconvert: Disallow raid10 mirror conversions.Alasdair G Kergon2016-08-232-0/+6
|
* dmeventd: Add fixed timeout when unmonitoring.Alasdair G Kergon2016-08-231-1/+1
|
* libdm: add some comments about DM_UDEV_DISABLE_LIBRARY_FALLBACK flagPeter Rajnoha2016-08-231-1/+13
|
* dmeventd: Simplify replacement unmonitor code.Alasdair G Kergon2016-08-231-22/+13
|
* dmeventd: Start merging back replacement unmonitor code.Alasdair G Kergon2016-08-231-56/+30
|
* dmeventd: Fix unmonitoring when segtype changes.Alasdair G Kergon2016-08-232-2/+89
| | | | | When the segment type is being changed, unmonitoring an LV requires the existing dso to be specified as a parameter, not the new one.
* raid: Don't monitor raid0 or raid0_meta LVs.Alasdair G Kergon2016-08-202-2/+7
|
* lvcreate: Never treat raid0 as linear.Alasdair G Kergon2016-08-191-1/+1
| | | | raid0 and raid0_meta require, or default to, at least 2 stripes.
* lvconvert: Don't allow --repair on raid0 LVs.Alasdair G Kergon2016-08-192-1/+8
|
* libdaemon: add errno to error messageDavid Teigland2016-08-191-2/+2
|
* lvcreate: Drop warning messages for number of raid stripes.Alasdair G Kergon2016-08-191-4/+3
| | | | It's now just setting a default, not adjusting the user's parameter.
* lvcreate: No longer adjust --stripes for raid types.Alasdair G Kergon2016-08-192-4/+25
| | | | | | | | If the number of stripes requested is incompatible with the requested type of raid, give an error instead of adjusting it. If no stripes argument is supplied, continue to use an appropriate default.
* toollib: Record whether or not stripes/stripe_size args supplied.Alasdair G Kergon2016-08-195-8/+15
|
* lib: Move lcm and gcd to lib/misc for wider use.Alasdair G Kergon2016-08-187-23/+67
|
* man: lvconvert mention required optionDavid Teigland2016-08-171-0/+3
|
* man: lvconvert change location of sentenceDavid Teigland2016-08-171-2/+2
| | | | | The details about each option are explained in the section for that option.
* vgsplit: fix regression processing thin external originsHeinz Mauelshagen2016-08-161-1/+1
| | | | | | | | | a579ba2ac27d fixed a regression causing a segfault if no external origin existed but broke the logic leading to erroneous error messages and creations of split off exported VGs in case the external origin and the pool LVs were allocated on different PVs. - resolves rhbz1367459
* lvcreate: better error message creating RAID LV on < 4 KiB VG extent sizeHeinz Mauelshagen2016-08-161-0/+7
| | | | | | | | | Creating a RaidLV in VGs with very small extent sizes caused late failure in the kernel giving a not very informative error message. Catch the attempt early and display failure message 'Unable to create RAID LV: requires minimum VG extent size 4.00 KiB'. - resoves rhbz1179970
* tools: Suppress some unnecessary --stripesize warnings.Alasdair G Kergon2016-08-152-3/+6
| | | | https://bugzilla.redhat.com/1366745
* pvmove: fix regression introduced with 8e9d5d12ae3ac75852ebd74b64c28e31abb68d0eHeinz Mauelshagen2016-08-152-1/+13
| | | | | | | 'pvmove -n name pv1 pv2' called with the name of a top-level LV failed with mentioned commit. Enhance pvmove-raid-segtypes.sh to test for prohibited RAID SubLV moves.
* pvmove: prohibit non-resilient collocation of RAID SubLVsHeinz Mauelshagen2016-08-154-8/+88
| | | | | | | | | | | | | | | | | | 'pvmove -n name pv1 pv2' allows to collocate multiple RAID SubLVs on pv2 (e.g. results in collocated raidlv_rimage_0 and raidlv_rimage_1), thus causing loss of resilence and/or performance of the RaidLV. Fix this pvmove flaw leading to potential data loss in case of PV failure by preventing any SubLVs from collocation on any PVs of the RaidLV. Still allow to collocate any DataLVs of a RaidLV with their sibling MetaLVs and vice-versa though (e.g. raidlv_rmeta_0 on pv1 may still be moved to pv2 already holding raidlv_rimage_0). Because access to the top-level RaidLV name is needed, promote local _top_level_lv_name() from raid_manip.c to global top_level_lv_name(). - resolves rhbz1202497
* post-releaseAlasdair G Kergon2016-08-154-2/+8
|
* pre-releasev2_02_164Alasdair G Kergon2016-08-154-6/+6
|
* conf: add comment about cfg_runtimePeter Rajnoha2016-08-151-0/+5
|
* raid_manip: pay attention to PVs listed on command line when allocating MetaLVsHeinz Mauelshagen2016-08-131-4/+15
| | | | | Adding MetaLVs to given DataLVs (e.g. raid0 -> raid0_meta takeover) wasn't paying attention to any PVs listed on the lvconvert command line.
* raid_manip: add missing code avoiding MetaLV collocation on the same PVHeinz Mauelshagen2016-08-121-4/+20
| | | | | | | | | Adding MetaLVs to given DataLVs (e.g. raid0 -> raid0_meta takeover), _avoid_pvs_with_other_images_of_lv() was missing code to prohibit allocation when called with a just allocated MetaLV to prohibit collaocation of the next allocated MetaLV on the same PV. - resolves rhbz1366738
* notify: Fix hang with lvm shell & --enable-notify-dbusTony Asleson2016-08-121-1/+1
| | | | | | | | When lvm is compiled with --enable-notify-dbus and a user uses lvm shell, after they issue 200+ commands the lvm shell will hang for ~30 seconds trying to notify the lvm dbus service that a change has occurred. This appears to be caused by resource exhaustion, because the sockets used for dbus communication are not be closed.
* lvcreate/lvconvert: fix validation of maximum mirrors/stripesHeinz Mauelshagen2016-08-126-11/+61
| | | | | | | | | Enforce mirror/raid0/1/10/4/5/6 type specific maximum images when creating LVs or converting them from mirror <-> raid1. Document those maxima in the lvcreate/lvconvert man pages. - resolves rhbz1366060
* raid: Avoid double suffix on rmeta LV name paired with rimage LV.Alasdair G Kergon2016-08-112-4/+20
|
* spec: Add new filesMarian Csontos2016-08-111-0/+2
|
* lvmcmdline: use long int for number returned by strtolPeter Rajnoha2016-08-101-1/+1
|
* post-releaseAlasdair G Kergon2016-08-104-2/+8
|
* pre-releasev2_02_163Alasdair G Kergon2016-08-104-6/+13
|
* man: fix references to names for --configreport arg in pvs, vgs and lvs man pagedev-prajnoha-log-report-extrasPeter Rajnoha2016-08-093-3/+3
|
* man: add lvm fullreport man pagePeter Rajnoha2016-08-093-1/+150
|
* report: add report_reset_cmdlog_seqnum and call it for each new cmd executed ↵Peter Rajnoha2016-08-093-3/+11
| | | | in lvm shell
* conf: mark selected settings with CFG_DISALLOW_INTERACTIVE flagPeter Rajnoha2016-08-091-6/+6
|
* config: add support for CFG_DISALLOW_INTERACTIVE flag to mark settings as ↵Peter Rajnoha2016-08-095-14/+57
| | | | | | | | | | | | | not suitable for override in interactive mode Some settings are not suitable for override in interactive/shell mode because such settings may confuse the code and it may end up with unexpected behaviour. This is because of the fact that once we're in the interactive/shell mode, we have already applied some settings for the shell itself and we can't override them further because we're already using those settings to drive the interactive/shell mode. Such settings would get ignored silently or, in worse case, they would mess up the existing configuration.
* refactor: modify original _check_profile fn and rename to config_force_check ↵Peter Rajnoha2016-08-092-5/+7
| | | | for general use
* conf: add lvmdbusd.profilePeter Rajnoha2016-08-092-1/+52
|
* lvm: shell: honor log/command_log_selection as default and reset to this ↵Peter Rajnoha2016-08-091-1/+13
| | | | value after lastlog