Harihara Kadayam wrote:
I would like propose a new project SCSI SAM Pseudo File system in
OpenSolaris. This file system will be somewhat similar to Linux’s
/proc/scsi file system, with several extensions.
In a typical setup, we have multiple systems connected to the storage
devices and each could have multiple initiators/HBAs (SCSI, FC or
iSCSI), which in turn have multiple ports, targets and luns. Each of
these entities and its properties can be represented as files and
directories.
Features of this file system The SCSI SAM file system can have the
following features. The list here is very limited and can be modified
after review.
1) All SCSI components in the SCSI architecture model (SAM) to be
listed as files and directories.
> 2) Vendor HBA card properties
> 3) Vendor private data (VPD), NVRAM, FW updates
> 4) Adapter command interface
> 5) Target and LUN properties
> 6) Switch properties (for FC)
Overview: If this file system is mounted on /system/scsidev/localhost
for local machine, then that directory will have sub-directories of
all the HBA or iSCSI initiators present in the system. Under the HBA
directory, it will have sub-directories representing every port in
the HBA. Port directories will have a list of target sub-directories,
which in-turn has LUN sub-directories. The LUN sub directory has a
file “lun� which contains the raw LUN.
...
Apart from (6) above, I fail to see why this is required when
you do all of this using libdevinfo and uscsi ioctls.
-1 from me.
James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
http://www.jmcp.homeunix.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss