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.

FUSE behavior when plex movie is being read from array; but then cache disk gets a copy of the same file? Spindown and seamless transition?

Featured Replies

How does unraid's FUSE filesystem behave when:

 

* share configured as cache+array

* plex uses FUSE mount /mnt/user/movies

* user from plex plays a movie not in cache (/mnt/cache/movies not hit; /mnt/diskX/movies finds the file - spins up hdd)
 

 

1. What would happen if rsync copies the file being played in plex and suddenly /mnt/cache now has the same data logically represented in /mnt/user/movies ?

 

2. Would the FUSE mount transparently refer to /mnt/cache/movies and allow the array disk to sleep?
 

I vaguely remember reading something on reddit indicating this would be the behavior but I can't find that discussion now... asking to validate so a new feature to increase power effiency in unraid could be done in https://github.com/bexem/PlexCache/issues/20

  • Community Expert
13 hours ago, TheLinuxGuy said:

Would the FUSE mount transparently refer to /mnt/cache/movies and allow the array disk to sleep?

It should but you'd need to re-start playing it.

  • Author
4 hours ago, JorgeB said:

It should but you'd need to re-start playing it.

 

Could this be confirmed for sure?

I found a past discussion where I read that someone tested and verified with "File Activity Plugin" that actually you don't need to restart replaying anything; the FUSE picks it up without intervention.

Here is the discussions: 

 "Because of shfs mechanism accessing a file from /mnt/user will read/write fro cache if it exists, then from array. Duplicate data are not a problem and globally speed up things."

Also "Edit 13-02-2020: yes, after checking with File Activity plugin, that's the case and its plex/transmission take the file on cache as soon as it is available!"

 

 

 

  • Community Expert
28 minutes ago, TheLinuxGuy said:

you don't need to restart replaying anything; the FUSE picks it up without intervention.

Not sure, and to be honest I have some doubts, but you can test.

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.