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.

Disk Spin-up Problem with Cached Share

Featured Replies

I am a bit of a noob with Unraid, so I apologize if I don't describe everything correctly. My server diagnostics are here:

server02-diagnostics-20230915-1422.zip

 

I am running Unraid 6.12.3, and I'm having an issue where file access on an SMB share is causing the disks to spin-up in the array when they shouldn't. It is happening with multiple shares, but I included an example in the screenshots. The share is set to use the cache first, then move to array. But when I access it via SMB on another windows computer, it will work, but it spins up the disks when filed in the share are edited. 

01_share-settings.thumb.png.c379c9dc71de8351694ca77cce3118e8.png

02_file-activity.thumb.png.5122f318fe67425dedb77f00c274fd5b.png

03_syslog-disk-spunup.png.298a3636816a4994dbf7e21f98a8b7d8.png

04_disk-configuration.png.b613e6962605e96967a7f53f6e96ebe1.png

 

I cannot figure out why the disks are being spun up here. When I check the files on the disk itself, they are not modified. It still contains the old version, as mover has not yet been run. The modification is present in the cache drive as expected.

 

Is there any way to change this so the disks stop being spun up? I thought that the share being cache first would mean that all activity would happen on the cache drives, and never touch the array until mover is called. So far this is negating a lot of power reduction I am trying to accomplish by spinning down disks. This happens for other shares as well, including, very annoyingly, my backup share where I have windows file history backups, set up following SpaceInvaderOne's video. This means that almost when I do anything on my desktop, it will inevitably spin up the relevant disk and parity disk.

  • Community Expert

Did you edit these diagnostics? The syslog lines you obscured do not appear in them, but the screenshot shows the files on disk2

  • Author

Ah no, I didn't edit them, but I made the diagnostic log a little while after I made the screenshots of the syslog. 

And yeah, I don't understand why it shows on disk2. When I browse into disk2, it does not show the files having been updated. That only shows when I browse to the cache. But yeah, the File Activity log shows that disk2 was accessed. I cannot understand why though.

  • Author

Also, those lines in the screenshot with file names are not syslog, they are from the File Activity plugin. I have been using that to try to debug what is causing the disk spinup

  • Community Expert

Your diagnostics agrees that disk2 has files for that share.

  • Author

Thanks for the help! Disk2 does indeed have files in that share. I think what I didn't understand is that it must read the disk when anything in that share is accessed or modified, regardless of whether it currently exists on the cache drive or not.

 

In the end, I was able to "fix" it a bit by disbaling file history in windows, and reverting back to using only veeam for backup. I tried the "folder caching" plugin, but the default without user shares didnt fix it. User shares included did fix the spin up problem, but led to much higher CPU usage that more than negated all the power gains from sinning down disks because it could never sleep. So, for now I guess I consider this solved for me. 

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.