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.

[Guide] How to keep cache drive full of media

Featured Replies

On 5/22/2024 at 2:29 PM, trurl said:

You definitely don't want to try to move anything from /mnt/user0 to /mnt/user. That would almost certainly result in lost data.

On 5/22/2024 at 4:07 PM, Samsonight said:

could you explain in detail why/how "That would almost certainly result in lost data". Preferrably citing documentation. Just to avoid obscure fud and misunderstandings like this

Sorry I missed this all those months ago. I will answer it now just in case it is still relevant or someone stumbles on it.

 

/mnt/user is files on pools and on array. /mnt/user0 is only files on array. So, certain references to a file in /mnt/user could also be a reference to a file in /mnt/user0 and vice-versa.

 

Linux sees these as different mount points, and doesn't know that they might actually be referencing the same file. So, if you try to copy or move a file between /mnt/user and /mnt/user0, Linux might try to overwrite the file with itself. This causes it to first create a new empty file to write into, and then copy the data there, but at that point, the file has been made empty.

 

This is often referred to as the User Share Copy Bug, and usually comes up when discussing moving/copying between disks and user shares. Same thing happens there. Linux doesn't know that the references to disk files may be the same file as references to user share files.

 

See the ⚠️ CAUTION paragraph at this link in the documentation:

https://docs.unraid.net/unraid-os/manual/shares/user-shares/

 

Also, (part of a discussion that resulted in Dynamix File Manager)

 

 

  • Replies 77
  • Views 17.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Thanks for this! I created a hybrid of @Terebi and @ronia script, and then added an additional variable to append the contents of a static ignore file to dynamically generated one. Why? Just to keep e

  • @Scheev @flyize @Mamaun @dopeytree @Swarles @mrpops2ko @ItsRaining

  • Thanks! I'm in the process of implementing similar functionality in the plugin and also fix some bugs. It might be some time though so for the time being I think this is an excellent solution for thos

Posted Images

3 hours ago, flyize said:

Where are you finding these settings? I think I have the right Mover Tuner plugin installed, but don't see this.

 

edit: Oh, it seems I had to uninstall/reinstall the plugin. Weird.

Glad you got it figured out.  It's working well for me to keep current media on the cache. 

On 1/12/2025 at 11:16 PM, danimal86 said:

So i just made the jump to Unraid 7, i'm having a hard time finding the Auto-Age Threshold moving in Mover Tuning plugin.  Maybe i'm looking past it.  

 

I see there's a Mover Tuning from Squid and Reynald's.  Not sure which one or both have it. 

 

Edit: So on Reynalds, i'm trying this settings which seem to work
image.thumb.png.889b90ea01bc0cb4b83899d2b27d02b8.png

Would have been perfect if the plugin could specify file extensions like this script does too.

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.