Miles Nordin wrote:
"bh" == Brandon High <bh...@freaks.com> writes:

    bh> From what I've read, the Hitachi and Samsung drives both
    bh> support CCTL, which is in the ATA-8 spec. There's no way to
    bh> toggle it on from OpenSolaris (yet) and it doesn't persist
    bh> through reboot so it's not really ideal.

    bh> Here's a patch to smartmontools that is supposed to enable
    bh> it. It's in the SVN version 5.40 but not the current 5.39
    bh> release: http://www.csc.liv.ac.uk/~greg/projects/erc/

That's good to know.  It would be interesting to know if the smartctl
command in question can actually make it through a solaris system, and
on what disk driver.  AHCI and mpt are different because one is SATA
framework and one isn't.  I wonder also if SAS expanders cause any
problems for smartctl?

So, using latest SVN of smartmontools:

AHCI reads work, writes don't (could be the drive - a WDC WD3200KS-00PFB0), must specify -d sat,12 to get anything:

root:gandalf 0 # ./smartctl -d sat,12 -l scterc,70,70 /dev/rdsk/c9t0d0p0 smartctl 5.40 2010-05-12 r3104 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

SCT Error Recovery Control:
           Read:  57345 (5734.5 seconds)
          Write:  57345 (5734.5 seconds)


mpt nothing works (and I see reports from Windows that it should with this disk, a ST31500341AS with CC1H firmware):

root:gandalf 1 # ./smartctl -d sat,12 -l scterc /dev/rdsk/c7t9d0
smartctl 5.40 2010-05-12 r3104 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Error Write SCT Error Recovery Control Command failed: scsi error unknown error (unexpected sense key)
Warning: device does not support SCT (Get) Error Recovery Control command

root:gandalf 4 # ./smartctl -d sat,16 -l scterc /dev/rdsk/c7t9d0
smartctl 5.40 2010-05-12 r3104 [i386-pc-solaris2.11] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Error Write SCT Error Recovery Control Command failed: scsi error unknown error (unexpected sense key)
Warning: device does not support SCT (Get) Error Recovery Control command
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to