Connecting my new PR4100 with existing EX4100 to use with Plex

I have an EX 4100 that I use for Plex. Just got a new PR4100 that I want use as the main server and join with my existing EX. Is there a way to do that?

There is a way to do this, but it requires SSH and some startup scripts if you want to survive reboots.
Mount the EX as an NFS/smb share on the PR4100, e.g. to /mnt/exbox … then add a Plex entry to this location.

Hi,
Any chance you can do a step by step guide for this? I’d love to have my pr4100 as my plex server and my ex4100 run connected up to it.

Let’s assume you have a ‘movie’ share on the EX4100 with IP address 192.168.0.100 and you want to NFS mount it on the PR4100.

In the EX4100 web UI, in the shares tab, enable NFS for the movie share. Eventually configure it to be writeable if you need it… but best to leave it off when you don’t need it.

Then ssh into the PR4100.
Create a mount point for the movie share, e.g. ex_movie

mkdir -p /mnt/ex_movie

Now mount the movie share on this mount point. Any NFS exported shares are available at /nfs.

mount 192.168.0.100:/nfs/movie /mnt/ex_movie

You should have access now to your EX4100 on your PR4100. Let’s see:

ls -l /mnt/ex_movie

In Plex, add a library with this mount point.
Make sure you unmount the directory when you want to reboot either of the NAS to prevent lockups.

umount /mnt/ex_movie

If you want this to happen automatically on boot / shutdown, you could put the mount / umount commands in the start.sh / stop.sh of one the apps in /shares/Volume_1/Nas_Prog … that let’s you toggle the mount from the web UI by enabling the app. Note that Plex updates often so I wouldn’t put it there as your changes are lost on app update.

Disclaimer: do at own risk etc…

Hi Mate, i have the same configuration as you, un PR and an OLD EX4100 Raid5 (4x6TB) almost full of multimedia files.

I’m already using NFS shared folder on my 2 RaskperryPi (2 and 3B+) and the shares work great on this 2 Linux Distributions

Using your commands, once i try to mount the shared folder on my PR4100 i receive this error message.
Note that i’m using the same address used on the other 2 devices (RPi)

After i created the folder on /mnt as you suggested

root@MyCloudPR4100 root # mount 192.168.1.106:/nfs/Public /mnt/ex_movies
mount: wrong fs type, bad option, bad superblock on 192.168.1.106:/nfs/Public,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so

Actually below commands i’m using to Mount the NFS folder on RaspberryPi and it works great.

Raspberry 2
mount -t cifs -o user=XXXX,passwd=XXXXXX,rw,file_mode=0777,dir_mode=0777 //192.168.1.106/Public //home/pi/wdpublic
Raspberry 3
mount -t cifs -o username=XXXX,password=XXXXXX,uid=$(id -u),forceuid, //192.168.1.106/Public /home/pi/wdpublic

Any Idea?
Thanks

CIFS (samba) and NFS are not the same… your rpis are using CIFS, while my commands were for NFS.

On your raspberry pi, what is the output of

showmount -e 192.168.1.106

On your PR4100, maybe try this

mkdir /mnt/ex2pub
mount -t cifs -o user=XXXX,passwd=XXXXXX  //192.168.1.106/Public /mnt/ex2pub

Hi, sorry you are right… I used NFS to connect the volume via MAC. I get confused :slight_smile:

this is the output for showmount actually
pi@raspberrypi:~ $ showmount -e 192.168.1.106
Export list for 192.168.1.106:
/mnt/HD/HD_a2/Public *
/mnt/HD/HD_a2/Francy *
/mnt/HD/HD_a2/erosoft *
/mnt/HD/HD_a2/pi *

I’m trying your suggested command… i will revert back asap… Thanks

just tried now.
Same error message

root@MyCloudPR4100 root # mount -t cifs -o user=XXXX,passwd=XXXXXX //192.168.1.106/Public /mnt/ex2pub
mount: wrong fs type, bad option, bad superblock on //192.168.1.106/Public,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so


:frowning:

To add more info, i can confirm that NFS is active and configured, since it is used via MAC OSX

Okay… let’s try NFS then.
On the PR4100, do

mount -t nfs 192.168.1.106:/nfs/Public /mnt/ex2pub

The /nfs dir is a symlink to /mnt/HD/HD_a2, so both should work.

And include dmesg | tail output please.

Also check the EX2 web interface and ensure NFS export is configured for the share (in the shares tab).

Thanks, sorry i haven’t read your reply…
let me try.

Thanks

These are my try out… and the Output requested.

root@MyCloudPR4100 root # mount -t nfs 192.168.1.106:/nfs/Public /mnt/ex2pub
mount: wrong fs type, bad option, bad superblock on 192.168.1.106:/nfs/Public,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so

root@MyCloudPR4100 root # cd /mnt/ex2pub
root@MyCloudPR4100 ex2pub # ls
root@MyCloudPR4100 ex2pub # cd
root@MyCloudPR4100 root # mount -t nfs 192.168.1.106/mnt/HD/HD_a2/Public /mnt/ex2pub
mount: wrong fs type, bad option, bad superblock on 192.168.1.106/mnt/HD/HD_a2/Public,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so

root@MyCloudPR4100 root # mount -t nfs 192.168.1.106:/mnt/HD/HD_a2/Public /mnt/ex2pub
mount: wrong fs type, bad option, bad superblock on 192.168.1.106:/mnt/HD/HD_a2/Public,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so

root@MyCloudPR4100 root # dmesg | tail
[776369.167398] avconv[998]: segfault at 70 ip 00007fc17f653d9b sp 00007ffda5d0d350 error 6 in libavfilter.so.2.15.0[7fc17f642000+1c000]
[776394.101562] avconv[1246]: segfault at 70 ip 00007f058ed65d9b sp 00007fff070548c0 error 6 in libavfilter.so.2.15.0[7f058ed54000+1c000]
[776419.107263] avconv[1452]: segfault at 70 ip 00007f5c3f6afd9b sp 00007fffb7eac500 error 6 in libavfilter.so.2.15.0[7f5c3f69e000+1c000]
[776444.214318] avconv[1668]: segfault at 70 ip 00007f02f19ddd9b sp 00007ffce83a4f70 error 6 in libavfilter.so.2.15.0[7f02f19cc000+1c000]
[776469.182992] avconv[1897]: segfault at 70 ip 00007f0ff58e2d9b sp 00007fff0a8a51c0 error 6 in libavfilter.so.2.15.0[7f0ff58d1000+1c000]
[776494.146589] avconv[2075]: segfault at 70 ip 00007ff48cc55d9b sp 00007fffc6843cc0 error 6 in libavfilter.so.2.15.0[7ff48cc44000+1c000]
[776519.131044] avconv[2330]: segfault at 70 ip 00007fcc341bbd9b sp 00007ffdd0811920 error 6 in libavfilter.so.2.15.0[7fcc341aa000+1c000]
[776544.220210] avconv[2512]: segfault at 70 ip 00007f096de6bd9b sp 00007ffc8677ff80 error 6 in libavfilter.so.2.15.0[7f096de5a000+1c000]
[776569.136720] avconv[2790]: segfault at 70 ip 00007f941ba16d9b sp 00007ffcd9c5fbf0 error 6 in libavfilter.so.2.15.0[7f941ba05000+1c000]
[776585.187173] avconv[2891]: segfault at 70 ip 00007f6ffbc0bd9b sp 00007ffd89de3360 error 6 in libavfilter.so.2.15.0[7f6ffbbfa000+1c000]
root@MyCloudPR4100 root #

Just to add more info, that might be useful, these are the commands i use on the Apple Script to Mount all the NFS volume

What about this command?

Is your PR4100 healthy? What is the output of df -h

Also, please make your post readable by selecting the output and clicking the </> symbol

You will find on top of the tryouts…

root@MyCloudPR4100 root # df -h
Filesystem                Size      Used Available Use% Mounted on
mdev                      1.9G     12.0K      1.9G   0% /dev
/dev/loop0               99.6M     99.6M         0 100% /usr/local/modules
/dev/mmcblk0p6           18.4M    317.0K     16.7M   2% /usr/local/tmp_wdnas_config
tmpfs                     1.0M         0      1.0M   0% /mnt
tmpfs                    40.0M      4.0M     36.0M  10% /var/log
tmpfs                   100.0M    968.0K     99.1M   1% /tmp
/dev/sda4               928.9M      1.0M    911.9M   0% /mnt/HD_a4
/dev/sda2                 9.0T      6.5T      2.4T  73% /mnt/HD/HD_a2
cgroup                    1.9G         0      1.9G   0% /sys/fs/cgroup

Thank you for your time…
If you ever have some other idea, please let me know…

Dear ALL,
I just solved following the indication found on this post by Ckought

Hope this can help someone else.

Tfl,
Thank you for your time e patience.
see you soon.