Mailinglist Archive: opensuse-bugs (4655 mails)

< Previous Next >
[Bug 1043043] [lvm test] lvchange-cache.sh failed with error "Manual repair required!"
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 09 Jun 2017 05:52:55 +0000
  • Message-id: <bug-1043043-21960-5yQDIjJGOg@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1043043
http://bugzilla.suse.com/show_bug.cgi?id=1043043#c11

--- Comment #11 from zhen ren <zren@xxxxxxxx> ---
The following log shows that "cache_check" cmd failed before activating the LV
"corigin":

====

global/cache_check_executable not found in config: defaulting to
/usr/sbin/cache_check
global/cache_check_options not found in config: defaulting to
cache_check_options = [ "-q", "--clear-needs-check-flag" ]
Executing: /usr/sbin/cache_check -q --clear-needs-check-flag
/dev/mapper/testvg-cpool_cmeta
_drop_shared_flock /run/lvm/lock/V_testvg.
_drop_shared_flock
/run/lvm/lock/A_tEVe0sipddeGyoK7RZ3aenHqRrFBQwhBK9FB2Mc6UYHHOp4uc5AWp9weB4DkgV2.
memlock reset.
Closed /dev/vdb
/usr/sbin/cache_check failed: 1
Check of pool testvg/cpool failed (status:1). Manual repair required!
Reverting testvg-corigin_corig.
Removing testvg-corigin_corig (253:2)
===

And the backtrace:

(gdb) bt
#0 _pool_callback (node=<optimized out>, type=DM_NODE_CALLBACK_PRELOADED,
cb_data=<optimized out>)
at activate/dev_manager.c:1935
#1 0x00007ffff732af1a in dm_tree_preload_children () from
/usr/lib64/libdevmapper.so.1.03
#2 0x00007ffff732ac7e in dm_tree_preload_children () from
/usr/lib64/libdevmapper.so.1.03
#3 0x00005555556742c4 in _tree_action (dm=0x555555bf7920, lv=0x555555bf3cc0,
laopts=0x7fffffffc790, action=ACTIVATE)
at activate/dev_manager.c:3153
#4 0x000055555567647d in dev_manager_activate (dm=dm@entry=0x555555bf7920,
lv=lv@entry=0x555555bf3cc0,
laopts=laopts@entry=0x7fffffffc790) at activate/dev_manager.c:3195
#5 0x00005555555ceb02 in _lv_activate_lv (lv=0x555555bf3cc0,
laopts=0x7fffffffc790) at activate/activate.c:1424
#6 0x00005555555d2fc4 in _lv_activate (cmd=cmd@entry=0x555555b96fa0,
lvid_s=lvid_s@entry=0x7fffffffd880
"ItEVe0sipddeGyoK7RZ3aenHqRrFBQwhBK9FB2Mc6UYHHOp4uc5AWp9weB4DkgV2",
laopts=laopts@entry=0x7fffffffc790, filter=filter@entry=1,
lv=lv@entry=0x555555bf3cc0) at activate/activate.c:2600
#7 0x00005555555d4296 in _lv_activate (lv=0x555555bf3cc0, filter=1,
laopts=0x7fffffffc790,
lvid_s=0x7fffffffd880
"ItEVe0sipddeGyoK7RZ3aenHqRrFBQwhBK9FB2Mc6UYHHOp4uc5AWp9weB4DkgV2",
cmd=0x555555b96fa0)
at activate/activate.c:2642
#8 lv_activate_with_filter (cmd=cmd@entry=0x555555b96fa0,
lvid_s=lvid_s@entry=0x7fffffffd880
"ItEVe0sipddeGyoK7RZ3aenHqRrFBQwhBK9FB2Mc6UYHHOp4uc5AWp9weB4DkgV2",
exclusive=<optimized out>, noscan=<optimized out>, temporary=<optimized
out>, lv=0x555555bf3cc0)
at activate/activate.c:2638
#9 0x0000555555687496 in _file_lock_resource (cmd=0x555555b96fa0,
resource=0x7fffffffd880
"ItEVe0sipddeGyoK7RZ3aenHqRrFBQwhBK9FB2Mc6UYHHOp4uc5AWp9weB4DkgV2", flags=125,
lv=<optimized out>) at locking/file_locking.c:119
#10 0x000055555560448a in _lock_vol (cmd=cmd@entry=0x555555b96fa0,
resource=<optimized out>,
resource@entry=0x7fffffffd880
"ItEVe0sipddeGyoK7RZ3aenHqRrFBQwhBK9FB2Mc6UYHHOp4uc5AWp9weB4DkgV2",
flags=flags@entry=125, lv_op=lv_op@entry=LV_NOOP,
lv=lv@entry=0x555555befcb0) at locking/locking.c:275
#11 0x0000555555604dd3 in lock_vol (cmd=cmd@entry=0x555555b96fa0,
vol=<optimized out>,
vol@entry=0x555555befcb0
"ItEVe0sipddeGyoK7RZ3aenHqRrFBQwhBK9FB2Mc6UYHHOp4uc5AWp9weB4DkgV2", flags=125,
lv=lv@entry=0x555555befcb0) at locking/locking.c:355
#12 0x000055555560557b in activate_lv_excl (cmd=cmd@entry=0x555555b96fa0,
lv=lv@entry=0x555555befcb0)
at locking/locking.c:442
#13 0x000055555560d707 in lv_active_change (cmd=cmd@entry=0x555555b96fa0,
lv=lv@entry=0x555555befcb0,
activate=activate@entry=CHANGE_AY, needs_exclusive=needs_exclusive@entry=0)
at metadata/lv.c:1517
#14 0x00005555555b881c in lv_change_activate (cmd=cmd@entry=0x555555b96fa0,
lv=lv@entry=0x555555befcb0,
activate=activate@entry=CHANGE_AY) at toollib.c:1082
#15 0x000055555558bc98 in _lvchange_activate (lv=0x555555befcb0,
cmd=0x555555b96fa0) at lvchange.c:225
#16 _lvchange_activate_single (cmd=cmd@entry=0x555555b96fa0, lv=<optimized
out>, handle=handle@entry=0x555555be40b8)
at lvchange.c:1344
#17 0x00005555555bd189 in process_each_lv_in_vg (cmd=cmd@entry=0x555555b96fa0,
vg=vg@entry=0x555555bef900,
arg_lvnames=arg_lvnames@entry=0x7fffffffde70,
tags_in=tags_in@entry=0x7fffffffde20,
stop_on_error=stop_on_error@entry=0, handle=handle@entry=0x555555be40b8,
check_single_lv=0x55555558dc30 <_lvchange_activate_check>,
process_single_lv=0x55555558ba60 <_lvchange_activate_single>) at
toollib.c:3134
#18 0x00005555555bea4c in _process_lv_vgnameid_list
(process_single_lv=0x55555558ba60 <_lvchange_activate_single>,
check_single_lv=0x55555558dc30 <_lvchange_activate_check>,
handle=0x555555be40b8, arg_tags=0x7fffffffde20,
arg_lvnames=0x7fffffffde40, arg_vgnames=0x7fffffffde30,
vgnameids_to_process=0x7fffffffde60, read_flags=0,
cmd=0x555555b96fa0) at toollib.c:3629
#19 process_each_lv (cmd=cmd@entry=0x555555b96fa0, argc=argc@entry=1,
argv=argv@entry=0x7fffffffe328,
one_vgname=one_vgname@entry=0x0, one_lvname=one_lvname@entry=0x0,
read_flags=read_flags@entry=0,
handle=0x555555be40b8, check_single_lv=<optimized out>,
process_single_lv=<optimized out>) at toollib.c:3781
#20 0x000055555558f50d in lvchange_activate_cmd (cmd=0x555555b96fa0, argc=1,
argv=0x7fffffffe328) at lvchange.c:1383
#21 0x00005555555a65a9 in lvm_run_command (cmd=cmd@entry=0x555555b96fa0,
argc=<optimized out>, argc@entry=3,
argv=<optimized out>, argv@entry=0x7fffffffe318) at lvmcmdline.c:2925
#22 0x00005555555a7947 in lvm2_main (argc=3, argv=0x7fffffffe318) at
lvmcmdline.c:3454

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References