Tales about Aviation, Coaching, Farming, Software Development

iSCSI support in Linux

iSCSI support amongst the different Linux distributions is currently a bit uneven.

There are two projects: linux-iscsi on sourceforge which was sponsered by Cisco and Open iSCSI which started independently and now has merged with linux-iscsi. linux-iscsi 4.x is for kernels up to 2.6.10 while Open iSCSI (that is linux-iscsi 5.x) is for kernels from 2.6.16 and newer. As the iSCSI stuff is a driver, it is highly depended on the kernel version.

The recently released Ubuntu Dapper 6.06 does not include it. But one can build a 2.6.17 kernel and use the Open iSCSI sources from Subversion and get a working system. I've tried it and it works well.

Fedora Core 5 has a modified linux-iscsi implementation working with kernel 2.6.15. I've tried it and it works well.

There is another project on sourceforge called iscsi-init which provides support for a root filesystem on iSCSI. This is what one needs in order to have diskless servers booting from the network.

Unfortunately iscsi-init relies on linux-iscsi 4.x for the 2.6.10 kernel and it looks like a stalled project. Open iSCSI does not yet support 'root filesystem' support and has not yet released something they want to label as stable.

This article has been posted to social media sites. There might be comments. Just follow the links: