Unable to enter a nfs share to access its contents

Greetings. I’m currently a Solus OS user, taking a look at RebornOS (KDE Plasma) in a VirtualBox VM. I have a Synology NAS, which supports both smb and nfs protols. On Reborn, I have installed nfs-utils and modified /etc/fstab to include the shares that my NAS exports via nfs.

Dolphin has no trouble listing those shares, but when I try to access the contents of any of them, I get an error saying “could not enter” that share. When I check the permissions in Dolphin, they look like this:

so it’s no wonder that Dolphin can’t access the contents.

However, if I use Dolphin to navigate to the NAS itself in Network (using smb), it can not only list its shares, but also can access their contents with no problem. Can anyone tell me why smb works fine on Reborn, but nfs does not?

On Solis, this problem does not occur, and there the permissions are “Can read and modify” for owner, group, and other. And the ownership is jerry:jerry. Since the NAS is accessible only to me, it’s not a problem that other has access as well.

Thanks to anyone who can help with this!

  1. Would you be able to share the fstab entry?
  2. Do you see any errors on running sudo mount -a?
  3. Could you share the list of mounts, using df -h?
  4. What is the output of lsmod | grep nfsd?

These are the shares that I add to /etc/fstab:

|DiskStation415:/volume1/Videos|/mnt/Videos|nfs|defaults 0 0 |
|DiskStation415:/volume1/Torrents|/mnt/Torrents|nfs|defaults 0 0 |
|DiskStation415:/volume1/SourceControl|/mnt/SourceControl|nfs|defaults 0 0|
|DiskStation415:/volume1/SourceArchives|/mnt/SourceArchives|nfs|defaults 0 0|
|DiskStation415:/volume1/Pictures|/mnt/Pictures|nfs|defaults 0 0|
|DiskStation415:/volume1/Music|/mnt/Music|nfs|defaults 0 0|
|DiskStation415:/volume1/Keys|/mnt/Keys|nfs|defaults 0 0|
|DiskStation415:/volume1/ISOs|/mnt/ISOs|nfs|defaults 0 0|
|DiskStation415:/volume1/Downloads/Linux|/mnt/Downloads/Linux|nfs|defaults 0 0|
|DiskStation415:/volume1/Documents|/mnt/Documents|nfs|defaults 0 0|
|DiskStation415:/volume1/Books|/mnt/Books|nfs|defaults 0 0|
|DiskStation415:/volume1/Backups/Linux|/mnt/Backups/Linux|nfs|defaults 0 0|

I should mention that these additions work fine in all four Solus editions, Ultramarine Budgie, and several other distros that I’ve explored.

No errors at all when I run mount -a. And I can access all of the shares and their contents from within the terminal with a simple ls command.

Results of the df -h command:

dev                                      2.0G     0  2.0G   0% /dev
run                                      2.0G  1.1M  2.0G   1% /run
/dev/sda1                                 32G  8.1G   22G  27% /
tmpfs                                    2.0G   39M  1.9G   2% /dev/shm
tmpfs                                    2.0G   11M  2.0G   1% /tmp
tmpfs                                    393M   76K  393M   1% /run/user/1000
DiskStation415:/volume1/Videos            28T   12T   16T  43% /mnt/Videos
DiskStation415:/volume1/Torrents          28T   12T   16T  43% /mnt/Torrents
DiskStation415:/volume1/SourceControl     28T   12T   16T  43% /mnt/SourceControl
DiskStation415:/volume1/SourceArchives    28T   12T   16T  43% /mnt/SourceArchives
DiskStation415:/volume1/Pictures          28T   12T   16T  43% /mnt/Pictures
DiskStation415:/volume1/Music             28T   12T   16T  43% /mnt/Music
DiskStation415:/volume1/Keys              28T   12T   16T  43% /mnt/Keys
DiskStation415:/volume1/ISOs              28T   12T   16T  43% /mnt/ISOs
DiskStation415:/volume1/Downloads/Linux   28T   12T   16T  43% /mnt/Downloads/Linux
DiskStation415:/volume1/Documents         28T   12T   16T  43% /mnt/Documents
DiskStation415:/volume1/Books             28T   12T   16T  43% /mnt/Books
DiskStation415:/volume1/Backups/Linux     28T   12T   16T  43% /mnt/Backups/Linux
[root@malachite-vm-rebornos-plasma mnt]# 

Output of lsmod | grep nfsd:
Nothing at all. It’s not found within the command results.

Thanks for your response.

Could you try sudo modprobe -v nfsd ? If it runs successfully, then check if you can access your share

In addition to trying loading the module as above, could you check the permissions of the mountpoints? Like

ls -ltrd /mnt 

ls -ltrd /mnt/Books

Yes. The result is: insmod /lib/modules/6.0.8-arch1-1/kernel/fs/nfsd/nfsd.ko.zst

And no, it didn’t make any difference in access to the share contents.

ls ltrd /mnt returns: drwxr-xr-x 14 root root 4096 Nov 15 18:32 /mnt

ls lltrd /mnt/Books returns: drwxrwxrwx 10 jerry lpadmin 12288 Sep 8 10:19 /mnt/Books

@shivanandvp, I’m not familiar with the group lpadmin, and have not seen that elsewhere. What does it represent? Normally I just see the ownership as jerry:jerry.

I considered adding my user to that group, if it’s not there already, but it occurred to me that if the owner can’t access the share, a group member probably couldn’t either.

usually 1000:1000 is the default permissions and on your pc the GID 1000 isnt your own user but its that group you have nothing to worry about add yourself to the group

sudo usermod -a -G lpadmin jerry

As I suspected:

hmm idk whats wrong with it

I was out of ideas before I first posted here. What seems really odd to me, smb has no problem accessing these. (My Synology NAS exports both smb and nfs.) If I simply navigate to the NAS (DiskStation415) in Dolphin, and enter the Books share, this is returned:

I can dig down into any of those folders and access its contents. So, this isn’t an urgent issue. If I want to fetch anything from my NAS while I’m using Reborn, I can simply do it with smb. But all of my computers are Linux, so it just doesn’t make sense to me that I’d need to use a Windows protocol for this purpose.

Thanks for your help with this.