Moving Plex to different volume

Got a question about our NAS utilities? The answer lies within.
Post Reply
robj20
Posts: 5
youtube meble na wymiar Warszawa
Joined: Thu Jun 18, 2020 4:22 pm

Moving Plex to different volume

Post by robj20 »

I initially have Plex server running off Volume 1 which is 2 x 8TB Ironwolfs, i would like to move it to Volume 3 which is a 256GB SSD, the reason being Plex server is not allowing the HDDs to hibernate and they are very noisy.
My issue is i cant figure out how to move it, i have tried disabling the plex server and going into shared folders / edit and changing the Volume but it says that Plex is still accessing it.

"Unable to edit shared folder. It is being used by the following services:

1. plexmediaserver"
User avatar
Nazar78
Posts: 2085
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Moving Plex to different volume

Post by Nazar78 »

robj20 wrote:My issue is i cant figure out how to move it, i have tried disabling the plex server and going into shared folders / edit and changing the Volume but it says that Plex is still accessing it.

"Unable to edit shared folder. It is being used by the following services:

1. plexmediaserver"
You can't edit because the system detects plex's presence in your system and it's configured to use this location so changing it from here would cause issues.

Hence the existing workaround, while plex is disabled:

1. Create a new share on Volume 3 with different name say MyPlex. Give it the same access permission as the original plex's location. Then copy over the original plex files to the new location.

2. Edit this file in the ssh terminal using vi, /volume1/.@plugins/AppCentral/plexmediaserver/CONTROL/start-stop.sh change line 23 (NOTE you'll need to edit this then off/on plex from the app central every time there's a new plex version being installed):-
from:

Code: Select all

export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/volume1/Plex/Library"
to:

Code: Select all

export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/volume3/MyPlex/Library"
3. Enable back plex and verify that everything works, only then you may remove the old plex location.

Do note that plex is still running on Volume 1 and would still cause the hard disks not to sleep but less noisy during scanning. What I did in the past was to move and bind everything including the binaries to an external USB SSD so the hard disks can properly sleep after scanning/usage but that's for another question and I'm now using Jellyfin instead.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
robj20
Posts: 5
Joined: Thu Jun 18, 2020 4:22 pm

Re: Moving Plex to different volume

Post by robj20 »

Thanks, so it seems the only real way of doing it is to backup all my data to an external drive, delete everything from the NAS and start again with the SSD first as Volume 1, then the RAID 1 i have as volume 2. Would that then allow the two RAID drives to hibernate?

Or is there an easier way to re allocate volumes?
Post Reply

Return to “NAS Utilities”