On Fri, Dec 5, 2008 at 8:15 PM, Chris Liu <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I have developed a prototype LU provider working with COMSTAR. It passes
> through all incoming commands to registered devices and all data to initiator.

Just a thought, could very same approach be used to export _any_ local LUN?

> Thus, it can transparently export local disks/tapes/CD(DVD)-R(RW) to remote
> host through COMSTAR framework. I name it spd (SCSI passthrough device).
>
> The source patch and related information can be find at:
> http://cr.opensolaris.org/~chrisliu/SPD/
>
> After obtain the patch, go to your Solaris workspace and use gpatch:
>  cat spd.patch | gpatch -p1
> Then go to usr/src/uts/intel/stmf_spd/ or usr/src/uts/sparc/stmf_spd/, make 
> the
> binaries - stmf_spd.
>
> Put binaries (32bit and 64bit) in /kernel/drv/ and /kernel/drv/amd64 
> respectively,
> copy stmf_spd.conf from workspace to /kernel/drv, run:
>  add_drv stmf_spd
>
> Build the managerment utility spdadm from workspace usr/src/cmd/spdadm.
> Run it to register/deregister/list LUs. You can find example on the website
> above.
>
> Currently, I open devices as blocking devices only, so CD/DVD disc must be

You probably meant 'block devices'?

> loaded prior to register it as LU. This will be handled better later.

I believe you could load drivers for configured devices automatically
at start-up.

Regards,
Andrey

>
> It is still a prototype and will NOT ensure your data safety.
>
> Enjoy it.
> -------------------
> Chris Liu
> Sun Microsystems
> Storage Platform Software Group
> --
> This message posted from opensolaris.org
> _______________________________________________
> storage-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/storage-discuss
>
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to