zfsonlinux/zfs — Issue #515: iSCSI support (not TYPE_DISK)
Author: behlendorf
Created: 2012-01-05 18:11:15+00:00
State: open
Labels: Bug

Ian Campbell reports:

I am using ZFS on Linux 0.6.0-rc6 with Ubuntu 10.04 x86 & amd64.

After getting the modules compiled I was able to everything installed fine but I seemed to have no run into a problem.

The problem is with the "new" unified target modules being added to the newer kernel to add native iSCSI support. More specifically the problem is related to the way the disks are being presented to the target software. When I attempt to add a device like /dev/zd0 or /dev/zvol/tank/fish. The target returns back to be saying the block device is not a "TYPE_DISK" and it won't add it.

Also when I view the disk with parted it has no vendor information, is it safe to assume the disk has no identifying information attached to such as the type of block device or pseudo vendor information?

Is there a way to resolve this issue? Can I add information to the vdev so it will be identified correctly?

If you need a better idea of what I am talking about I can give you any information you need.

Thank you for you time.