NitroDesign
Cadet
- Joined
- Aug 11, 2019
- Messages
- 4
Hello,
I'm new to this forum and to Freenas :).
I have a question about mapping a share from my Synology to my Freenas Plex jail.
First of all, here is my gear:
Synology NAS (192.168.2.2)
DS414+
4x 2TB HDD WD Red
Freenas (Plex jail 192.168.2.11)
I5 4e gen (don't know which one)
16GB DDR3
1GB ethernetcard
1x SSD Freenas boot
3x 500GB HDD
It is necessary that you activate on the Synology the NFS permissions and the NFS service.
So I have followed this link: Synology NFS
In the control panel (Synology) I have activate the NFS with:
Enable NFS --> And for sure also the Enable NFSv4 support
I have se the NFS permissions on:
Hostname/ip: 192.168.2.11
Privilege : read/write
Squash: No mapping
Security: sys (AUTH_SYS) (this option is not showing in the link above)
Checked: Asynchronous and Allowed non-privileged port
The next step is to look what the mounting path is, this is: /volume1/video
My guess is that I configured all in the Synology.
On my Freenas I have installed in a jail the Plex plugin.
Also added a map in the mnt folder named "remoteshare".
When I open the jail shell I use the following code:
When I add the NFS permissions, I get the following output:
root@plex:~ # mount -t nfs 192.168.2.2:/volume1/video /mnt/remoteshare
mount_nfs: nmount: /mnt/remoteshare: Operation not permitted
root@plex:~ #
When I remove the NFS permission, I get the following output:
root@plex:~ # mount -t nfs 192.168.2.2:/volume1/video /mnt/remoteshare
[tcp] 192.168.2.2:/volume1/video: Permission denied
Also find on the internet that I maybe need to add some lines to the rc.conf.
To try I have added the following rules:
To try some more I have did port forwarding the NFS
UDP&TCP: 111, 892, 2049
But no luck
When I check the /var/log "userlog" I get the following output:
[root:groupadd] plex(972)
[root:useradd] plex(972): plex(972): Plex Media Server:/nonexistent:/usr/sbin/nologin
[root:groupadd] _tss(601)
[root:useradd] _tss(601):_tss(601):TrouSerS user:/var/empty:/usr/sbin/nologin
So I think it is a rights question, but I don't where to look now.
Some people talk about UID and GID, but I don't know what that is or how to use it.
Hopefully you can help me with this problem.
Grtz,
NitroDesign
I'm new to this forum and to Freenas :).
I have a question about mapping a share from my Synology to my Freenas Plex jail.
First of all, here is my gear:
Synology NAS (192.168.2.2)
DS414+
4x 2TB HDD WD Red
Freenas (Plex jail 192.168.2.11)
I5 4e gen (don't know which one)
16GB DDR3
1GB ethernetcard
1x SSD Freenas boot
3x 500GB HDD
It is necessary that you activate on the Synology the NFS permissions and the NFS service.
So I have followed this link: Synology NFS
In the control panel (Synology) I have activate the NFS with:
Enable NFS --> And for sure also the Enable NFSv4 support
I have se the NFS permissions on:
Hostname/ip: 192.168.2.11
Privilege : read/write
Squash: No mapping
Security: sys (AUTH_SYS) (this option is not showing in the link above)
Checked: Asynchronous and Allowed non-privileged port
The next step is to look what the mounting path is, this is: /volume1/video
My guess is that I configured all in the Synology.
On my Freenas I have installed in a jail the Plex plugin.
Also added a map in the mnt folder named "remoteshare".
When I open the jail shell I use the following code:
Code:
mount -t nfs 192.168.2.2:/volume1/video /mnt/remoteshare
When I add the NFS permissions, I get the following output:
root@plex:~ # mount -t nfs 192.168.2.2:/volume1/video /mnt/remoteshare
mount_nfs: nmount: /mnt/remoteshare: Operation not permitted
root@plex:~ #
When I remove the NFS permission, I get the following output:
root@plex:~ # mount -t nfs 192.168.2.2:/volume1/video /mnt/remoteshare
[tcp] 192.168.2.2:/volume1/video: Permission denied
Also find on the internet that I maybe need to add some lines to the rc.conf.
To try I have added the following rules:
Code:
nfs_client_enable="YES" nfs_client_flags=n 4 mountd_enable="YES" unfsd_enable="YES"
To try some more I have did port forwarding the NFS
UDP&TCP: 111, 892, 2049
But no luck
When I check the /var/log "userlog" I get the following output:
[root:groupadd] plex(972)
[root:useradd] plex(972): plex(972): Plex Media Server:/nonexistent:/usr/sbin/nologin
[root:groupadd] _tss(601)
[root:useradd] _tss(601):_tss(601):TrouSerS user:/var/empty:/usr/sbin/nologin
So I think it is a rights question, but I don't where to look now.
Some people talk about UID and GID, but I don't know what that is or how to use it.
Hopefully you can help me with this problem.
Grtz,
NitroDesign