Plex's metadata on a network share (Advanced Tip)
Plex's metadata on a network share. (Advanced users only)
- This is NOT supported. USE AT YOUR OWN RISK
- Linux and NFS do work reliably but the degree of reliability is at your own risk subject to every involved software and hardware element involved.
- Proper operation is dependent on all layers between PMS and the actual data.
- PMS performance will decrease. The latency of the LAN is noticeable.
- ONLY use this if you cannot relocate the
Library(metadata) to another location on your local machine (see "Moving PMS's Library" tip) as a LAST RESORT
These caveats having been said,
tarto perfectly copy all the files and permissions (retaining UID/GID, and all other inode flags) to the NAS
vers=4,local_lock=posixto the mount options. This forces TCP and POSIX file locking. PMS uses POSIX locking.
Librarylocally to save that copy
- Create a new
Librarydirectory, owned by
plex:plexto mount on.
- Test the mount
- Verify NFS v4 and locking are active
mount | grep Library
- Verify you have enabled posix file locking in all layers / abstractions between PMS and the actual data
As example, the completed entry should look like:
syno:/volume1/plexdb /var/lib/plexmediaserver/Library nfs sec=sys,intr,local_lock=posix,rw,vers=4,auto,nofail 0 0
This is an advanced tip and not for novice users. Corruption and complete loss of your PMS library metadata will result if done incorrectly.
Please DISABLE Verbose logging until requested
Please search before posting
Primary support: Linux, Synology, and QNAP
Please remember to report back. This benefits others.
Hosts: Fedora, QNAP, Synology, most Linux distros in VM
No technical support via PM unless offered
Please remember to mark the appropriate answer(s) which solved your issue.