Can I move /usr/lib/plexmediaserver?

I’m trying to decrease IOs in my SD card where I have my RPI 4 OS, so I have moved my Plex Library from /var/lib to my HDD and updated the service path to point there.
Is there a similar process for /usr/lib/plexmediaserver? How much of the IOs happen there?
What is the purpose of that folder? Holding the binaries?

Would a symbolic link be a good idea?

Best regards, Will

The collection of tips is here:

https://forums.plex.tv/tag/server-linux-tips

The one of interest to you is:

/usr/lib/plexmediaserver is the binaries location
/var/lib/plexmediaserver is the plex data (ie your libraries) location

the data location is the one that gets the most IO and uses the most space (dependent on the amount of content in your libraries).

for best performance, keep data on a large/dedicated ssd.

to avoid ssd write wear, you can (typically in most linux) set the transcode folder to /dev/shm (a tmpfs ram drive set to half your system ram) I’d recommend a minimum of 32gig, 64+ better, before using this.

as far as moving the binaries, I don’t think there is any ‘supported’ way, but I suppose it could be done simply enough with a symlink of /usr/lib/plexmediaserver to wherever your preferred destination is.

Thanks @TeknoJunky for mentioning.

You’re correct: There is no way to move /usr/lib/plexmediaserver (the application software) because it’s under control of the operating system. It is also read-only and only written when a new version is installed.

1 Like

Thank you guys!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.