[dm-devel] Multipath target does not shift block offset?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've just been playing with the multipath dm target, and would like to create a single device mapper device consisting of several, concatenated, multipathed devices. The intuitive way to do this would be:

# HBA 2 failing to 3
0 286749488 multipath 2 round-robin 1 0 /dev/sdd round-robin 1 0 /dev/sdl
286749488 286749488 multipath 2 round-robin 1 0 /dev/sde round-robin 1 0 /dev/sdm 573498976 286749488 multipath 2 round-robin 1 0 /dev/sdf round-robin 1 0 /dev/sdn
<snip>

However, when one tries to set up such a device, we get the error message:

kernel: device-mapper: device /dev/sde too small for target

I would have assumed that the mapping specified above would map the whole (sector range 0-286749487) of the sde/sdm device into the range 286749488-573498975 of the dm device. However, dm appears to be trying to map the range 286749488-573498975 of the dm device to the same offsets in the sde/sdm device.

Is this what was intended?

Cheers,
Tim

--------------------------------------------------------------------------
                                    ANU Supercomputer Facility
   tim.burgess@xxxxxxxxxx           and APAC National Facility
   Phone: +61 2 6125 1431           Leonard Huxley Bldg (No. 56)
   Fax:   +61 2 6125 8199           Australian National University
                                    Canberra, ACT, 0200, Australia
--------------------------------------------------------------------------


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux