1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/tools
Peter Rajnoha 729b104413 activation: continue with autoactivation if refresh fails
If the refresh fails for any reason before autoactivation, let's not
make this a stopper for autoactivation itself - just log the error
message if it appears.

The reason is that in some rare situations, we can still hit the
problem with the suspend call to fail (as already described in
commit d8085edf65, also
https://bugzilla.redhat.com/show_bug.cgi?id=1027314). The refresh
itself is done for only one reason - to refresh any dm tables
for LVs for which the underlying PVs got unplugged/disconnected
and then plugged/connected back (see also
https://bugzilla.redhat.com/show_bug.cgi?id=954061 for more info).
In this case, the major:minor pair is changed and we need to
update dm tables for LVs accordingly.

Now if refresh fails, the error is still logged, but autoactivation
continues.
2013-11-27 08:20:02 +01:00
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
.gitignore More .gitignore files for an in-source-tree build. 2012-06-08 16:34:43 +01:00
args.h cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
cmdnames.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
commands.h cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
dmsetup.c gcc: replace #ifdef linux with __linux__ 2013-11-13 13:56:29 +00:00
dumpconfig.c dumpconfig: also mention profilable type if giving hint about known types 2013-08-19 08:32:03 +02:00
errors.h lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
formats.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvchange.c lv/vgchange: do not try to connect to lvmetad if socket absent and --sysinit -aay used 2013-11-26 14:51:23 +01:00
lvconvert.c snapshot: use lv_check_not_in_use 2013-11-22 20:58:11 +01:00
lvcreate.c release 2.02.103 2013-10-04 14:32:23 +01:00
lvdisplay.c Rework the toollib interface (process_each_*) on top of new vg_read. 2009-07-01 17:00:50 +00:00
lvextend.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvm2cmd-static.c Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvm2cmd.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm2cmd.h lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
lvm2cmdline.h Support repetition of --addtag and --deltag arguments. 2010-11-11 17:29:05 +00:00
lvm-static.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm.c config: add profile arg to find_config_tree_int 2013-07-02 15:19:09 +02:00
lvmchange.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvmcmdlib.c cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
lvmcmdline.c cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
lvmdiskscan.c Few more close and dev_close trace 2012-03-01 21:12:37 +00:00
lvreduce.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvremove.c snapshot: move virtsnap code from tool to lib 2013-10-12 00:14:52 +02:00
lvrename.c cleanup: stack usage 2013-07-01 23:11:14 +02:00
lvresize.c lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
lvscan.c config: add silent mode 2012-08-25 20:35:48 +01:00
Makefile.in tools: don't install separate command symlink for lvm devtypes 2013-09-24 09:35:20 +02:00
polldaemon.c pvmove: clean exit on failed pvmove restart 2013-09-23 19:46:28 +01:00
polldaemon.h Start using 64-bit status flags - most of the code already handles them. 2011-09-06 18:49:31 +00:00
pvchange.c locking: Make it possible to pass down an LV to activation code. 2013-06-10 17:26:38 +02:00
pvck.c Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
pvcreate.c tools: remove metadata-exported.h 2013-07-09 03:07:55 +01:00
pvdisplay.c cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
pvmove.c pvmove: Skip pvmove of RAID, thin, snapshot, origin, and mirror LVs in cluster 2013-09-03 13:17:01 -05:00
pvremove.c pvremove: stack trace 2013-07-08 14:01:41 +02:00
pvresize.c tools: remove metadata-exported.h 2013-07-09 03:07:55 +01:00
pvscan.c activation: continue with autoactivation if refresh fails 2013-11-27 08:20:02 +01:00
reporter.c cleanup: make gcc happier with initializers 2013-11-22 21:00:56 +01:00
segtypes.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
stub.h Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
toollib.c toollib: Avoid undefined ignore_vg parameter. 2013-11-22 18:11:04 +00:00
toollib.h toollib: Implement process_each_label. 2013-11-17 21:41:27 +01:00
tools.h filters: check for mpath before opening devs 2013-08-13 23:26:58 +01:00
vgcfgbackup.c cleanup: stack usage 2013-07-01 23:11:14 +02:00
vgcfgrestore.c vgcfgrestore: Remove VG rom lvmetad later, to better deal with errors. 2013-09-18 11:24:58 +02:00
vgchange.c lv/vgchange: do not try to connect to lvmetad if socket absent and --sysinit -aay used 2013-11-26 14:51:23 +01:00
vgck.c vgck: Fix #894136, notice on-disk corruption in spite of lvmetad. 2013-08-13 23:25:49 +02:00
vgconvert.c vgconvert: Do not call lvmetad_vg_remove (path shared with vgcfgbackup). 2013-09-18 12:53:11 +02:00
vgcreate.c metadata: add support for storing profile name in metadata (during vgcreate/lvcreate) 2013-07-02 15:19:09 +02:00
vgdisplay.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
vgexport.c config: add silent mode 2012-08-25 20:35:48 +01:00
vgextend.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgimport.c cleanup: comments and a message 2013-07-24 22:10:37 +01:00
vgmerge.c thin: vgsplit and vgmerge spare support 2013-07-18 18:22:44 +02:00
vgmknodes.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgreduce.c metadata.c: Call refactored vgreduce_single 2013-11-19 14:40:30 -06:00
vgremove.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgrename.c vgrename: run fullscan 2013-10-08 13:39:11 +02:00
vgscan.c locking: Make it possible to pass down an LV to activation code. 2013-06-10 17:26:38 +02:00
vgsplit.c thin: vgsplit and vgmerge spare support 2013-07-18 18:22:44 +02:00