Jump to content

Installed Plex, now lots of disk clonking... is this normal with no SSD cache? - UPDATE: Cache added, please help me move Plex to SSD


Recommended Posts

Hi All

 

Unraid noob, ive set eveything up and all is working fine. On Friday evening i installed plex into unraid, and it went about adding movies and TV shows to the library.

 

The HDDs have been clonking away ever since. If i log into plex from my PC, it shows no activity there. 

 

Using "Disk Activity" i see no share or disk activity, that isnt me.

Using "Open Files" i see:

shfs has 49 Plex related files open

dockerd has 6 files open

A bunch of things all have "working directory" open 

"Plex Media serv" also has 49 files open.

 

I'm not using an SSD yet, but it is my plan to (and perhaps i should have done this first) but is the plex server running thats causing the disks to clonk away and not spin down?

 

If thats not it, any other ideas?

 

Thanks  

Edited by champ222
Link to comment

Typical Plex Appdata will have thousands and thousands of files contained within it.  

 

IMO, a cache pool is required to run containers.  If only because of performance issues when appdata and the docker image is on a parity protected array.

 

You can use mover to move appdata to the future cache pool, or appdata backup / restore to do it also (it should wind up being faster)

Link to comment
  • 2 months later...

Ok, i'm now trying to set this up.

 

Ive added my SSD. Ive added as a cache pool ive set Appdata and System to be on the Cache drive. 

 

unraid1.thumb.png.0a2fddc26499beee06b68db1c8813baf.png

 

If i "compute":

unraid2.thumb.png.83729d58ce184aa18cf599cb68e5f0ed.png

 

Are the file still on the Array and not the cache?

 

I went to the main screen and click "Move" but nothing happened. the screen updates, but nothing seems to change.

 

What am i doing wrong?

 

Thanks guys

Link to comment
  • champ222 changed the title to Installed Plex, now lots of disk clonking... is this normal with no SSD cache? - UPDATE: Cache added, please help me move Plex to SSD

Well obviously your right, but could you help me? what do i need to do? Ive searched on here/google etc and the suggestions got me this far.

 

Changing where something should be stored and clicking "Move" doesnt seem so illogical to me, clearly Unraid is different, but why?

Link to comment
On 11/4/2023 at 8:31 PM, Squid said:

IMO, a cache pool is required to run containers.  If only because of performance issues when appdata and the docker image is on a parity protected array.

And array disks can't spin down since these files are always open.

 

Nothing can move open files. Disable Docker and VM Manager in Settings and leave them disabled until you get everything moved.

 

As noted, mover ignores any share where there is no Mover action specified. You must specify Secondary storage: array so you can set Mover action to array->cache. You need to do this for appdata, domains, and system shares.

 

Then you can run mover.

 

Mover won't replace files, so if a file exists in both places, you will have to decide which to keep.

 

Dynamix File Manager plugin will let you work with files directly on the server, but Mover with the correct settings for these shares should be able to do most of the work.

Link to comment

Ahhhhhh, now i see. ok cool. mover is now doing its thing.

 

So once the mover has completed. I'll have the stuff in the cache, AND the Array at the same time? 

 

At that stage, do i then set appdata, domains, and system shares to Cache only?

 

Thanks, i appreciate the help

Link to comment
9 minutes ago, champ222 said:

So once the mover has completed. I'll have the stuff in the cache, AND the Array at the same time? 

No. The whole point is to get these shares off the array.

 

After mover completes post new diagnostics so we can see if there is more to be done before enabling Docker and VM Manager.

Link to comment

Mover moves the files (if it can) so they will no longer be where they were.

 

Diagnostics looks good, all files for those shares are on cache now. You can make them cache-only if you want just make sure you don't let your cache get too full.

 

You can enable Docker and VM Manager again.

 

 

Link to comment

You already showed you know how to use the Compute... feature on the User Shares page.

 

Also, in your diagnostics, in shares/shares.txt

appdata                           shareUseCache="prefer"  # Share exists on cache
B-----s                           shareUseCache="no"      # Share exists on disk1
C-----t                           shareUseCache="no"      # Share exists on disk2
domains                           shareUseCache="prefer"  # Share exists on cache
isos                              shareUseCache="prefer"  # Share exists on cache
M---a                             shareUseCache="no"      # Share exists on disk1, disk2
M----s                            shareUseCache="no"      # Share exists on disk1
system                            shareUseCache="prefer"  # Share exists on cache
T------s                          shareUseCache="no"      # Share exists on disk1, disk2

so appdata, domains, and system shares have files on cache and no files on any array disk.

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