. lib/inittest
+xxd -v || skip
+
aux prepare_devs 3
get_devs
pvs
-if [ -e "/usr/bin/xxd" ]; then
-
# read mda_header which is 4k from start of disk
dd if="$dev1" of=meta1 bs=4k count=1 skip=1
pvs 2>&1 | tee out
grep "bad metadata header" out
-fi
-
pvs "$dev1"
pvs "$dev2"
pvs "$dev3"
. lib/inittest
+xxd -v || skip
+
aux prepare_devs 1 256
get_devs
for i in `seq 1 50`; do lvcreate -l1 -an $vg; done
-if [ -e "/usr/bin/xxd" ]; then
-
# Check metadata copies are separated by zeroes in the first mda
dd if="$dev1" of=meta.raw bs=1M count=1
test "$(cat meta.count | wc -l)" -gt 20
-fi
-
vgremove -ff $vg