The current SES enumerator doesn't support parsing AES FC descriptors
(which are required to correlate disks with the Solaris abstraction).
So we get the PSU/fan/bay information, but don't know which disk is
which.

It should be pretty straightforward to do, though we may need to make
sure that the HBAs are exporting appropriate properties to do the
correleation.  I don't have a machine to test it on, but it'd be a nice
little project for someone sufficiently motivated.

- Eric

On Tue, Jul 15, 2008 at 02:37:09PM -0700, Bill Sommerfeld wrote:
> On Tue, 2008-07-15 at 15:32 -0500, Bob Friesenhahn wrote:
> > On Tue, 15 Jul 2008, Ross Smith wrote:
> > 
> > >
> > > It sounds like you might be interested to read up on Eric Schrock's work. 
> > >  I read today about some of the stuff he's been doing to bring integrated 
> > > fault management to Solaris:
> > > http://blogs.sun.com/eschrock/entry/external_storage_enclosures_in_solaris
> > > His last paragraph is great to see, Sun really do seem to be headed in 
> > > the right direction:
> > 
> > That does sound good.  It seems like this effort is initially limited 
> > to SAS enclosures.
> 
> It seems to get some info from a SE3510 jbod (fiberchannel), but doesn't
> identify which disk is in each drive slot:
> 
> # /usr/lib/fm/fmd/fmtopo -V '*/ses-enclosure=0/bay=0'
> TIME                 UUID
> Jul 15 17:33:37 6033e234-94a3-ca79-9138-af1ee7f95b8d
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=0
>   group: protocol                       version: 1   stability: 
> Private/Private
>     resource          fmri      
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=0
>     label             string    Disk Drives 0
>     FRU               fmri      
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=0
>   group: authority                      version: 1   stability: 
> Private/Private
>     product-id        string    SUN-StorEdge-3510F-D
>     chassis-id        string    205000c0ff086b4a
>     server-id         string    
>   group: ses                            version: 1   stability: 
> Private/Private
>     node-id           uint64    0x3
>     target-path       string    /dev/es/ses0
> 
> # /usr/lib/fm/fmd/fmtopo '*/ses-enclosure=0/*'
> TIME                 UUID
> Jul 15 17:35:23 16ff7d01-7f1d-e8ef-f8a5-d60a01d99b68
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/psu=0
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/psu=1
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/fan=0
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/fan=1
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/fan=2
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/fan=3
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=0
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=1
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=2
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=3
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=4
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=5
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=6
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=7
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=8
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=9
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=10
> 
> hc://:product-id=SUN-StorEdge-3510F-D:chassis-id=205000c0ff086b4a:server-id=/ses-enclosure=0/bay=11
> 
> 
>                                                       - Bill
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

--
Eric Schrock, Fishworks                        http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to