@george1421 said in Mounting failed, connection refused:
@faresalandlos Well at this point I don’t think its a firewall issue, but to answer your question for ubuntu this is the command to disable the firewall sudo ufw disable
So what do I think:
You need to understand why nfs is not starting on that system.
your exports are right and once nfs is running the when you run the showmount command you should see what is posted in the /etc/exports file. The exports file is configured correctly.
Your /images/dev directory is not complete. You are missing the post init scripts directory.
Your directory should look like this:
[root@sonic ~]# ls -la /images/dev
total 428
drwxrwxrwx 5 fog fog 4096 Jun 24 13:11 .
drwxrwxrwx 18 fog root 4096 May 28 11:11 ..
-rwxrwxrwx 1 fog fog 0 Mar 16 2016 .mntcheck
drwxrwxrwx 2 fog root 4096 Oct 4 2018 postinitscripts
You may need to just rerun the fog installer and it should fix this file path.
For your nfs service there are a number of sub services like portmapper and such that nfs depends on. Does running sudo systemctl status nfs.service give you any clue to why nfs is not starting?
thank you so much for all the help turning off the firewall fixed the problem! it’s like the system was not happy that i used FTP to play with the folders