mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: raid repair needs devices in-sync
Though I'm not quite sure why we push this limit on user, current --repair logic requires user to wait outside of command. TODO: I'm not quite sure this repair logic is 'the most wanted'.
This commit is contained in:
parent
eb6b2a11e3
commit
38a6a39daa
@ -60,7 +60,10 @@ lvconvert --yes --type cache-pool --poolmetadata $vg/cpool_meta $vg/cpool
|
||||
lvcreate -n corigin --type cache --cachepool $vg/cpool -l 10
|
||||
|
||||
lvchange --syncaction repair $vg/cpool_cmeta
|
||||
aux wait_for_sync $vg cpool_cmeta
|
||||
|
||||
lvchange --syncaction repair $vg/cpool_cdata
|
||||
aux wait_for_sync $vg cpool_cdata
|
||||
|
||||
lvconvert --repair -y $vg/cpool_cmeta
|
||||
lvconvert --repair -y $vg/cpool_cdata
|
||||
|
Loading…
Reference in New Issue
Block a user