Differences between revisions 9 and 10
Revision 9 as of 2013-01-18 11:56:50
Size: 2339
Editor: VincentBlut
Comment: Fix link
Revision 10 as of 2013-05-08 06:07:18
Size: 2404
Editor: rrs
Comment: Add LIO TODO
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
 * [[SAN/iSCSI/LIO| Debian as a Target (using the LIO Target)]]


iSCSI and Debian

In the context of computer storage, iSCSI allows a machine to use an iSCSI initiator (client) to connect to remote targets (servers) such as disks and tape drives on an IP network for block level I/O. From the point of view of the class drivers and application software, the devices appear as locally attached SCSI devices. (source: wikipedia: iSCSI )

This page is about installing, configuring and using iSCSI under Debian.

Debian iSCSI initiators

Remember, the initiator is the "client".

Debian iSCSI targets

Remember, the target is the "server" (It's the one that actually have the disk).

Debian with iSCSI root disk

Installing Debian on iSCSI disk

Use an already installed Debian as base. Import the iSCSI disk into this system and mount it (i.e. use the open-iscsi initiator). Then use debootstrap to install the system onto this disk.

Booting Debian with iSCSI root disk

There is no way to do this with the standard Debian initrd. The init4boot project supplies the needed infrastructure (especially an adapted initrd). Standard PXE / tftp boot with iSCSI root and XEN guest systems with iSCSI root are supported.

Resources

  • RFC 3720 - Internet Small Computer Systems Interface (iSCSI)

  • Tomonori FUJITA (developer of IET target) has many useful resources :