From: Dmitry Yusupov <dmitry_yus@xxxxxxxxx> Subject: [Iscsitarget-devel] Re: Re[2]: ata over ethernet question Date: Tue, 10 May 2005 16:14:35 -0700 > I'll redirect this question to iSCSI Target folks, so they will lead > some light on current IET limitations and advantages comparing to NBD. I'm not familiar with NBD, so I'll talk about only iSCSI and the current IET implementation. > > A follow up question - I recently used nbd to access a CD-ROM. It worked > > nice, but, I had to read in 7 CDs, so, each time I had to replace a CD, I > > had to stop the client, the server, then replace the CD, re-start the > > server, re-start the client... I thought about extending NBD to (better) > > support removable media, but then you start thinking about all those > > features that your local block device has that don't get exported over > > NBD... > > > > Now, my understanding (sorry, without looking at any docs - yet) is, that > > iSCSI is (or at least should be) free from these limitations. So, does it > > make any sense at all extending NBD or just switch to iSCSI? Should NBD be > > just kept simple as it is or would it be completely superseeded by iSCSI, > > or is there still something that NBD does that iSCSI wouldn't (easily) do? The iSCSI protocol simply encapsulates the SCSI protocol into the TCP/IP protocol, and carries packets over IP networks. You can handle remote devices in the exact same way as local devices (which are directly connected to your machine through SCSI cables). So iSCSI enables you to access a remote SCSI CD-ROM withough the above trouble. The current IET implementation can offer disk drives to initiators. You can use files, that is, regular files, block devices, LVM, or RAID. The patch for SCSI tape and CD-ROM drive support is available. It enables you to offer SCSI tape and CD-ROM drives connected the target box to initiators. It works in most cases, however, it is not finished. So it is not merged. We've not started to work on virtual tape and CD-ROM support yet. - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html