NFS on USB drive hangs since Turris OS 6.0

Since the switch to Turris OS 6.0, the NFS on the USB drive connected to Turris 1.0 hangs.

I have external drive connected to USB and mounted to /mnt/my_drive. I can see it’s contents from turris shell.
The current NFS setup /etc/exports:

/mnt    192.168.1.0/255.255.255.0(ro,subtree_check,insecure,crossmnt)

I also created a test file /mnt/nfs-test.

I mount the NFS as

sudo mount 192.168.1.1:/mnt /media/turris/

I can see the file /media/turris/nfs-test and an empty directory /media/turris/my_drive. But when I try to access the /media/turris/my_drive all commands, e.g. ls /media/turris/my_drive hang. I found nothing in any log file.

It definitely worked before the upgrade. I tried several options to set up, but with no success. I also couldn’t quite anything useful to debug the problem.

Maybe you should try mounting as


# mount -F nfs [-o mount-options] server:/directory /mount-point

Do you have any particular options in mind?

I might have a similar issue after update to 6.0. Could you try mounting as NFSv3?

sudo mount -t nfs -o vers=3 192.168.1.1:/mnt /media/turris/

also verbose output from the mount command might help debugging:

sudo mount -v 192.168.1.1:/mnt /media/turris/

No luck. verbose doesn’t print anything useful. Forcing NFSv3 doesn’t change the behavior. I tried also -o retry=1, but it seems to have no effect either.

It works now. No idea why, but I found

 • Updated package kmod-fs-nfs-common from version 5.10.148-1-42186e8efb70da7a8430b969416854a2 to version 5.10.154-1-42186e8efb70da7a8430b969416854a2
 • Updated package kmod-fs-nfs from version 5.10.148-1-42186e8efb70da7a8430b969416854a2 to version 5.10.154-1-42186e8efb70da7a8430b969416854a2
 • Updated package kmod-fs-nfs-common-rpcsec from version 5.10.148-1-42186e8efb70da7a8430b969416854a2 to version 5.10.154-1-42186e8efb70da7a8430b969416854a2
 • Updated package kmod-fs-nfsd from version 5.10.148-1-42186e8efb70da7a8430b969416854a2 to version 5.10.154-1-42186e8efb70da7a8430b969416854a2
 • Updated package kmod-fs-nfs-v4 from version 5.10.148-1-42186e8efb70da7a8430b969416854a2 to version 5.10.154-1-42186e8efb70da7a8430b969416854a2

in update notifications, so it may be fixed by the new versions.

For me it’s still broken with an Omnia 2020. It seems to be this issue:

I had to install the package from 5.4.4 to get it to work:

wget https://repo.turris.cz/archive/5.4.4/omnia/packages/packages/nfs-kernel-server_2.3.4-3_arm_cortex-a9_vfpv3-d16.ipk
opkg install ./nfs-kernel-server_2.3.4-3_arm_cortex-a9_vfpv3-d16.ipk

For me, it was working sometimes. In the end I switched to samba instead.

Is there a way to ‘hold on’ to an old package version so that updates do not upgrade it?

Read /etc/updater/conf.d/example.lua

1 Like

Thanks! Seems this did the trick:

Install("nfs-kernel-server", { version="=2.3.4-3", priority = 60 })