Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Disk power management & sleep settings?

Featured Replies

Can you guys share your experience with disk sleep on the Helios64 + Armbian.

In my case I haven't seen the disks sleep - they are always spinning (or so they seem) and never on standby.

I have a standalone /dev/sda and a RAID5 array with disks /dev/sd[b-e] (created with mdadm) - and XFS formatted logical volumes on top of these.

 

  • 'iotop' says that nothing is accessing the disks:

iotop.png.950a099f53840006d7c4f3d4fd09b09a.png

  • 'hdparm -B /dev/sd[a-z]' after each reboot is always:
sudo hdparm -B /dev/sd[a-e]

/dev/sda:
 APM_level	= 254

/dev/sdb:
 APM_level	= off

/dev/sdc:
 APM_level	= off

/dev/sdd:
 APM_level	= off

/dev/sde:
 APM_level	= off
  • 'hdparm -C /dev/sd[a-z]' is always:
$ sudo hdparm -B /dev/sd[a-e]

/dev/sda:
 APM_level	= 254

/dev/sdb:
 APM_level	= off

/dev/sdc:
 APM_level	= off

/dev/sdd:
 APM_level	= off

/dev/sde:
 APM_level	= off
  • Added a rule to set power management parameters and it seems to be ignored
$ cat /etc/udev/rules.d/99-hdd-pwm.rules
ACTION=="add|change", KERNEL=="sd[a-z]", ATTRS{queue/rotational}=="1", RUN+="/usr/bin/hdparm -B 63 -S 120 /dev/%k"

 

I think Toshiba the APM settings are volatile, so yes you need something to set it up at every startup.

 

hdparm path is on Debian : /usr/sbin/hdparm

 

 

 

I send my  disks to sleep with the following hdparm.service script:

 

# cat /etc/systemd/system/hdparm.service
[Unit]
Description=hdparm sleep

[Service]
Type=oneshot
ExecStart=/usr/sbin/hdparm -q -S 60 -y /dev/sda
ExecStart=/usr/sbin/hdparm -q -S 60 -y /dev/sdb
ExecStart=/usr/sbin/hdparm -q -S 60 -y /dev/sdc
ExecStart=/usr/sbin/hdparm -q -S 60 -y /dev/sdd
ExecStart=/usr/sbin/hdparm -q -S 60 -y /dev/sde

[Install]
WantedBy=multi-user.target

 

@privilegejunkie what specific model? My guess is that the answer is no, though. That's a relatively old article and the WD utility mentioned there only applies to old Red drives that are 4TB and below. For WD drives that support IDLE3, you can try to use idle3ctl (apt install idle3-tools) to manage their idle setting. I've turned idle3 off on all my drives because they're usually idle for, at most 5 minutes leading to constant sleep/wake.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.