mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: fix clean up after lvmlockd tests
This commit is contained in:
parent
ec81c42179
commit
f4efc2435c
@ -19,6 +19,11 @@ test_description='Remove the dlm test setup'
|
||||
# lvmlockctl -d > lvmlockd-debug.txt
|
||||
# dlm_tool dump > dlm-debug.txt
|
||||
|
||||
lvmlockctl --stop-lockspaces
|
||||
sleep 1
|
||||
killall lvmlockd
|
||||
sleep 1
|
||||
killall lvmlockd || true
|
||||
sleep 1
|
||||
systemctl stop dlm
|
||||
systemctl stop corosync
|
||||
killall lvmlockd
|
||||
|
@ -26,11 +26,14 @@ vgremove --config 'devices { global_filter=["a|GL_DEV|", "r|.*|"] filter=["a|GL_
|
||||
# lvmlockctl -d > lvmlockd-debug.txt
|
||||
# sanlock log_dump > sanlock-debug.txt
|
||||
|
||||
lvmlockctl --stop-lockspaces
|
||||
sleep 1
|
||||
killall lvmlockd
|
||||
sleep 1
|
||||
killall lvmlockd || true
|
||||
sleep 1
|
||||
killall sanlock
|
||||
sleep 1
|
||||
|
||||
killall -9 lvmlockd || true
|
||||
killall -9 sanlock || true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user