Greetings.
I’ve got one nasty problem with smart(d).
I want to leave two of my HHD’s spun down (in sleep mode) until I need them, mainly for reasons of data security and acoustics.
For this I use
hdparm -Y /dev/sdx
where x is b and c.
this works pretty well for the sdb drive, which is a Samsung HDD. Althgough I’ve got smartd running and SMART enabled in BIOS this drive (sdb) refuses to accept it.
Because of this refusal the HDD remains in sleep-mode until needed.
If I do the same for my sdc HDD (Seagate ST3500320AS) after some time the drive will go into active/idle mode again, thus spinning up.
I’ve traced this with btrace to the following: (*)
8,32 1 0 0.000000000 0 m N cfq30S / put_queue
8,32 0 0 164.349468222 0 m N cfq5861S / put_queue
8,32 0 1 807.528579173 3648 G N [smartd]
8,32 0 2 807.528580490 3648 I N 0 (85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00 ..) [smartd]
8,32 0 3 807.528581521 3648 D N 0 (85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00 ..) [smartd]
Seeing as this seems a SMART issue I have tried to deactivate SMART by using
smartctl -s off /dev/sdc
smartctl --smart=off --offlineauto=off --saveauto=off /dev/sdc
By smartctl doc this should disable smart, and it does:
LinDevNV:~ # smartctl --all /dev/sdc
smartctl 5.40 2010-10-16 r3189 [x86_64-unknown-linux-gnu] (SUSE RPM)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.11 family
Device Model: ST3500320AS
Serial Number: 9QM28X8L
Firmware Version: SD1A
User Capacity: 500,107,862,016 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Tue Nov 8 11:28:55 2011 CET
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
SMART Disabled. Use option -s with argument 'on' to enable it.
Alas, it seems this doesn’t do jack - as I still get the results from (*).
Does anybody have any idea how I could prevent this access?