You are not logged in.

#1 2025-10-07 17:03:37

jjanderson5
Member
Registered: 2016-05-10
Posts: 156

NFS fails when mounting a server filesystem on a client

I am running BunsenLabs GNU/Linux 12 (Boron) on both my
server and client.

When I run the following command with root permissions:

    mount -t nfs myServer:/mnt/myData /mnt/myData

The response is:

    mount.nfs: Connection refused

I then tried to get more information by running:

    mount -vvv -t nfs myServer:/mnt/myData /mnt/myData >& mountLog.txt

I was going to attach the mountLog.txt file, but I don't see a button
to attach the file. I can make it available, if needed. Lines from that
log that may be useful are:

    mount.nfs: portmap query retrying: RPC: Program not registered
    mount.nfs: portmap query failed: RPC: Program not registered
    mount.nfs: Connection refused

Those lines are repeated numerous times in the mountLog.txt file.


The IP address of 'myServer' is properly listed in the /etc/hosts
file on my client and the client is correctly entered in the
/etc/hosts file on the server.

I have a current version of nfs installed on both the client and server.

When I look at the journalctl information, the only recent data shown is:

    ...
    Oct 07 11:31:12 clientHost systemd[1]: anacron.service: Deactivated successfully.
    Oct 07 11:51:02 clientHost su[86986]: (to root) jja on pts/39
    Oct 07 11:51:02 clientHost su[86986]: pam_unix(su:session): session opened for user root(uid=0) by (uid=1000)

I do not see any NFS information or errors. Note the mount command
was run at 11:51 on Oct 7th.

Can anyone help with suggestions on what I should look at to find out why
my client is being refused?

Thanks for looking at this!

Jim A.

Offline

Board footer

Powered by FluxBB