diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2015-10-13 11:21:40 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2015-10-13 16:02:21 +0200 |
commit | cf1c2da836223de64daacd94f0fd40a96f6cd46f (patch) | |
tree | a9447e8fbed4d9b8019b0f1923898ee3b1f3409e | |
parent | c4cc5eabfe722daf88d19b60d58c616c31e57edd (diff) | |
download | lvm2-cf1c2da836223de64daacd94f0fd40a96f6cd46f.tar.gz |
tests: wait for initial sync
Raid should be in-sync ATM for any gaming.
-rw-r--r-- | test/shell/lvconvert-repair-raid-dmeventd.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/shell/lvconvert-repair-raid-dmeventd.sh b/test/shell/lvconvert-repair-raid-dmeventd.sh index df5544911..a5a7a5375 100644 --- a/test/shell/lvconvert-repair-raid-dmeventd.sh +++ b/test/shell/lvconvert-repair-raid-dmeventd.sh @@ -23,6 +23,7 @@ lvcreate -aey --type raid1 -m 3 --ignoremonitoring -L 1 -n 4way $vg lvchange --monitor y $vg/4way lvs -a -o all,lv_modules $vg lvdisplay --maps $vg +aux wait_for_sync $vg 4way aux disable_dev "$dev2" "$dev4" mkfs.ext3 "$DM_DEV_DIR/$vg/4way" sleep 10 # FIXME: need a "poll" utility, akin to "check" |