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.

Any way to cache file modifications to stop array HDD spinup?

Featured Replies

I have nextcloud docker installed, it has it's own share Nextcloud that is set to cache -> array

 

File activity plugin is reporting:

 

** /mnt/user/Nextcloud **
Dec 15 15:20:00 OPEN => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:20:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:20:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:20:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:20:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:20:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:20:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:20:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:20:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 OPEN => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db
Dec 15 15:25:00 MODIFY => /mnt/disk1/Nextcloud/owncloud.db

 

Mover runs every day and moves from cache to array as expected.

 

Nextcloud seems to modify owncloud.db quite frequently even if not used causing array disk1 and parity to spin up.

 

It seems that any modification to a file already present on the array is done straight to array, I was hoping the modified file would be written to my cache disk (SSD) and not the array but that doesn't seem the case - any way around this please to prevent the spin-ups of disk1 and parity?

 

Edited by fireplex

Solved by itimpi

  • Community Expert

You would need to move that file to the pool

  • Author

You mean move owncloud.db to the cache disk ?

  • Community Expert

If you want to keep disk1 and parity from spinning up because of that file, yes.

  • Author

OK. Problem is mover will then move it back to array.

 

Would just be good if a modified file on the array is written to cache rather than array but guess it just doesn't work that way,

  • Community Expert
1 hour ago, fireplex said:

Problem is mover will then move it back to array.

You would need to set that share to cache=only.

  • Community Expert
  • Solution
3 hours ago, fireplex said:

Would just be good if a modified file on the array is written to cache rather than array but guess it just doesn't work that way,

Unfortunately not.   Existing files are modified in place.

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.