AJ Lewis wrote:
On Wed, Jun 21, 2006 at 01:44:15PM +0200, Milan Broz wrote:
ioctl patch simple route ioctls to underlying block device
-> it supports all ioctl which are supported by your physical device.
e.g.
in simple case you have volume /dev/mapper/VolGroup00-LogVol0
mapped to physical device /dev/sda, inquiry ioctl (using tools from
sg3_util)
sg_inq /dev/sda
is the same as
sg_inq /dev/mapper/VolGroup00-LogVol0
In the case of multipath target ioctl command is sent through
active path.
So what happens when you have multiple block devices in the volume? And what
if those block devices have different levels of support for the ioctls?
Currently supported for simple mapping with single target only,
if there are more than one target, it will fail with error -ENOTTY.
Milan
--
Milan Broz
mbroz@xxxxxxxxxx
--
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel