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

David C. Partridge david.partridge at perdrix.co.uk
Mon Feb 1 10:57:59 CET 2021


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> 
Sent: 01 February 2021 06:34
To: David C. Partridge <david.partridge at perdrix.co.uk>
Cc: 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> On Behalf Of David C.
> Partridge
> Sent: 30 January 2021 14:07
> To: 'smartmontools list' <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



More information about the Smartmontools-support mailing list