<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<tt>Smartmontools on Solaris or OmniOS works well with the following</tt><tt>
<br>
(this is on a BroadCom HBA) <br>
</tt><tt><br>
</tt><tt>Get basic infos</tt><tt><br>
</tt><tt> smartctl -i -T permissive
/dev/rdsk/c11t5000CCA249D48C12d0s0</tt><tt><br>
</tt>
<pre>
Smart state
smartctl -d sat,12 -T permissive --smart=on /dev/rdsk/c11t5000CCA249D48C12d0s0
</pre>
<pre>Details incl all attributes
smartctl -a -d sat,12 -T permissive /dev/rdsk/c11t5000CCA249D48C12d0s0
</pre>
<tt>Only remaining problem that I have found (Solaris only, not
Illumos) is that every smartmontool call increases iostat error
counters. Not a real problem but annoying.</tt><tt><br>
</tt><tt><br>
</tt><tt>Gea</tt><br>
<br>
<div class="moz-cite-prefix">Am 29.05.2020 um 20:48 schrieb
Thommandra Gowtham:<br>
</div>
<blockquote type="cite"
cite="mid:CA+XNQ=j3OZRwNgH3NMh6uVwHGppYd73S5Po6VR86Q-JVR2ni=Q@mail.gmail.com">
<div dir="ltr">Thanks for your reply Christian.
<div><br>
</div>
<div>It doesn't work with '-d sat'. Is there any other way we
can get the raw attributes? Because we are able to query the
same disk using smartctl on Ubuntu.</div>
<div>Any pointers would be much appreciated.</div>
<div><br>
</div>
<div><snip></div>
<div># smartctl -d sat -a /dev/rdsk/c11t0d0s0<br>
smartctl 7.1 2019-12-30 r5022 [i386-pc-solaris2.11] (local
build)<br>
Copyright (C) 2002-19, Bruce Allen, Christian Franke, <a
href="http://www.smartmontools.org" moz-do-not-send="true">www.smartmontools.org</a><br>
<br>
=== START OF INFORMATION SECTION ===<br>
Device Model: SQF-S25M8-128G-S8C<br>
Serial Number: FF3607431CAB00091656<br>
Firmware Version: S8FM06A7<br>
User Capacity: 128,035,676,160 bytes [128 GB]<br>
Sector Size: 512 bytes logical/physical<br>
Rotation Rate: Solid State Device<br>
Form Factor: 2.5 inches<br>
Device is: Not in smartctl database [for details use:
-P showall]<br>
ATA Version is: ATA8-ACS (minor revision not indicated)<br>
SATA Version is: SATA 3.1, 6.0 Gb/s<br>
Local Time is: Fri May 29 18:45:43 2020 PDT<br>
SMART support is: Available - device has SMART capability.<br>
SMART support is: Enabled<br>
<br>
Read SMART Data failed: scsi error aborted command<br>
<br>
=== START OF READ SMART DATA SECTION ===<br>
SMART Status command failed: scsi error aborted command<br>
SMART overall-health self-assessment test result: UNKNOWN!<br>
SMART Status, Attributes and Thresholds cannot be read.<br>
<br>
Read SMART Log Directory failed: scsi error aborted command<br>
<br>
Read SMART Error Log failed: scsi error aborted command<br>
<br>
Read SMART Self-test Log failed: scsi error aborted command<br>
<br>
Selective Self-tests/Logging not supported<br>
</div>
<div></snip></div>
<div><br>
</div>
<div>Thanks,</div>
<div>Gowtham</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, May 29, 2020 at 10:13
PM Christian Franke <<a
href="mailto:Christian.Franke@t-online.de"
moz-do-not-send="true">Christian.Franke@t-online.de</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote">Thommandra Gowtham wrote:<br>
> I need to get few parameters of SSD from Illumos. For
example:<br>
><br>
> ...<br>
><br>
> But when I try to retrieve, I see that it is not
supported in Solaris. <br>
> Is there any other way we can get the raw data in
Illumos/Solaris?<br>
><br>
> # /usr/local/sbin/smartctl -d ata -a
/dev/rdsk/c11t0d0s0<br>
> smartctl 7.1 2019-12-30 r5022 [i386-pc-solaris2.11]
(local build)<br>
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, <br>
> <a href="http://www.smartmontools.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.smartmontools.org</a>
<<a href="http://www.smartmontools.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.smartmontools.org</a>><br>
><br>
><br>
>
#######################################################################<br>
> ATA command routine ata_command_interface() NOT
IMPLEMENTED under Solaris.<br>
> Please contact <a
href="mailto:smartmontools-support@listi.jpberlin.de"
target="_blank" moz-do-not-send="true">smartmontools-support@listi.jpberlin.de</a>
<br>
> <mailto:<a
href="mailto:smartmontools-support@listi.jpberlin.de"
target="_blank" moz-do-not-send="true">smartmontools-support@listi.jpberlin.de</a>>
if<br>
> you want to help in porting smartmontools to Solaris.<br>
>
#######################################################################<br>
<br>
Self explanatory :-)<br>
<br>
<br>
><br>
> Tried with '-T permissive' as well but no luck. I can get
some data by <br>
> using '-d scsi' but not the raw attributes.<br>
<br>
Did you try without '-d' or with '-d sat' ?<br>
<br>
According to <a
href="https://www.smartmontools.org/changeset/4140"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.smartmontools.org/changeset/4140</a>
this should <br>
work for SATA devices.<br>
<br>
Regards,<br>
Christian<br>
<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Smartmontools-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Smartmontools-support@listi.jpberlin.de">Smartmontools-support@listi.jpberlin.de</a>
<a class="moz-txt-link-freetext" href="https://listi.jpberlin.de/mailman/listinfo/smartmontools-support">https://listi.jpberlin.de/mailman/listinfo/smartmontools-support</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Guenther Alka, Dipl.-Ing. (FH)
Rektor-Klaus Str. 71
73525 Schwäbisch Gmünd
</pre>
</body>
</html>