[smartmontools-support] DEFAULT -n standby not working for Adaptec Raid

Sachin.Kumar2 at microchip.com Sachin.Kumar2 at microchip.com
Thu Feb 4 16:30:26 CET 2021


Hi David,

We can check power state using hdparm tool as below but most of the customers will use arcconf or maxview or BIOS
[root at localhost StorMan]# hdparm -C /dev/sdc
/dev/sdc:
drive state is: active/idle

Thanks
Sachin

From: David C. Partridge <david.partridge at perdrix.co.uk>
Sent: Thursday, February 4, 2021 4:49 PM
To: Sagar Biradar - C34249 <Sagar.Biradar at microchip.com>; Christian.Franke at t-online.de
Cc: smartmontools-support at listi.jpberlin.de; Sachin Kumar - I31159 <Sachin.Kumar2 at microchip.com>; Tom White - C33503 <Tom.White at microchip.com>
Subject: RE: [smartmontools-support] DEFAULT -n standby not working for Adaptec Raid

EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
root at charon:/home/amonra# smartctl -l devstat -d aacraid,0,0,1 /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-65-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org<http://www.smartmontools.org>

root at charon:/home/amonra#

Which didn’t tell me much about the online/powered off state …

None of the other smartctl -l options seems appropriate:

=======> 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 <=======

Use smartctl -h to get a usage summary

Regards
David



From: Sagar.Biradar at microchip.com<mailto:Sagar.Biradar at microchip.com> <Sagar.Biradar at microchip.com<mailto:Sagar.Biradar at microchip.com>>
Sent: 04 February 2021 00:54
To: david.partridge at perdrix.co.uk<mailto:david.partridge at perdrix.co.uk>; Christian.Franke at t-online.de<mailto:Christian.Franke at t-online.de>
Cc: smartmontools-support at listi.jpberlin.de<mailto:smartmontools-support at listi.jpberlin.de>; Sachin.Kumar2 at microchip.com<mailto:Sachin.Kumar2 at microchip.com>; Tom.White at microchip.com<mailto:Tom.White at microchip.com>
Subject: RE: [smartmontools-support] DEFAULT -n standby not working for Adaptec Raid

Forgot to add : smartctl can be used to do the same
“Smartctl -l /dev/sda”

SCSI command 12h can be used to inquire the status of the drive.

Thanks
Sagar

From: Sagar Biradar - C34249
Sent: Wednesday, February 3, 2021 4:50 PM
To: 'David C. Partridge' <david.partridge at perdrix.co.uk<mailto:david.partridge at perdrix.co.uk>>; 'Christian Franke' <Christian.Franke at t-online.de<mailto:Christian.Franke at t-online.de>>
Cc: smartmontools-support at listi.jpberlin.de<mailto:smartmontools-support at listi.jpberlin.de>; Sachin Kumar - I31159 <Sachin.Kumar2 at microchip.com<mailto:Sachin.Kumar2 at microchip.com>>; Tom White - C33503 <Tom.White at microchip.com<mailto:Tom.White at microchip.com>>
Subject: RE: [smartmontools-support] DEFAULT -n standby not working for Adaptec Raid


Hi David,

CLI tool - arcconf, or GUI tool - Maxview or the in the BIOS utility - CTRL-A can be used to check the status of the physical drive.
These can be downloaded on Microchip website.



I have attached the screenshots of these utilities and below is the command syntax for arcconf.

Example: “arcconf getconfig Contoller_num pd 0 1”

Device #0

         Device is a Hard drive

         State                                : Online



I am adding Firmware Engineer Sachin – for any further queries.



Thanks

Sagar



> -----Original Message-----

> From: David C. Partridge [mailto:david.partridge at perdrix.co.uk]

> Sent: Monday, February 1, 2021 1:58 AM

> To: 'Christian Franke' <Christian.Franke at t-online.de<mailto:Christian.Franke at t-online.de>>; Sagar Biradar - C34249

> <Sagar.Biradar at microchip.com<mailto:Sagar.Biradar at microchip.com>>

> Cc: smartmontools-support at listi.jpberlin.de<mailto:smartmontools-support at listi.jpberlin.de>

> Subject: RE: [smartmontools-support] DEFAULT -n standby not working for

> Adaptec Raid

>

> EXTERNAL EMAIL: Do not click links or open attachments unless you know the

> content is safe

>

> Yes, it is the controller that spins down the drives.

>

> Is there an IOCTL to the ASR-8885 that will enquire what the power state of

> the drives is?

>

> I don't know, but perhaps Sagar Biradar does?

>

> Cheers

> David

>

> -----Original Message-----

> From: Christian Franke <Christian.Franke at t-online.de<mailto:Christian.Franke at t-online.de>>

> Sent: 01 February 2021 06:34

> To: David C. Partridge <david.partridge at perdrix.co.uk<mailto:david.partridge at perdrix.co.uk>>

> Cc: smartmontools-support at listi.jpberlin.de<mailto:smartmontools-support at listi.jpberlin.de>

> Subject: Re: [smartmontools-support] DEFAULT -n standby not working for

> Adaptec Raid

>

> David C. Partridge wrote:

> > I just realised that I'd already put -n standby into all the lines for the

> > raid array drives long ago, so my recent addition of the DEFAULT line is a

> > red herring.

> >

> > Thread title should be just "-n standby not working ..."

> >

> > David

> >

> > -----Original Message-----

> > From: Smartmontools-support

> > <smartmontools-support-bounces at listi.jpberlin.de<mailto:smartmontools-support-bounces at listi.jpberlin.de>> On Behalf Of David C.

> > Partridge

> > Sent: 30 January 2021 14:07

> > To: 'smartmontools list' <smartmontools-support at listi.jpberlin.de<mailto:smartmontools-support at listi.jpberlin.de>>

> > Subject: [smartmontools-support] DEFAULT -n standby not working for

> Adaptec

> > Raid

> >

> > Set /etc/smartd.conf as follows with Adaptec ASR-8885 configured to

> power

> > drives down after 20 minutes:

> >

> > DEFAULT -n standby

> > dev/disk/by-path/pci-0000:00:17.0-ata-1 -a -n standby -W 0,0,55 -m ... -M

> exec /usr/share/smartmontools/smartd-runner

>

> If the controller firmware spins down the drive, it may later spin up

> the drive before the next command is issued. A workaround would require

> a separate I/O-control which reports the power state before a

> pass-through command is issued. This would require a specification from

> Adaptec or some sample source code.

>

> Note that '-n standby' for SCSI/SAS drives is only implemented in

> smartctl, but not yet in smartd.

>

> Thanks,

> Christian


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20210204/8d67696f/attachment-0001.htm>


More information about the Smartmontools-support mailing list