mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +03:00
tests: add also snapshot monitoring
This commit is contained in:
parent
fade45b1d1
commit
b904d6653d
@ -24,6 +24,9 @@ lvchange --monitor y $vg/4way
|
||||
lvcreate -aey --type mirror -m 2 --nosync --ignoremonitoring -l1 -n 3way $vg
|
||||
lvchange --monitor y $vg/3way
|
||||
|
||||
lvcreate -aey -l1 -n $lv1 $vg
|
||||
lvcreate -s -l1 -n $lv2 $vg/$lv1
|
||||
|
||||
dmeventd -R -f &
|
||||
echo $! >LOCAL_DMEVENTD
|
||||
sleep 2 # wait a bit, so we talk to the new dmeventd later
|
||||
@ -50,4 +53,7 @@ lvchange --monitor y --verbose $vg/3way 2>&1 | tee lvchange.out
|
||||
pgrep -o dmeventd >LOCAL_DMEVENTD
|
||||
not grep 'already monitored' lvchange.out
|
||||
|
||||
lvchange --monitor y --verbose $vg/$lv2 2>&1 | tee lvchange.out
|
||||
not grep 'already monitored' lvchange.out
|
||||
|
||||
vgremove -ff $vg
|
||||
|
Loading…
x
Reference in New Issue
Block a user