1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: longer delay between table reloads

It looks like there is some kernel bug/limitation
that may cause invalid table load processing:

dmsetup load LVMTEST-LV1
device-mapper: reload ioctl on LVMTEST-LV1  failed: Invalid argument
  md/raid:mdX: reshape_position too early for auto-recovery - aborting.
           md: pers->run() failed ...
device-mapper: table: 253:38: raid: Failed to run raid array (-EINVAL)
device-mapper: ioctl: error adding target to table

However ATM there is not much we can do then make delays bigger.
TODO: fixing md core...
This commit is contained in:
Zdenek Kabelac 2023-10-20 00:02:44 +02:00
parent 5d4b2f9ea9
commit c7851b9c34

View File

@ -80,7 +80,7 @@ do
dmsetup table $vg-$lv1|dmsetup load $vg-$lv1
dmsetup suspend --noflush $vg-$lv1
dmsetup resume $vg-$lv1
sleep 0.3
sleep .5
done
esac