Mounting remote fs on gargoyle with nfs

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
agrohe21
Posts: 95
Joined: Wed Aug 23, 2017 7:51 pm

Mounting remote fs on gargoyle with nfs

Post by agrohe21 »

I am unable to mount a remote fs on gargoyle using nfs. Should this be possible? what am I missing?

mount.nfs4 10.0.0.122:/volume2/gargoyle_nfs /root/myfolder -w

the remote fs is on a synology NAS with shared mount
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

agrohe21
Posts: 95
Joined: Wed Aug 23, 2017 7:51 pm

Re: Mounting remote fs on gargoyle with nfs

Post by agrohe21 »

As a workaround I used scp to copy to the remote server without mounting but would be easier to mount locally.

As an aside, when you run scp interatively, it will add the host to /root/.ssh/known_hosts but when you run it in a service, you have to put it in /.ssh/known_hosts.
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Mounting remote fs on gargoyle with nfs

Post by Lantis »

Code: Select all

root@Gargoyle:~# opkg list-installed | grep nfs
kmod-fs-nfs - 4.14.195-1-5daa1b6c3f8426e6c189a39e865285bb
kmod-fs-nfs-common - 4.14.195-1-5daa1b6c3f8426e6c189a39e865285bb
kmod-fs-nfs-common-rpcsec - 4.14.195-1-5daa1b6c3f8426e6c189a39e865285bb
kmod-fs-nfs-v4 - 4.14.195-1-5daa1b6c3f8426e6c189a39e865285bb
kmod-fs-nfsd - 4.14.195-1-5daa1b6c3f8426e6c189a39e865285bb
nfs-kernel-server - 2.3.4-2
nfs-kernel-server-utils - 2.3.4-2
nfs-utils - 2.3.4-2
nfs-utils-libs - 2.3.4-2
Note that we only have support for nfsv4.
So on Synology make sure NFSv4 is enabled.

Then

Code: Select all

root@Gargoyle:~# mount.nfs NASIPADDRESS:/share/path /tmp/mountpoint -o nolock -v
If your synology won't do NFSv4, you'll need to install v3 support, which may be difficult as it is a kernel module and you may need to build yourself.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply