mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Re-enable tests for snapshots of mirrors.
This commit is contained in:
parent
313a71048e
commit
1dffc9bcb0
@ -11,13 +11,6 @@
|
||||
|
||||
. lib/test
|
||||
|
||||
exit 0
|
||||
#
|
||||
# Snapshots of 'mirrors' are not supported. They can no longer be created.
|
||||
# This file could be used to test some aspect of lvconvert, snapshot, and
|
||||
# RAID at some point though...
|
||||
#
|
||||
|
||||
aux prepare_vg 5
|
||||
aux lvmconf 'allocation/maximise_cling = 0'
|
||||
aux lvmconf 'allocation/mirror_logs_require_separate_pvs = 1'
|
||||
|
@ -18,12 +18,6 @@ lvcreate -m 1 -L 10M -n lv $vg
|
||||
|
||||
lvcreate -s $vg/lv -L 10M -n snap
|
||||
|
||||
exit 0
|
||||
|
||||
#
|
||||
# Snapshots of mirrors are no longer allowed.
|
||||
#
|
||||
|
||||
# Down-convert (mirror -> linear) under a snapshot
|
||||
lvconvert -m0 $vg/lv
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user