大网数据广告活动
服务器运维问答

Creating a physical SCSI target out of an iSCSI one

· 52CE 我爱测

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. I…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-05-29)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。