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

David C. Partridge david.partridge at perdrix.co.uk
Sun Jan 31 12:39:11 CET 2021


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
david.partridge at perdrix.co.uk -M exec /usr/share/smartmontools/smartd-runner
#
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 -a -d aacraid,0,0,0 -n
standby -W 0,0,55 -m david.partridge at perdrix.co.uk -M exec
/usr/share/smartmontools/smartd-runner
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 -a -d aacraid,0,0,1 -n
standby -W 0,0,55 -m david.partridge at perdrix.co.uk -M exec
/usr/share/smartmontools/smartd-runner
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 -a -d aacraid,0,0,2 -n
standby -W 0,0,55 -m david.partridge at perdrix.co.uk -M exec
/usr/share/smartmontools/smartd-runner
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 -a -d aacraid,0,0,3 -n
standby -W 0,0,55 -m david.partridge at perdrix.co.uk -M exec
/usr/share/smartmontools/smartd-runner
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 -a -d aacraid,0,0,4 -n
standby -W 0,0,55 -m david.partridge at perdrix.co.uk -M exec
/usr/share/smartmontools/smartd-runner
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 -a -d aacraid,0,0,5 -n
standby -W 0,0,55 -m david.partridge at perdrix.co.uk -M exec
/usr/share/smartmontools/smartd-runner
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 -a -d aacraid,0,0,6 -n
standby -W 0,0,55 -m david.partridge at perdrix.co.uk -M exec
/usr/share/smartmontools/smartd-runner
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 -a -d aacraid,0,0,7 -n
standby -W 0,0,55 -m david.partridge at perdrix.co.uk -M exec
/usr/share/smartmontools/smartd-runner 

Extracts from system journal:

Jan 30 13:27:12 charon [1031]: [426] Power management state changed to
Powered off: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16
), channel: 0, deviceID: 2, WWN: 50000C0F01D0D7C1, vendor: WD, model:
WD4001FYYG-01SL3, S/N: WMC1F0918722, firmware level: VR07.
Jan 30 13:27:12 charon [1031]: [426] Power management state changed to
Powered off: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16
), channel: 0, deviceID: 3, WWN: 50000C0F023D7B31, vendor: WD, model:
WD4001FYYG-01SL3, S/N: WMC1F0D99DRX, firmware level: VR08.
Jan 30 13:27:12 charon [1031]: [426] Power management state changed to
Powered off: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16
), channel: 0, deviceID: 4, WWN: 50000C0F01DEB949, vendor: WD, model:
WD4001FYYG, S/N: WMC1F1533218, firmware level: D1R5.
Jan 30 13:27:12 charon [1031]: [426] Power management state changed to
Powered off: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16
), channel: 0, deviceID: 1, WWN: 50000C0F01C85E41, vendor: WD, model:
WD4001FYYG-01SL3, S/N: WMC1F1054265, firmware level: VR02.
Jan 30 13:27:12 charon [1031]: [426] Power management state changed to
Powered off: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16
), channel: 0, deviceID: 5, WWN: 50000C0F010E7B41, vendor: IBM-ESXS, model:
WD4001FYYG-23S, S/N: F0E0X2F0, firmware level: XA39.
Jan 30 13:27:12 charon [1031]: [426] Power management state changed to
Powered off: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16
), channel: 0, deviceID: 6, WWN: 50000C0F0129C691, vendor: WD, model:
WD4001FYYG, S/N: WMC1F1528634, firmware level: D1R5.
Jan 30 13:27:12 charon [1031]: [426] Power management state changed to
Powered off: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16
), channel: 0, deviceID: 7, WWN: 50000C0F01FF3D59, vendor: WD, model:
WD4001FYYG-01SL3, S/N: WMC1F0E1VFXS, firmware level: VR08.

Then at 13:42:11, for each of those devices I got:

Jan 30 13:42:11 charon smartd[791]: Device:
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 [aacraid_disk_00_00_0]
[SCSI], failed to read SMART values
Jan 30 13:42:11 charon smartd[791]: Device:
/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0 [aacraid_disk_00_00_0]
[SCSI], failed to read Temperature
Jan 30 13:42:12 charon smartd[791]: Sending warning via
/usr/share/smartmontools/smartd-runner to david.partridge at perdrix.co.uk ...
Jan 30 13:42:12 charon sendmail[161132]: 10UDgC8h161132:
from=root at charon.home, size=698, class=0, nrcpts=1,
msgid=<202101301342.10UDgC8h161132 at charon.home>, relay=root at localhost
Jan 30 13:42:12 charon sm-mta[161136]: 10UDgC4q161136:
from=<root at charon.home>, size=939, class=0, nrcpts=1,
msgid=<202101301342.10UDgC8h161132 at charon.home>, proto=ESMTP, daemon=MTA-v4,
relay=localhost [127.0.0.1]
Jan 30 13:42:12 charon sendmail[161132]: 10UDgC8h161132:
to=<david.partridge at perdrix.co.uk>, ctladdr=root at charon.home (0/0),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30698, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (10UDgC4q161136 Message accepted for
delivery)
Jan 30 13:42:12 charon smartd[791]: Warning via
/usr/share/smartmontools/smartd-runner to david.partridge at perdrix.co.uk:
successful
Jan 30 13:42:14 charon sm-mta[161138]: STARTTLS=client,
relay=relay.plus.net., version=TLSv1.2, verify=FAIL,
cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256
Jan 30 13:42:14 charon sm-mta[161138]: 10UDgC4q161136:
to=<david.partridge at perdrix.co.uk>, ctladdr=<root at charon.home> (0/0),
delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=120939,
relay=relay.plus.net. [212.159.8.107], dsn=2.0.0, stat=Sent
(5qVwlxja6jOty5qVylqfBB mail accepted for delivery)

Followed by:

Jan 30 13:47:17 charon [1031]: [426] Power management state changed to Full
rpm: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16 ),
channel: 0, deviceID: 0, WWN: 50000C0F0129DEFD, vendor: WD, model:
WD4001FYYG, S/N: WMC1F1532925, firmware level: D1R5.
Jan 30 13:47:17 charon [1031]: [426] Power management state changed to Full
rpm: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16 ),
channel: 0, deviceID: 2, WWN: 50000C0F01D0D7C1, vendor: WD, model:
WD4001FYYG-01SL3, S/N: WMC1F0918722, firmware level: VR07.
Jan 30 13:47:17 charon [1031]: [426] Power management state changed to Full
rpm: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16 ),
channel: 0, deviceID: 3, WWN: 50000C0F023D7B31, vendor: WD, model:
WD4001FYYG-01SL3, S/N: WMC1F0D99DRX, firmware level: VR08.
Jan 30 13:47:17 charon [1031]: [426] Power management state changed to Full
rpm: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16 ),
channel: 0, deviceID: 4, WWN: 50000C0F01DEB949, vendor: WD, model:
WD4001FYYG, S/N: WMC1F1533218, firmware level: D1R5.
Jan 30 13:47:17 charon [1031]: [426] Power management state changed to Full
rpm: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16 ),
channel: 0, deviceID: 1, WWN: 50000C0F01C85E41, vendor: WD, model:
WD4001FYYG-01SL3, S/N: WMC1F1054265, firmware level: VR02.
Jan 30 13:47:17 charon [1031]: [426] Power management state changed to Full
rpm: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16 ),
channel: 0, deviceID: 5, WWN: 50000C0F010E7B41, vendor: IBM-ESXS, model:
WD4001FYYG-23S, S/N: F0E0X2F0, firmware level: XA39.
Jan 30 13:47:17 charon [1031]: [426] Power management state changed to Full
rpm: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16 ),
channel: 0, deviceID: 6, WWN: 50000C0F0129C691, vendor: WD, model:
WD4001FYYG, S/N: WMC1F1528634, firmware level: D1R5.
Jan 30 13:47:17 charon [1031]: [426] Power management state changed to Full
rpm: controller 1 ( Adaptec ASR8885 #4D39138FB5F Physical Slot: 16 ),
channel: 0, deviceID: 7, WWN: 50000C0F01FF3D59, vendor: WD, model:
WD4001FYYG-01SL3, S/N: WMC1F0E1VFXS, firmware level: VR08.

_______________________________________________
Smartmontools-support mailing list
Smartmontools-support at listi.jpberlin.de
https://listi.jpberlin.de/mailman/listinfo/smartmontools-support



More information about the Smartmontools-support mailing list