Moving your Plex server to a larger partition.
As your plex library grows, your metadata and caches will start ballooning. For those that install Plex via scripts like Quickbox, this presents a very real problem as more often than not there’s only 20-50gb or so reserved to root which won’t be enough.
Luckily, moving plex is simple.
First off, kill plex
/etc/init.d/plexmediaserver stop
or killall plexmediaserver
if you’re impatient.
Next copy your plex folder to it’s new home,
cp -rf /var/lib/plexmediaserver/Library/Application\ Support /path/to/newdir/
then move it to a new folder
mv /var/lib/plexmediaserver/Library/Application\ Support /var/lib/plexmediaserver/Library/AS
Then we symlink it to it’s new home,
ln -s /path/to/newdir/Application\ Support /var/lib/plexmediaserver/Library/Application\ Support
and chown it
chown -R plex. /var/lib/plexmediaserver/Library/Application\ Support
Start up Plex /etc/init.d/plexmediaserver start
and test it out, if everythings working as it should be you can go ahead and remove it’s old backup rm -rf /var/lib/plexmediaserver/Library/AS
.
Easy peasy, 5 minutes and you’re golden – no more 100% disks.