Change Plex Data Location

How Can We Help?

Change Plex Data Location

You are here:
< Back to the Wiki

Are you running a Plex server and do you want to store the Plex data in a different location? This article will explain how to change this location.

Setup

Plex can take up quite some space with storing their metadata, to mitigate this we can change the location of Plex’s data to a mount point. To do this stop Plex by running systemctl stop plexmediaserver. Move the Plex data to your mount point as shown below (do not forget to adjust it to your needs). In case you want to be safe, you can back up the folder first.

mv /var/lib/plexmediaserver/* /mnt/data

Next, create a link from the old location to the mount point using:

ln -s /mnt/data/* /var/lib/plexmediaserver/

Change the rights to the Plex user:

chown -R plex:plex /var/lib/plexmediaserver/*

Now start the Plex server by running systemctl start plexmediaserver.

Sources

Tags:

2 Responses

  1. Gale says:

    Your blog articles brighten my day like sunbeams. I value the positive energy you bring.

  2. Sanjuanita says:

    This site is an excellent resource for anyone looking for useful tips. Keep up the good work.

Leave a Reply to Sanjuanita Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents