Skip to content
View in the app

A better way to browse. Learn more.

Unraid

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.

Is it normal that write cache leads to HDDs spin up during shutdown/sleep?

Featured Replies

I figured out that a cache flush at the shutdown/sleep process does spin up all HDDs which have write cache enabled.

 

  1. Is this normal behavior, or should write cache be always empty if the disk does spin down after 10 minutes?
  2. Do we already have a configuration to turn write cache off as a workaround? ([sdb...sde] in my case) Currently I use a sleep wake up script:
    printf /dev/sd%s\\n {b..e} | xargs -n 1 hdparm -W0

     

  3. Would it make sense to add this workaround as an optional configuration as pull request to the s3sleep plugin or is it a bug that spin up does happen for no reason even with probably empty write cache during shutdown?

Edited by Falcosc

  • Falcosc changed the title to Is it normal that write cache leads to HDDs spin up during shutdown/sleep?
  • Author

-K Flag to make it persistent doesn't work. It is a common issue that the write cache needs to be set manually with hdparm on every boot.

 

But I don't understand why it is disabled on some systems by default. I found people who want to disable it on every boot but also find people who asked how to enable it on every boot.

 

How did we solved it in unraid? And is the cache flush hdd spin up a bug or is disable cache workaround worth to integrate into the commuity plugins?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.