<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Times New Roman",serif;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>root@charon:/home/amonra# smartctl -l devstat -d aacraid,0,0,1 /dev/sdb<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-65-generic] (local build)<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>root@charon:/home/amonra# <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>Which didn’t tell me much about the online/powered off state …<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>None of the other smartctl -l options seems appropriate:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>=======> VALID ARGUMENTS ARE: error, selftest, selective, directory[,g|s], xerror[,N][,error], xselftest[,N][,selftest], background, sasphy[,reset], sataphy[,reset], scttemp[sts,hist], scttempint,N[,p], scterc[,N,M], devstat[,N], defects[,N], ssd, gplog,N[,RANGE], smartlog,N[,RANGE], nvmelog,N,SIZE <=======<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>Use smartctl -h to get a usage summary<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>Regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'>David<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Sagar.Biradar@microchip.com <Sagar.Biradar@microchip.com> <br><b>Sent:</b> 04 February 2021 00:54<br><b>To:</b> david.partridge@perdrix.co.uk; Christian.Franke@t-online.de<br><b>Cc:</b> smartmontools-support@listi.jpberlin.de; Sachin.Kumar2@microchip.com; Tom.White@microchip.com<br><b>Subject:</b> RE: [smartmontools-support] DEFAULT -n standby not working for Adaptec Raid<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Forgot to add : smartctl can be used to do the same<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>“Smartctl -l /dev/sda”<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>SCSI command 12h can be used to inquire the status of the drive.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sagar<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Sagar Biradar - C34249 <br><b>Sent:</b> Wednesday, February 3, 2021 4:50 PM<br><b>To:</b> 'David C. Partridge' <<a href="mailto:david.partridge@perdrix.co.uk">david.partridge@perdrix.co.uk</a>>; 'Christian Franke' <<a href="mailto:Christian.Franke@t-online.de">Christian.Franke@t-online.de</a>><br><b>Cc:</b> <a href="mailto:smartmontools-support@listi.jpberlin.de">smartmontools-support@listi.jpberlin.de</a>; Sachin Kumar - I31159 <<a href="mailto:Sachin.Kumar2@microchip.com">Sachin.Kumar2@microchip.com</a>>; Tom White - C33503 <<a href="mailto:Tom.White@microchip.com">Tom.White@microchip.com</a>><br><b>Subject:</b> RE: [smartmontools-support] DEFAULT -n standby not working for Adaptec Raid<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Hi David,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>CLI tool - <b>arcconf</b>, or GUI tool - <b>Maxview </b>or the in the BIOS utility - <b>CTRL-A </b>can be used to check the status of the physical drive.<br>These can be downloaded on Microchip website.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>I have attached the screenshots of these utilities and below is the command syntax for arcconf.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Example: “</span><span lang=EN-US style='font-family:"Courier New"'>arcconf getconfig Contoller_num pd 0 1</span><span lang=EN-US>”<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><br></span><span lang=EN-US style='font-family:"Courier New"'>Device #0<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US style='font-family:"Courier New"'> Device is a Hard drive<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US style='font-family:"Courier New"'> State : <b><span style='background:yellow;mso-highlight:yellow'>Online</span><o:p></o:p></b></span></p><p class=MsoPlainText><span lang=EN-US> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>I am adding Firmware Engineer Sachin – for any further queries.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Thanks<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Sagar<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>> -----Original Message-----<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> From: David C. Partridge [<a href="mailto:david.partridge@perdrix.co.uk">mailto:david.partridge@perdrix.co.uk</a>]<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Sent: Monday, February 1, 2021 1:58 AM<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> To: 'Christian Franke' <<a href="mailto:Christian.Franke@t-online.de">Christian.Franke@t-online.de</a>>; Sagar Biradar - C34249<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <<a href="mailto:Sagar.Biradar@microchip.com">Sagar.Biradar@microchip.com</a>><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Cc: <a href="mailto:smartmontools-support@listi.jpberlin.de">smartmontools-support@listi.jpberlin.de</a><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Subject: RE: [smartmontools-support] DEFAULT -n standby not working for<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Adaptec Raid<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> content is safe<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Yes, it is the controller that spins down the drives.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Is there an IOCTL to the ASR-8885 that will enquire what the power state of<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> the drives is?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> I don't know, but perhaps Sagar Biradar does?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Cheers<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> David<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> -----Original Message-----<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> From: Christian Franke <<a href="mailto:Christian.Franke@t-online.de">Christian.Franke@t-online.de</a>><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Sent: 01 February 2021 06:34<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> To: David C. Partridge <<a href="mailto:david.partridge@perdrix.co.uk">david.partridge@perdrix.co.uk</a>><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Cc: <a href="mailto:smartmontools-support@listi.jpberlin.de">smartmontools-support@listi.jpberlin.de</a><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Subject: Re: [smartmontools-support] DEFAULT -n standby not working for<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Adaptec Raid<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> David C. Partridge wrote:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > I just realised that I'd already put -n standby into all the lines for the<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > raid array drives long ago, so my recent addition of the DEFAULT line is a<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > red herring.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > Thread title should be just "-n standby not working ..."<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > David<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > -----Original Message-----<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > From: Smartmontools-support<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > <<a href="mailto:smartmontools-support-bounces@listi.jpberlin.de">smartmontools-support-bounces@listi.jpberlin.de</a>> On Behalf Of David C.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > Partridge<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > Sent: 30 January 2021 14:07<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > To: 'smartmontools list' <<a href="mailto:smartmontools-support@listi.jpberlin.de">smartmontools-support@listi.jpberlin.de</a>><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > Subject: [smartmontools-support] DEFAULT -n standby not working for<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Adaptec<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > Raid<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > Set /etc/smartd.conf as follows with Adaptec ASR-8885 configured to<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> power<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > drives down after 20 minutes:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> ><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > DEFAULT -n standby<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> > dev/disk/by-path/pci-0000:00:17.0-ata-1 -a -n standby -W 0,0,55 -m ... -M<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> exec /usr/share/smartmontools/smartd-runner<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> If the controller firmware spins down the drive, it may later spin up<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> the drive before the next command is issued. A workaround would require<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> a separate I/O-control which reports the power state before a<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> pass-through command is issued. This would require a specification from<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Adaptec or some sample source code.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Note that '-n standby' for SCSI/SAS drives is only implemented in<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> smartctl, but not yet in smartd.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Thanks,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Christian<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p></div></div></body></html>