June 8, 20224 yr 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 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 June 8, 20224 yr by Domotics
June 8, 20224 yr 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 June 8, 20224 yr by Domotics
July 14, 20223 yr 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.