Date: Thu, 13 Dec 2001 12:46:33 -0500 From: "John S. Bucy" <bucy@ece.cmu.edu> To: craig <craiglei@pasia.com.cn> Cc: freebsd-scsi@freebsd.org Subject: Re: project of making a freebsd like a disk to other system on the same scsi bus! Message-ID: <20011213124633.F32631@catalepsy.pdl.cmu.edu> In-Reply-To: <000801c18387$ae3ad780$051a0a0a@fd.com>; from craiglei@pasia.com.cn on Thu, Dec 13, 2001 at 11:38:50AM %2B0800 References: <000801c18387$ae3ad780$051a0a0a@fd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 13, 2001 at 11:38:50AM +0800, craig wrote: > Hi Bucy, > I just want to implement such a system like your project. How about your project's progress? > We have several sun server and we need to make our cheap freebsd pc to act as a large external > scsi disk. So I need to learn something about your project. Could you help me? We modified Justin Gibbs' target mode driver to act like a disk instead of a scsi processor device. This required changing the reply to the scsi INQUIRY command to indicate a disk, adding support in targdone() to reply to a few mode pages and to place all READ and WRITE scsi commands into the queue so that they can be retrieved by the userspace process with ioctl(). Our code was pretty unstable and also did not support tagged queueing which is a big lose for a production system. What I'm guessing you want to do is put a bunch of cheap IDE disks behind your sun and possibly use the PC as a raid controller. If all you want is to use ide disks on your sun, there are products available (< US$100) that will let you attach an ide disk to a scsi bus. And this would probably be preferable to using a PC to interface the disks. Our code is not really in a releasable state right now but we plan to really overhaul it next month; when this is done, we will probably make it available. john To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011213124633.F32631>
