qnap/share/cartoons /nas/cartoons cifs auto,defaults,nofail,credentials=/etc/plex.cred,uid=plex 0 0 syno/volume2/tv /nas/tv cifs auto,defaults,nofail,credentials=/etc/plex.cred,uid=plex 0 0 syno/volume1/children /nas/children cifs auto,defaults,nofail,credentials=/etc/plex.cred,uid=plex 0 0 qnap/share/movies2 /nas/movies2 cifs auto,defaults,nofail,credentials=/etc/plex.cred,uid=plex 0 0 syno/volume1/movies /nas/movies cifs auto,defaults,nofail,credentials=/etc/plex.cred,uid=plex 0 0 You may always use hostname or IP address interchangeably as long as there is a definitive resolution. If you have defined the hosts syno and qnap in /etc/hosts, you may use their names here otherwise use their IP addresses. These will require testing and possible adjustment for your NAS and configuration. etc/fstab has the following entries added to it. In the end, Plex will complete the blending into a single library if so desired. You will notice the two nas units are seamlessly blended together here. The example systems are a twin volume Synology DiskStation and a single volume QNAP system The photos library will be mounted Read-only to prevent accidental deletion by anyone. In this example, Synology’s and QNAP’s conventions will be shown. Please follow the documentation for your NAS. Create the entries to mount the NAS shares at their target locations.Įach nas vendor has a different pathname conventions. Mkdir /nas /nas/movies /nas/movies2 /nas/children /nas/tv /nas/cartoons /nas/photos /nas/musicĭ. To create this, we simply supply the Linux commands to create the structure and supply the basic permissions to those directories: sudo sh It usually makes the most sense to create a structure which mirrors your NAS’s shares Create the Mount Point directory structure Using any text editor, create /etc/plex.cred with the following content username=plexĭomain=CIFS/SMB domain (this is only required if the CIFS/SMB server requires it)Ĭ. Create the credentials file to pass to the CIFS / SMB server during mountĬreate a file to hold the username and password to use. “Read-write” for your username, and Read-only for plexī. “Read-only” to your LAN (all hosts) for all usernames -or-Ģb.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |