Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | raid: fixup some size issues; allow for striped -> raid4 conversiondev-lvmguy-raid_tiny_extent_size_v2 | Heinz Mauelshagen | 2016-08-26 | 5 | -19/+19 |
| | |||||
* | Adjust region and stripe sizes on small VG extents | Heinz Mauelshagen | 2016-08-26 | 5 | -17/+24 |
| | |||||
* | Fix bogus metadata device size on conversion from striped/raid0 -> raid4 | Heinz Mauelshagen | 2016-08-26 | 1 | -0/+3 |
| | |||||
* | alloc: Avoid PV tags too when avoiding parallel PV allocation. | Alasdair G Kergon | 2016-08-26 | 2 | -20/+37 |
| | | | | Also add debug messages for parallel PVs. | ||||
* | Support tiny VG extent sizes... | Heinz Mauelshagen | 2016-08-25 | 6 | -29/+205 |
| | |||||
* | test: delay writes to all test PVs in lvchange-rebuild-raid.sh to avoid race | Heinz Mauelshagen | 2016-08-25 | 1 | -1/+4 |
| | |||||
* | test: add missing lvchange-rebuild-raid.sh | Heinz Mauelshagen | 2016-08-24 | 1 | -0/+125 |
| | |||||
* | alloc: Record PV tags of parallel PVs in log. | Alasdair G Kergon | 2016-08-24 | 1 | -37/+54 |
| | |||||
* | alloc: Move _log_parallel_areas. | Alasdair G Kergon | 2016-08-24 | 2 | -44/+44 |
| | |||||
* | lvconvert: Disallow raid10 mirror conversions. | Alasdair G Kergon | 2016-08-23 | 2 | -0/+6 |
| | |||||
* | dmeventd: Add fixed timeout when unmonitoring. | Alasdair G Kergon | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | libdm: add some comments about DM_UDEV_DISABLE_LIBRARY_FALLBACK flag | Peter Rajnoha | 2016-08-23 | 1 | -1/+13 |
| | |||||
* | dmeventd: Simplify replacement unmonitor code. | Alasdair G Kergon | 2016-08-23 | 1 | -22/+13 |
| | |||||
* | dmeventd: Start merging back replacement unmonitor code. | Alasdair G Kergon | 2016-08-23 | 1 | -56/+30 |
| | |||||
* | dmeventd: Fix unmonitoring when segtype changes. | Alasdair G Kergon | 2016-08-23 | 2 | -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 Kergon | 2016-08-20 | 2 | -2/+7 |
| | |||||
* | lvcreate: Never treat raid0 as linear. | Alasdair G Kergon | 2016-08-19 | 1 | -1/+1 |
| | | | | raid0 and raid0_meta require, or default to, at least 2 stripes. | ||||
* | lvconvert: Don't allow --repair on raid0 LVs. | Alasdair G Kergon | 2016-08-19 | 2 | -1/+8 |
| | |||||
* | libdaemon: add errno to error message | David Teigland | 2016-08-19 | 1 | -2/+2 |
| | |||||
* | lvcreate: Drop warning messages for number of raid stripes. | Alasdair G Kergon | 2016-08-19 | 1 | -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 Kergon | 2016-08-19 | 2 | -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 Kergon | 2016-08-19 | 5 | -8/+15 |
| | |||||
* | lib: Move lcm and gcd to lib/misc for wider use. | Alasdair G Kergon | 2016-08-18 | 7 | -23/+67 |
| | |||||
* | man: lvconvert mention required option | David Teigland | 2016-08-17 | 1 | -0/+3 |
| | |||||
* | man: lvconvert change location of sentence | David Teigland | 2016-08-17 | 1 | -2/+2 |
| | | | | | The details about each option are explained in the section for that option. | ||||
* | vgsplit: fix regression processing thin external origins | Heinz Mauelshagen | 2016-08-16 | 1 | -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 size | Heinz Mauelshagen | 2016-08-16 | 1 | -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 Kergon | 2016-08-15 | 2 | -3/+6 |
| | | | | https://bugzilla.redhat.com/1366745 | ||||
* | pvmove: fix regression introduced with 8e9d5d12ae3ac75852ebd74b64c28e31abb68d0e | Heinz Mauelshagen | 2016-08-15 | 2 | -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 SubLVs | Heinz Mauelshagen | 2016-08-15 | 4 | -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-release | Alasdair G Kergon | 2016-08-15 | 4 | -2/+8 |
| | |||||
* | pre-releasev2_02_164 | Alasdair G Kergon | 2016-08-15 | 4 | -6/+6 |
| | |||||
* | conf: add comment about cfg_runtime | Peter Rajnoha | 2016-08-15 | 1 | -0/+5 |
| | |||||
* | raid_manip: pay attention to PVs listed on command line when allocating MetaLVs | Heinz Mauelshagen | 2016-08-13 | 1 | -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 PV | Heinz Mauelshagen | 2016-08-12 | 1 | -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-dbus | Tony Asleson | 2016-08-12 | 1 | -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/stripes | Heinz Mauelshagen | 2016-08-12 | 6 | -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 Kergon | 2016-08-11 | 2 | -4/+20 |
| | |||||
* | spec: Add new files | Marian Csontos | 2016-08-11 | 1 | -0/+2 |
| | |||||
* | lvmcmdline: use long int for number returned by strtol | Peter Rajnoha | 2016-08-10 | 1 | -1/+1 |
| | |||||
* | post-release | Alasdair G Kergon | 2016-08-10 | 4 | -2/+8 |
| | |||||
* | pre-releasev2_02_163 | Alasdair G Kergon | 2016-08-10 | 4 | -6/+13 |
| | |||||
* | man: fix references to names for --configreport arg in pvs, vgs and lvs man pagedev-prajnoha-log-report-extras | Peter Rajnoha | 2016-08-09 | 3 | -3/+3 |
| | |||||
* | man: add lvm fullreport man page | Peter Rajnoha | 2016-08-09 | 3 | -1/+150 |
| | |||||
* | report: add report_reset_cmdlog_seqnum and call it for each new cmd executed ↵ | Peter Rajnoha | 2016-08-09 | 3 | -3/+11 |
| | | | | in lvm shell | ||||
* | conf: mark selected settings with CFG_DISALLOW_INTERACTIVE flag | Peter Rajnoha | 2016-08-09 | 1 | -6/+6 |
| | |||||
* | config: add support for CFG_DISALLOW_INTERACTIVE flag to mark settings as ↵ | Peter Rajnoha | 2016-08-09 | 5 | -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 Rajnoha | 2016-08-09 | 2 | -5/+7 |
| | | | | for general use | ||||
* | conf: add lvmdbusd.profile | Peter Rajnoha | 2016-08-09 | 2 | -1/+52 |
| | |||||
* | lvm: shell: honor log/command_log_selection as default and reset to this ↵ | Peter Rajnoha | 2016-08-09 | 1 | -1/+13 |
| | | | | value after lastlog |