On Solaris x86, does zpool (or anything) support PATA (or SATA) IDE SMART data? With the Predictive Self Healing feature, I assumed that Solaris would have at least some SMART support, but what I''ve googled so far has been discouraging. http://prefetch.net/blog/index.php/2006/10/29/solaris-needs-smart-support-please-help/ Bug ID: 4665068 SMART support in IDE driver http://bugs.opensolaris.org/view_bug.do?bug_id=4665068 Bug ID: 6280687 Collect SMART data from disks and deliver info to FMA http://bugs.opensolaris.org/view_bug.do?bug_id=6280687 If it''s not automated into ZFS or FMA yet, then smartmontools would be enough for me. Did Sun''s endowment of storage related code to OpenSolaris in April happen to include the dad driver (the SPARC IDE driver) that contains the missing ioctls for SMART that Matty thought could be ported to the cmdk driver (the x86 Solaris IDE driver)? http://www.itjungle.com/tug/tug042607-story08.html I''m a Solaris newbie trying Nevada b62 now that it supports ZFS mirror boot. The last time I installed Solaris, it was called SunOS. Cheers, 11011011
See: http://blogs.sun.com/eschrock/entry/solaris_platform_integration_generic_disk Prior to the above work, we only monitored disks on Thumper (x4500) platforms. With these changes we monitor basic SMART data for SATA drives. Monitoring for SCSI drives will be here soon. The next step will be tying this information into ZFS diagnosis to have a coherent diagnosis strategy (currently ZFS vdevs and Solaris devices are diagnosed as independent faults). Also in codereview right now is FMA work to proactively diagnose faulty drives based on I/O and checksum errors as seen by ZFS. Hope that helps, - Eric On Fri, Jun 01, 2007 at 11:20:02AM -1000, J. David Beutel wrote:> On Solaris x86, does zpool (or anything) support PATA (or SATA) IDE > SMART data? With the Predictive Self Healing feature, I assumed that > Solaris would have at least some SMART support, but what I''ve googled so > far has been discouraging. > > http://prefetch.net/blog/index.php/2006/10/29/solaris-needs-smart-support-please-help/ > > Bug ID: 4665068 SMART support in IDE driver > http://bugs.opensolaris.org/view_bug.do?bug_id=4665068 > > Bug ID: 6280687 Collect SMART data from disks and deliver info to FMA > http://bugs.opensolaris.org/view_bug.do?bug_id=6280687 > > If it''s not automated into ZFS or FMA yet, then smartmontools would be > enough for me. Did Sun''s endowment of storage related code to > OpenSolaris in April happen to include the dad driver (the SPARC IDE > driver) that contains the missing ioctls for SMART that Matty thought > could be ported to the cmdk driver (the x86 Solaris IDE driver)? > http://www.itjungle.com/tug/tug042607-story08.html > > I''m a Solaris newbie trying Nevada b62 now that it supports ZFS mirror > boot. The last time I installed Solaris, it was called SunOS. > > Cheers, > 11011011 > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock
Excellent! Thanks! I''ve gleaned the following from your blog. Is this correct? * A week ago you committed a change that will: ** get current SMART parameters and faults for SATA on x86 via a single function in a private library using SCSI emulation; ** decide whether they indicate any problem I need to be aware of in terms of over temperature, predictive failure, and self-test failure; ** periodically check for above problems and generate an FMA ereport and fault. I haven''t used FMA yet, but this all sounds like just what I''m looking for! Questions: * What Nevada build will this be in? * No support for PATA? * Do I need any special SATA configuration to get the SCSI emulation? * Does ZFS mirror boot work on SATA? * Self-test failures are reported, but self-tests cannot be run? * Is there a utility to output the raw disk_status_get() results? * Are there HDD-model specific configurations for SMART parameters? Cheers, 11011011 Eric Schrock <eric.schrock at sun.com> wrote on Friday, June 01, 2007 11:28:50:> See: > > http://blogs.sun.com/eschrock/entry/solaris_platform_integration_generic_disk > > Prior to the above work, we only monitored disks on Thumper (x4500) > platforms. With these changes we monitor basic SMART data for SATA > drives. Monitoring for SCSI drives will be here soon. The next step > will be tying this information into ZFS diagnosis to have a coherent > diagnosis strategy (currently ZFS vdevs and Solaris devices are > diagnosed as independent faults). > > Also in codereview right now is FMA work to proactively diagnose faulty > drives based on I/O and checksum errors as seen by ZFS. > > Hope that helps, > > - Eric > > On Fri, Jun 01, 2007 at 11:20:02AM -1000, J. David Beutel wrote: > >> On Solaris x86, does zpool (or anything) support PATA (or SATA) IDE >> SMART data? With the Predictive Self Healing feature, I assumed that >> Solaris would have at least some SMART support, but what I''ve googled so >> far has been discouraging. >> >> http://prefetch.net/blog/index.php/2006/10/29/solaris-needs-smart-support-please-help/ >> >> Bug ID: 4665068 SMART support in IDE driver >> http://bugs.opensolaris.org/view_bug.do?bug_id=4665068 >> >> Bug ID: 6280687 Collect SMART data from disks and deliver info to FMA >> http://bugs.opensolaris.org/view_bug.do?bug_id=6280687 >> >> If it''s not automated into ZFS or FMA yet, then smartmontools would be >> enough for me. Did Sun''s endowment of storage related code to >> OpenSolaris in April happen to include the dad driver (the SPARC IDE >> driver) that contains the missing ioctls for SMART that Matty thought >> could be ported to the cmdk driver (the x86 Solaris IDE driver)? >> http://www.itjungle.com/tug/tug042607-story08.html >> >> I''m a Solaris newbie trying Nevada b62 now that it supports ZFS mirror >> boot. The last time I installed Solaris, it was called SunOS. >> >> Cheers, >> 11011011 >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> > > -- > Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock >
On Fri, Jun 01, 2007 at 12:33:29PM -1000, J. David Beutel wrote:> Excellent! Thanks! I''ve gleaned the following from your blog. Is this > correct? > > * A week ago you committed a change that will: > ** get current SMART parameters and faults for SATA on x86 via a single > function in a private library using SCSI emulation; > ** decide whether they indicate any problem I need to be aware of in > terms of over temperature, predictive failure, and self-test failure; > ** periodically check for above problems and generate an FMA ereport and > fault.Yep, that''s about the gist of it.> I haven''t used FMA yet, but this all sounds like just what I''m looking > for! Questions: > > * What Nevada build will this be in?This will be in build 65 of Nevada.> * No support for PATA?Nope. Only devices that use the SATA framework (Marvell, Silicon Image, and others - I don''t remember the full list) use the SCSI emulation required to make this work.> * Do I need any special SATA configuration to get the SCSI emulation?No, but your SATA HBA must be one of those supported by the SATA framework. Otherwise it will operate in PATA legacy mode and the information will not be available.> * Does ZFS mirror boot work on SATA?Currently, there is a bug that prevents this from working. Basically, ZFS requires device IDs or /dev paths to open devices. For some unknown reason, ldi_open_by_devid() doesn''t work for SATA devices early in boot, and /dev is obviously not available. I''ve fixed this in my upcoming FMA wad by also storing the /devices path with the vdev and falling back to that. Your mileage may vary, but at least for marvell SATA devices, ZFS boot doesn''t work at the moment.> * Self-test failures are reported, but self-tests cannot be run?They are not explicitly scheduled by software. The drive firmware itself often runs tests independent of any software control.> * Is there a utility to output the raw disk_status_get() results?No. At one point I had an option to fmtopo to dump the output but I ripped it out during codereview because there had been plans to port the method to become a property. Now the fate is somewhat up in the air. In the meantime, a 20-line C program will do the trick (use nvlist_print to print the results). Sorry about that.> * Are there HDD-model specific configurations for SMART parameters?Not currently. Hope that helps, - Eric -- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock
On 1-Jun-07, at 7:50 PM, Eric Schrock wrote:> On Fri, Jun 01, 2007 at 12:33:29PM -1000, J. David Beutel wrote: >> Excellent! Thanks! I''ve gleaned the following from your blog. >> Is this >> correct? >> >> * A week ago you committed a change that will: >> ** get current SMART parameters and faults for SATA on x86 via a >> single >> function in a private library using SCSI emulation; >> ** decide whether they indicate any problem I need to be aware of in >> terms of over temperature, predictive failure, and self-test failure; >> ** periodically check for above problems and generate an FMA >> ereport and >> fault. > > Yep, that''s about the gist of it. > >> ... > >> * Do I need any special SATA configuration to get the SCSI emulation? > > No, but your SATA HBA must be one of those supported by the SATA > framework. Otherwise it will operate in PATA legacy mode and the > information will not be available.Well that rules out Frank''s and my X2100s :-/ --Toby> >> * Does ZFS mirror boot work on SATA? > > Currently, there is a bug that prevents this from working. ...
Eric Schrock <eric.schrock at sun.com> wrote on Friday, June 01, 2007 12:50:50:> > Only devices that use the SATA framework (Marvell, Silicon Image, > and others - I don''t remember the full list) use the SCSI emulation > required to make this work. > > >> * Do I need any special SATA configuration to get the SCSI emulation? >> > > No, but your SATA HBA must be one of those supported by the SATA > framework. Otherwise it will operate in PATA legacy mode and the > information will not be available. > >Thanks. I don''t know anything about SATA yet, so this helps. From a little research, it looks like the Solaris SATA framework is doing the SCSI emulation for the OS, and it requires a driver designed for that framework to talk to the SATA controller chip. I have an Asus M2NPV-VM, which uses the nVIDIA nForce 430 for SATA 3Gb/s. Unfortunately, this page suggests that it runs in legacy mode: http://blogs.sun.com/chrisg/entry/home_server_hardware_configuration#comment-1162973844000 Where can I find the full list of supported controllers for Solaris SATA HBA? If I buy SATA drives, I might buy another controller too (altho not if I lose ZFS boot). Cheers, 11011011
I think nForce 430 would be using AHCI driver if you set you BIOS for it, in current Nevada builds anyway, and I think that uses SATA framework. On 6/1/07, J. David Beutel <jdb at getsu.com> wrote:> Eric Schrock <eric.schrock at sun.com> wrote on Friday, June 01, 2007 12:50:50: > > > > Only devices that use the SATA framework (Marvell, Silicon Image, > > and others - I don''t remember the full list) use the SCSI emulation > > required to make this work. > > > > > >> * Do I need any special SATA configuration to get the SCSI emulation? > >> > > > > No, but your SATA HBA must be one of those supported by the SATA > > framework. Otherwise it will operate in PATA legacy mode and the > > information will not be available. > > > > > > Thanks. I don''t know anything about SATA yet, so this helps. From a > little research, it looks like the Solaris SATA framework is doing the > SCSI emulation for the OS, and it requires a driver designed for that > framework to talk to the SATA controller chip. > > I have an Asus M2NPV-VM, which uses the nVIDIA nForce 430 for SATA > 3Gb/s. Unfortunately, this page suggests that it runs in legacy mode: > http://blogs.sun.com/chrisg/entry/home_server_hardware_configuration#comment-1162973844000 > > Where can I find the full list of supported controllers for Solaris SATA > HBA? If I buy SATA drives, I might buy another controller too (altho > not if I lose ZFS boot). > > Cheers, > 11011011 > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
"Marko Milisavljevic" <marko at cognistudio.com> wrote on 06/02/2007 02:03:56 AM:> I think nForce 430 would be using AHCI driver if you set you BIOS for > it, in current Nevada builds anyway, and I think that uses SATA > framework.I don''t see any BIOS option for AHCI, but when I get back in a couple weeks I''ll try updating my BIOS and looking a little harder. I''m not even sure which driver Solaris is using now. But I''m pessimistic because I''ve googled a few pages which suggest that the 430 doesn''t support AHCI. (I saw the page about the Solaris AHCI driver, though.) Cheers, 11011011
You are right... I shouldn''t post in the middle of the night... nForce chipsets don''t support AHCI. On 6/4/07, J. David Beutel <jdb at getsu.com> wrote:> "Marko Milisavljevic" <marko at cognistudio.com> wrote on 06/02/2007 > 02:03:56 AM: > > I think nForce 430 would be using AHCI driver if you set you BIOS for > > it, in current Nevada builds anyway, and I think that uses SATA > > framework. > > I don''t see any BIOS option for AHCI, but when I get back in a couple > weeks I''ll try updating my BIOS and looking a little harder. I''m not > even sure which driver Solaris is using now. But I''m pessimistic > because I''ve googled a few pages which suggest that the 430 doesn''t > support AHCI. (I saw the page about the Solaris AHCI driver, though.) > > Cheers, > 11011011 >
> You are right... I shouldn''t post in the middle of > the night... nForce chipsets don''t support AHCI.Btw. does anybody have a status update for bug 6296435, "native sata driver needed for nVIDIA mcp04 and mcp55 controllers" http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6296435 ? Commit to Fix target was "snv_59", but we''re at "snv_67" now... This message posted from opensolaris.org
On Fri, Jun 08, 2007 at 06:51:17AM -0700, J?rgen Keil wrote:> > You are right... I shouldn''t post in the middle of > > the night... nForce chipsets don''t support AHCI. > > Btw. does anybody have a status update for bug 6296435, > "native sata driver needed for nVIDIA mcp04 and mcp55 controllers" > http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6296435 > ? > > Commit to Fix target was "snv_59", but we''re at "snv_67" now...The RTI has been filed, but the team is hashing out some final issues. - Eric -- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock