We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

NFS is enabled on Xperia XA2, but mount.nfs is missing?

asked 2020-03-21 19:11:52 +0200

ohnonot gravatar image

updated 2020-03-21 19:13:37 +0200

Hello, I am trying to mount an unencrypted NFS share in my local network. I tried with an app called FishNetMount, but it just keeps on spinning, no error, no mount either. If I try a manual mount I get this (as root):

# mount -t nfs 192.169.0.3:/some/path somedir
mount: /home/nemo/somedir: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.

Any sort of mount.nfs* binary does not exist in /bin, /sbin or /usr/bin.

However, NFS seems to be supported:

# cat /proc/filesystems | grep nfs 
nodev   nfs
nodev   nfs4
nodev   functionfs
# zcat /proc/config.gz | grep NETWORK_FILESYSTEMS   
CONFIG_NETWORK_FILESYSTEMS=y
# ll /proc/net/rpc/nfs
-r--r--r-- 1 root root 0 Mar 21 19:07 /proc/net/rpc/nfs
# uname -nrvm
XperiaXA2-DualSIM 4.4.189 #1 SMP PREEMPT Mon Nov 25 10:19:02 UTC 2019 aarch64

How can I mount NFS shares?

edit retag flag offensive close delete

Comments

2 Answers

Sort by » oldest newest most voted
4

answered 2020-03-22 08:19:20 +0200

Eierkopp gravatar image

updated 2020-03-22 08:19:35 +0200

On a JP1 I get

# mount -t nfs  192.168.2.3:/some/path Jolla
mount: /root/Jolla: bad option; for several filesystems (e.g. nfs, cifs) you might need 
a /sbin/mount.<type>     helper program.

But with added option addr it works:

# mount -t nfs -o nolock,addr=192.168.2.3 192.168.2.3:/some/path Jolla
edit flag offensive delete publish link more

Comments

1

That did it! Thanks.

ohnonot ( 2020-03-22 21:11:26 +0200 )edit
0

answered 2020-03-21 19:24:52 +0200

updated 2020-03-21 19:25:20 +0200

Hi, according to this, it's going to be released (soon).

edit flag offensive delete publish link more

Comments

Thanks. But as you can see in this answer, it's already enabled for XA2, and the output I provided supports that. It appears that only the mount.nfs helper program is missing...

ohnonot ( 2020-03-21 19:30:03 +0200 )edit
1

I think they enabled kernel and modules support, and now are addings missing nfsutils package. Did you try with pkcon?

magullo ( 2020-03-22 10:01:52 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2020-03-21 19:11:52 +0200

Seen: 320 times

Last updated: Mar 21 '20