How do I move the Plex Data folder to SSD Drive?

To move the PMS Library directory on QNAP, you have some keyboard (typing) to do.
I will write out the instructions presuming /share/CACHEDEV2_DATA/Plex is where we will move PMS to. Please edit appropriately

  1. Create the shared folder you want on the SSD. I recommend something without spaces. e.g. “Plex”
  2. Stop PMS
  3. open a SSH session.
cd /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer
tar cf - ./Library | (cd /share/CACHDEV2_DATA/Plex ; tar xf - )
mv Library Library.save
ln -s /share/CACHEDEV2_DATA/Plex/Library .

The steps above do the following

  1. get in the Plex directory
  2. Create a copy of Library on /share/CACHEDEV2_DATA/Plex/Library
  3. Rename the Library directory in this directory (get it out of the way and keep as a temporary backup )
  4. Link the new location to here where Plex expects it

When this is complete without errors, Start PMS
When you are happy with the results, you can delete Library.save with rm -rf /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library.save

Be advised, if you uninstall PMS, this will be deleted and you will need to be redone.

2 Likes