Bug#576247: dmsetup linear mapping fails with /dev/sda as target

Michael Barabanov michael.barabanov at gmail.com
Fri Apr 2 05:29:28 UTC 2010


Package: dmsetup
Version: 2:1.02.39-1
Severity: normal
 
*** Please type your report below this line ***
 
Using a variation of the example table from the dmsetup manpage itself:

echo 0 1028160 linear /dev/hda 0 | sudo dmsetup create test

I get

device-mapper: reload ioctl failed: Invalid argument
Command failed
 
dmesg:

[410296.722225] device-mapper: table: 253:12: linear: dm-linear: Device lookup failed
[410296.722246] device-mapper: ioctl: error adding target to table
 
/dev/hda is a valid block device. I can reproduce the same with /dev/sda
or any other disk device present in the system.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
 
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
 
Versions of packages dmsetup depends on:
ii  libc6                        2.10.2-6    Embedded GNU C Library:
Shared lib
ii  libdevmapper1.02.1           2:1.02.39-1 The Linux Kernel Device
Mapper use
ii  udev                         151-2       /dev/ and hotplug
management daemo
ii  util-linux                   2.16.2-0    Miscellaneous system
utilities
 
dmsetup recommends no packages.
 
dmsetup suggests no packages.
 
-- no debconf information






More information about the pkg-lvm-maintainers mailing list