#! /bin/sh -x . dm_tools.sh s1=89 s2=90 dev=flakey # The tables we're going to be using for this test table="0 1024000 flakey /dev/hdc 16 30 30" # just in case the device already exists remove $dev >&2 /dev/null # create the devices create $dev $table # stamp a pattern stamp $dev $s1 # check reads to mpath work verify $dev $s1 remove $dev