问题原文
原帖链接 · Salvatore Shiggerino · CC BY-SA 4.0
I find myself having to maintain some old hardware for some legacy applications. These computers use old parallel SCSI drives, and when those drives die, I have to scavenge for new ones, which is getting increasingly difficult.
Is it feasible to run a modern computer with a physical SCSI interface and present itself as a target disk to the legacy computer, so instead of accessing a physical SCSI disk, it's accessing a modern disk in a SAN?
I looked at http://www.linux-iscsi.org/ and it looks like the usual mode of operation is act like an iSCSI target out of a physical disk rather than the other way around, a physical target out of a remote iSCSI target. But I'm not familiar enough with the terminology or technology to tell if it's supported, possible or completely out of the question.
已采纳解答
原帖链接 · JodieC · CC BY-SA 4.0
I believe your desired approach is possible using FreeBSD's CAM Target Layer subsystem and SCSI adapters that support target mode, like the AIC-78xx series. I'm currently doing this via a pair of Adaptec 39160 cards connected with a VHDCI cable. It is also possible to pass through an ISO file as a bootable SCSI CDROM device.
The FreeBSD kernel must be compiled with targ and targbh drivers, the ports must be enabled for target mode (eg ctladm port -o on ahc0), and the block devices must be created ( ctladm create -b block -o file=/path/to/disk or ctladm create -b block -t 5 -o file=/path/to/iso). The block driver supports disk devices as well as disk images. By default it presents devices as LUNs on ID 7, so make sure your SCSI cards are set to different IDs.
Windows 98 seems to hang when scanning the PCI bus with ASPI for 79xx, possibly due to a driver issue, though I haven't investigated heavily. Windows XP seems to be easier to deal with for the 39160 cards, but as XP can be sanbooted from iSCSI already, that doesn't unlock any extra functionality for me.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
