Hello!
I am having some issues with my Synology / Proxmox / Plex setup; I thought maybe someone on the Proxmox forums here may have done a similar setup with their server as well and could provide insight on where I might be configuring some of my Proxmox settings wrong.
I currently am running a Synology NAS (named "Swan"), where within Swan, "volume1/Media" hosts all my current media files (movies, TV shows, etc.). With my Synology NAS, I enabled NFS service (with maximum NFS protocol at NFSv3), and have the below setting for the Media shared folder on my NAS I want to have Plex access:
Hostname: IP Address of Proxmox
Privilege: Read-Write
Squash: Map all users to admin
Security: sys
[✓] Enable asynchronous
[✓] Allow connections from non-privileged ports
[✓] Allow users to access mounted subfolders
On my Proxmox server, I went into the Datacenter and added an NFS Storage.
ID: Swan
Server: IP Address of Swan
Export: /volume1/Media
Content: Dist image, Container, ISO image, Container template
Path/Target (listed in the row item): /mnt/pve/Swan
Shared: Yes
Enabled: Yes
Within my Plex LXC that I created, I installed nfs-common ("sudo apt-get install nfs-common -y"), and went ahead in the Options section and within Features, checked the box for NFS.
Initially, I created a mount point "sudo mkdir /mnt/plex" that I would point the mounted Media to (from my NAS to my Plex). Going to "nano /etc/fstab", I attempted to add the following lines (with 1.1.1.1 just representing, for now, my Synology NAS IP) but got different errors once I looked to do "mount -a"...
1.1.1.1: /volume1/Media /mnt/plex nfs default 0 0
The above all didn't work, so I went and tried an alternative method where I go into the shell of my Proxmox, go to "cd /etc/pve/lxc", then typed in "ls" to see all the conf files across my nodes, and then "nano 102.conf" (into my Plex node), and went ahead and added:
mp0: /mnt/pve/Swan, mp=/mnt/plex
And that worked. Upon starting my Plex server, I can see all my Media files. Huzzah!
However, here is my question/problem... Now, in my Synology NAS, within the Media folder, I am getting "template," "private," "images," and "dump" folders automatically being added to my Media shared folder, and even when I delete them, they get recreated. I would love to avoid this, and I had thought because of the way I mounted my NAS right on my node like that versus going through the fstab method, it's creating those files.
Sorry for the long post, but I wanted to provide as much detail as possible so folks can see how exactly I went ahead with this method so if there is anything I did wrong, it would be easy to troubleshoot. I really appreciate any help you can provide!
I am having some issues with my Synology / Proxmox / Plex setup; I thought maybe someone on the Proxmox forums here may have done a similar setup with their server as well and could provide insight on where I might be configuring some of my Proxmox settings wrong.
I currently am running a Synology NAS (named "Swan"), where within Swan, "volume1/Media" hosts all my current media files (movies, TV shows, etc.). With my Synology NAS, I enabled NFS service (with maximum NFS protocol at NFSv3), and have the below setting for the Media shared folder on my NAS I want to have Plex access:
Hostname: IP Address of Proxmox
Privilege: Read-Write
Squash: Map all users to admin
Security: sys
[✓] Enable asynchronous
[✓] Allow connections from non-privileged ports
[✓] Allow users to access mounted subfolders
On my Proxmox server, I went into the Datacenter and added an NFS Storage.
ID: Swan
Server: IP Address of Swan
Export: /volume1/Media
Content: Dist image, Container, ISO image, Container template
Path/Target (listed in the row item): /mnt/pve/Swan
Shared: Yes
Enabled: Yes
Within my Plex LXC that I created, I installed nfs-common ("sudo apt-get install nfs-common -y"), and went ahead in the Options section and within Features, checked the box for NFS.
Initially, I created a mount point "sudo mkdir /mnt/plex" that I would point the mounted Media to (from my NAS to my Plex). Going to "nano /etc/fstab", I attempted to add the following lines (with 1.1.1.1 just representing, for now, my Synology NAS IP) but got different errors once I looked to do "mount -a"...
1.1.1.1: /volume1/Media /mnt/plex nfs default 0 0
- mount.nfs: Connection refused
- mount.nfs: Connection refused
- mount.nfs: Connection refused
The above all didn't work, so I went and tried an alternative method where I go into the shell of my Proxmox, go to "cd /etc/pve/lxc", then typed in "ls" to see all the conf files across my nodes, and then "nano 102.conf" (into my Plex node), and went ahead and added:
mp0: /mnt/pve/Swan, mp=/mnt/plex
And that worked. Upon starting my Plex server, I can see all my Media files. Huzzah!
However, here is my question/problem... Now, in my Synology NAS, within the Media folder, I am getting "template," "private," "images," and "dump" folders automatically being added to my Media shared folder, and even when I delete them, they get recreated. I would love to avoid this, and I had thought because of the way I mounted my NAS right on my node like that versus going through the fstab method, it's creating those files.
- Is my assumption above correct? Is that is what creating those empty folders? That is what I hypothesized based on the few posts I found online, but I am not sure the way to fix it.
- If so, if I wanted to go back to the fstab method (which seems to work in every other guide I follow - I am not sure where I went wrong), what should I be doing differently, or checking? I am sort of new to Proxmox and Linux, so any detailed help would really be appreciated.
Sorry for the long post, but I wanted to provide as much detail as possible so folks can see how exactly I went ahead with this method so if there is anything I did wrong, it would be easy to troubleshoot. I really appreciate any help you can provide!
Last edited: