You are not logged in.
Pages: 1
I don't find good values to spin down my HDD. With -y it works as well as with ridiculous low values like -B 32. But even a "hdparm -B 64 -S 12 /dev/sda" keeps the drive spinning. The disadvantage of -B 32 is that the drive is not up for a minute (-S 12) but stops after a few seconds.
To summarize:
hdparm -y /dev/sda: HDD stops immediately
hdparm -B 32 -S 12 /dev/sda: HDD stops after ~5s (and remains off, i.e. there is no activity which prevents spin down)
hdparm -B 32 -S 60 /dev/sda: HDD stops after ~5s
hdparm -B 64 -S 12 /dev/sda: HDD stops never
What can I do to stop the drive making noise after 1 minute?
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.10.11-1-ARCH] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF INFORMATION SECTION ===
Model Family: Western Digital Blue Mobile
Device Model: WDC WD10JPVX-60JC3T0
Serial Number: WD-WXA1AA6CU7EK
LU WWN Device Id: 5 0014ee 6b1cc69a3
Firmware Version: 01.01A01
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon May 1 20:49:34 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Power mode is: ACTIVE or IDLE
/dev/sda:
Model=WDC WD10JPVX-60JC3T0, FwRev=01.01A01, SerialNo=WD-WXA1AA6CU7EK
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7* signifies the current active mode
Last edited by Ocye (2017-05-05 12:07:22)
Offline
Did you see: https://wiki.archlinux.org/index.php/Hd … d_hardware
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Did you see: https://wiki.archlinux.org/index.php/Hd … d_hardware
Sure, but the drive spins down and I get positive feedback from the operation. Haven't tried hd-idle though.
PS: Tested with hd-idle. After removing systemd and udev with only hd-idle left, the device still spins down after a few seconds irrespective of the "-i 60" plus "*enabled=true" that I configured in conf.d/hd-idle. "hdparm -B" tells me APM_level = 64, that seems to be persistent.
Last edited by Ocye (2017-05-02 16:51:40)
Offline
What about increasing APM value by a bit (33, 34...)? Your drive might not even have implemented the timer setting as the standby timer ATA command (-S).
Last edited by tom.ty89 (2017-05-05 14:31:33)
Offline
After some tweaking I got it working without setting -S.
systemd
ExecStart=/usr/bin/hdparm -q -B 127 -y /dev/sda
conf.d
HD_IDLE_OPTS="-i 180 -l /var/log/hd-idle.log"
udev
none
Thanks for all answers.
Offline
Pages: 1