Emulating tapes/disk via linux/*bsd ?

Paul Koning pkoning at equallogic.com
Thu Mar 24 08:57:28 CST 2005


>>>>> "Jules" == Jules Richardson <julesrichardsonuk at yahoo.co.uk> writes:

 Jules> Quick check to see if anyone's ever tried this. (where "tried"
 Jules> = "written some code to do so")

 Jules> In theory one could hook up a system running linux/*bsd with a
 Jules> SCSI controller present acting as a target rather than
 Jules> initiator, and have the machine pretend to be a tape drive,
 Jules> hard disk etc.

 Jules> I have no idea if the linux / *bsd kernels (or card drivers)
 Jules> support running as a target, or if the necessary hooks are
 Jules> present into user- land (eg. via 'sg') to allow user code to
 Jules> do the emulation, though.

I've heard of targets for iSCSI, which of course is just SCSI over a
different type of cable.  Since a lot of OS (including Linux) support
iSCSI initiators, if you need SCSI emulation without weird hardware
hacking, an iSCSI target may be a good way to go.

I don't have pointers to specific examples handy.

    paul



More information about the cctalk mailing list