dmsetup arguments

Dave Chinner david at fromorbit.com
Mon Jun 17 20:26:38 CDT 2013


On Fri, Jun 14, 2013 at 12:51:25PM +0400, alexander.tsvetkov at oracle.com wrote:
> Hi,
> 
> XFStests suite generic/311 test fails on command: "sbin/dmsetup load
> flakey-test --table "0 150000001 flakey /dev/sdc2 0 0 180 1
> drop_writes" with error: "device-mapper: reload ioctl on flakey-test
> failed: Invalid argument", so as I understand the command format
> provided to ioctl is incorrect here. Kernel logs has message:
> 
> "Jun 13 16:47:15 tests kernel: device-mapper: table: 252:3: flakey:
> dm-flakey: Invalid argument count
> Jun 13 16:47:15 tests kernel: device-mapper: ioctl: error adding
> target to table"

What kernel and version of dmsetup are you using? If it is too old
to support the flakey target, then we need a new require rule check
for the test to avoid old versions of dmsetup...

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list