On Sun, 31 May 2009 04:40:40 -0700 (PDT)
lf yang <[email protected]> wrote:

> Hi All
> 
> I have connected PowerEdge1950  to an XYRATEX SBOD controller with Qlogic HBA.
> 
> Using the format command ,I can get the disk info,it is correct.
> 
> I am also trying to load SES (SCSI Enclosure Services) info to know the 
> status of the power supplies, fans etc.
> But When I run the command 
> add_drv  -m '* 0666 bin bin' ses 
> there is error info :
> devfsadm: driver failed to attach: ses
> Warning: Driver (ses) successfully added to system but failed to attach
> 
> How should I do , should I modify the /kernel/drv/ses.conf ?
> Any idea is welcome

You need to have "scsiclass,0d" specified as the device alias
for the ses driver. (Though it's preferable to use the sgen
driver instead - it's written better and more generally useful).

# update_drv -a -i ' "scsiclass,0d" ' sgen
or
# update_drv -a -i ' "scsiclass,0d" ' ses


Then run

# devfsadm -i sgen  (or ses)

and you should be able to see your enclosure services device using

$ cfgadm -lav

For example, on a system I have access to, I see

c2::es/ses1                    connected    configured   unknown    QUANTA 
JS2-01
unavailable  ESI          n        
/devices/p...@9,600000/LSILogic,s...@1:scsi::es/ses1


Assuming that your storage hardware is compliant with the requisite
SES2 standard, you should see the enclosure show up from this point.


cheers,
James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog
Kernel Conference Australia - http://au.sun.com/sunnews/events/2009/kernel
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to