Jump to content

Drive keeps spinning up; how to diagnose the cause?


Go to solution Solved by apandey,

Recommended Posts

It can be some open files - open files plugin can help to identify

 

It can be some file access - file activity plugin can help to identify

 

It can be something trying to list directories - this is a harder one, usually have to try and stop all docker / vm / share clients etc and start one by one to identify. If this is the cause, folder caching plugin can help to solve 

Link to comment
  • Solution
8 hours ago, HynesJeff said:

looks like nextcloud.log may be causing it... why is this written to the array and not appdata

Seems like that is nextcloud default, it logs under data directory. Odd choice

If you want, you can change the log location in config.php, I believe it is under appconfig/www/nextcloud/config

Link to comment

Thanks, I fixed it by moving it to /var/log/nextcloud and mapping that to another dir inside .../appdata/nexcloud

 

However, now it looks like that data directory contains another file that is being opened; /data/files_external/rootcerts.crt and I can't figure out how to move this. 

 

For this i raised a bug: https://github.com/linuxserver/docker-nextcloud/issues/309

Edited by HynesJeff
Link to comment
  • 1 year later...

I had the same problem, except I'm running nextcloud-aio so I'm not able to mount additional folders inside the ncdata folder.

After trying many things, the solution that seems to work is preventing the mover from moving this file to the disks from the cache. I'm using the Mover Tuning plugin to achieve this.

Steps:

  1. Stop all NextCloud containers
  2. Delete the rootcert.crt file (make a backup, just in case)
  3. Start nextcloud containers again. This will recreate the rootcert.crt file on the cache (SSD).
  4. Install and configure the Mover Tuning plugin to ignore this file when moving and leave it permanently on the cache. I used this guide to do this.

Hope this helps.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...