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.

Spin down disks when no activity

Featured Replies

Hi There,

 

Hope everyone is doing well.

 

This is not really an issue but i am trying to do some optimisation to my unraid setup by spinning down the disks when there is no activity. i have found couple of applications prevent this happening. I have tried with `File activity` & `open files ` plugins but i couldn't find anything that is directly accessing disk3 (in the case of cctv).

 

1. Nextcloud

 

For nextcloud, i have share setup with no cache enabled. it seems there is a log file `nextcloud.log` having some activities very frequently and this is preventing the disk spin down. if i keep the nextcloud container stopped for a while this disk spins down after the time out i set. I have seen another post with this discussion but unable to fix this with the methods mentioned on that post.

2. Windows VM with Blue Iris

I have a Windows 10 VM running with Blue Iris and it has the recordings saved to a share named `cctv`. This share has the cache enabled and this share has only one disk included. I checked the files on the disk and i can't find anything that was modified after the last mover run. if i keep this VM shut for a while, the disks would spin down after the time out. I can see the write and read counter increases on the disk but not sure what is causing it.

 

below logs you will see frigate in the file names thats because i have frigate as well. but i am still using Blue Iris as my frigate is not stable yet and I am trying fix it so i can completly remove the need of Blue Iris. And i stopped Frigate container as well to ensure that is not the culprit.

 

the last file modification was around 4.35 AM which is just before the mover finsihed running.

 

root@Fusion:/mnt/disk3# find . -type f -printf "%t - %p\n" | sort -n | tail -10
Wed Jun  8 04:35:09.0360880340 2022 - ./cctv/frigate/recordings/2022-06/08/04/parking/34.57.mp4
Wed Jun  8 04:35:13.8880906960 2022 - ./cctv/frigate/recordings/2022-06/08/04/front/34.59.mp4
Wed Jun  8 04:35:13.9640907370 2022 - ./cctv/frigate/recordings/2022-06/08/04/patio/34.59.mp4
Wed Jun  8 04:35:19.0260935130 2022 - ./cctv/frigate/recordings/2022-06/08/04/parking/35.07.mp4
Wed Jun  8 04:35:23.8880961790 2022 - ./cctv/frigate/recordings/2022-06/08/04/front/35.09.mp4
Wed Jun  8 04:35:24.0620962740 2022 - ./cctv/frigate/recordings/2022-06/08/04/patio/35.09.mp4
Wed Jun  8 04:35:33.8891016600 2022 - ./cctv/frigate/recordings/2022-06/08/04/front/35.19.mp4
Wed Jun  8 04:35:34.0731017600 2022 - ./cctv/frigate/recordings/2022-06/08/04/patio/35.19.mp4
Wed Jun  8 04:35:44.8341076530 2022 - ./cctv/frigate/recordings/2022-06/08/04/patio/35.29.mp4
Wed Jun  8 04:35:54.0301126860 2022 - ./cctv/frigate/recordings/2022-06/08/04/patio/35.39.mp4


 

 

347385051_Screenshot2022-06-08at16_16_54.thumb.png.a39d5f7b72b359473785c1c1adbcb7d0.png

1096343202_Screenshot2022-06-08at17_50_00.thumb.png.99c55da3ec653f0ae9e3d68eb83a1c7e.png

 

1393131896_Screenshot2022-06-08at17_51_44.thumb.png.5f4d3cbce61d039e5ae2e0eb16e4d8e4.png

 

 

Anyone else had simialr issues ? can you point to how you fixed it ?

 

Also attached the diagnostics, not sure if that will be helpful in anyway.

 

Thanks

 


 

fusion-diagnostics-20220608-1829.zip

Edited by Domotics

  • Author

I think my nextcloud issue is solved by adding these two lines to the config.php

'logfile' => '/ext_logs/nextcloud_logs/nextcloud.log',
'logfile_audit' => '/ext_logs/nextcloud_logs/audit.log',

 

More details on it here and here

Edited by Domotics

  • 1 month later...
  • Author

I have narrowed it down to windows VM running BlueIris, has anyone managed to solve this disk activity problem?

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.