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

Sagar.Biradar at microchip.com Sagar.Biradar at microchip.com
Sat Feb 6 01:59:52 CET 2021


Hi David,
Probably you are looking for this

aacraid,H,L,ID - [Linux, Windows and Cygwin only] the device consists of one or more SCSI/SAS or SATA disks connected to an AacRaid controller. The non-negative integers H,L,ID (Host number, Lun, ID) denote which disk on the controller is monitored. Use syntax such as:
smartctl -a -d aacraid,0,0,2 /dev/sda
smartctl -a -d aacraid,1,0,4 /dev/sdb

Option '-d sat,auto+...' is implicitly enabled to detect SATA disks. Use '-d scsi+aacraid,H,L,ID' to disable it.
On Linux, the following entry in /proc/devices must exist: aac. Character device nodes /dev/aacH (H=Host number) are created if required.
On Windows, the device name parameter /dev/sdX is ignored if '-d aacraid' is specified.
From: https://www.smartmontools.org/browser/trunk/smartmontools/smartctl.8.in

I am adding Balaji and Uday, from the apps team to help with exact IOCTLs and possible alternatives.
Balaji and Uday – could you please help David with tools/IOCTL to find the powerstate of all the drives participating in a volume?

Thanks
Sagar

From: David C. Partridge [mailto:david.partridge at perdrix.co.uk]
Sent: Friday, February 5, 2021 1:44 PM
To: Sachin Kumar - I31159 <Sachin.Kumar2 at microchip.com>; Sagar Biradar - C34249 <Sagar.Biradar at microchip.com>; Christian.Franke at t-online.de
Cc: smartmontools-support at listi.jpberlin.de; 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
Or in fact how to ask the raid controller about the power status of each logical device as the RAID config is for power management by logical device.

D.

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: 05 February 2021 16:41
To: Sachin.Kumar2 at microchip.com<mailto:Sachin.Kumar2 at microchip.com>; Sagar.Biradar at microchip.com<mailto:Sagar.Biradar at microchip.com>; 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>; Tom.White at microchip.com<mailto:Tom.White at microchip.com>
Subject: Re: [smartmontools-support] DEFAULT -n standby not working for Adaptec Raid

hdparm -C /dev/sdb reports standby for the logical device anyhow when the device is in Active status (which is wrong)

We need to know how to ask the raid controller the state of each of the *physical* devices which make up the raid array.

D.



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


More information about the Smartmontools-support mailing list