Make HDD sleep or hibernate

Hello, I have Toshiba HDD 3TB, 7200RPM and it works 24/7 with my Rpi4 NAS server. It’s possible to make that drive sleep or hibernate at night to cool a little because it’s very hot all day and I’m afraid it will crash fast.

Regards,
Przemko

Hi,

did you checked drive manager to set the Idle Spindown option?

Hi , I see that option but I don’t understand how it work and when it will spin down my HDD for minutes I choose.

Regards.

Well, it will spin down the drive on inactivity after the time you have defined. But this will work only, if your drive is supporting it. Sometimes it was helpful to connect the HDD to a Windows computer and updated HDD firmware using vendor tool (if available). There are cases where such vendor tool offering an option to set HDD spin down times as well.

So when I set to 30 min. it will slow down my HDD and it will be sleeping until I run Emby or copy file to my nextclud server?

The system will wake up the HDD once needed. But as I said above, your HDD needs to support this feature. There is as well a note on drive manager if you are going to set the value.

Can You tell me that is support that:

/dev/sdb:

ATA device, with non-removable media
Model Number:       TOSHIBA HDWD130
Serial Number:      X9CJT9MAS
Firmware Revision:  MX6OACF0
Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0; Revision: ATA8-AST T13 Project D16
97 Revision 0b
Standards:
Used: unknown (minor revision code 0x0029)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical		max	current
cylinders	16383	16383
heads		16	16
sectors/track	63	63
--
CHS current addressable sectors:    16514064
LBA    user addressable sectors:   268435455
LBA48  user addressable sectors:  5860533168
Logical  Sector size:                   512 bytes
Physical Sector size:                  4096 bytes
Logical Sector-0 offset:                  0 bytes
device size with M = 1024*1024:     2861588 MBytes
device size with M = 1000*1000:     3000592 MBytes (3000 GB)
cache/buffer size  = unknown
Form Factor: 3.5 inch
Nominal Media Rotation Rate: 7200
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16	Current = 0
Advanced power management level: 127
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
Enabled	Supported:
*	SMART feature set
Security Mode feature set
*	Power Management feature set
*	Write cache
*	Look-ahead
*	Host Protected Area feature set
*	WRITE_BUFFER command
*	READ_BUFFER command
*	NOP cmd
*	DOWNLOAD_MICROCODE
*	Advanced Power Management feature set
Power-Up In Standby feature set
*	SET_FEATURES required to spinup after power up
SET_MAX security extension
*	48-bit Address feature set
*	Device Configuration Overlay feature set
*	Mandatory FLUSH_CACHE
*	FLUSH_CACHE_EXT
*	SMART error logging
*	SMART self-test
Media Card Pass-Through
*	General Purpose Logging feature set
*	WRITE_{DMA|MULTIPLE}_FUA_EXT
*	64-bit World wide name
*	URG for READ_STREAM[_DMA]_EXT
*	URG for WRITE_STREAM[_DMA]_EXT
*	WRITE_UNCORRECTABLE_EXT command
*	{READ,WRITE}_DMA_EXT_GPL commands
*	Segmented DOWNLOAD_MICROCODE
unknown 119[7]
*	Gen1 signaling speed (1.5Gb/s)
*	Gen2 signaling speed (3.0Gb/s)
*	Gen3 signaling speed (6.0Gb/s)
*	Native Command Queueing (NCQ)
*	Host-initiated interface power management
*	Phy event counters
*	NCQ priority information
Non-Zero buffer offsets in DMA Setup FIS
DMA Setup Auto-Activate optimization
Device-initiated interface power management
In-order data delivery
*	Software settings preservation
*	SMART Command Transport (SCT) feature set
*	SCT Write Same (AC2)
*	SCT Error Recovery Control (AC3)
*	SCT Features Control (AC4)
*	SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not	enabled
not	locked
not	frozen
not	expired: security count
not	supported: enhanced erase
468min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000039fe6f1e7b5
NAA		: 5
IEEE OUI	: 000039
Unique ID	: fe6f1e7b5
Checksum: correct
/dev/sdb:
APM_level	= 127

so I think it support that function.


Regards.