Reply To: APP: Plex Media Server

Home Forums Operating Systems Linux APP: Plex Media Server Reply To: APP: Plex Media Server

#944
Voodoo
Keymaster

Stop the Plex Media Server Service:
sudo systemctl stop plexmediaserver

Mount the Media Drive (I mount it to /mnt/Media). I use the entry in fstab
sudo mkdir /mnt/Media
sudo chown -R plex:plex /mnt/Media
sudo xed /etc/fstab

# 12TB_WD Media
UUID=0a878463-f0e7-4c7a-b4cd-ecafd127d406 /mnt/Media xfs noatime,rw,x-gvfs-show 0 0

Now close the fstab and mount the drive:
sudo mount -a

Move the Plex Media Folder from original location “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server” to the Media drive “/mnt/Media/Plex Media Server”. If you do this by terminal, the command will be:
mv -i "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server" "/mnt/Media/Plex Media Server"

Again, take control of the folder:
sudo chown -R plex:plex /mnt/Media

Now set a link from the original to point to your new location:
ln -s "/mnt/Media/Plex Media Server" "/var/lib/plexmediaserver/Library/Application Support"

Start your Plex Media Service again:
sudo systemctl start plexmediaserver

Set RamDisk for Plex Transcoding:
sudo mkdir /mnt/RamDisk
sudo chown -R plex:plex /mnt/RamDisk
sudo xed /etc/fstab


# 8GB RamDisk for Plex Transcoding. Change X in ,size=XG, for the size you like
RamDisk  /mnt/RamDisk  tmpfs  defaults,size=8G,x-gvfs-show  0  0

Now close the fstab and mount the drive:
sudo mount -a

  • This reply was modified 3 weeks, 6 days ago by Voodoo.
Skip to toolbar