Mounting NFS problems
When trying to upload or download an image from the Fog server I continually get an error.
mount: mounting 192.168.XXX.XXX:/images/ on /images failed: Protocol not supported
I know it works because it was working and imaged 30 or so machines before I came into the job. For some reason it doesn’t work and returns the above error whenever I try.
Both the Fog server and computer I’m trying to to send the image to are on the same network, and connected to the same switch. The computer was also previously imaged before using this same setup, so as far as I know it should all work.
Let me know if you need any more information, or have any ideas I can try. I’ve looked through the forums a little and haven’t been able to find anything that seems to help.
Thanks in advance for your help.
Sorry I typically run all commands sans sudo simply because when I’m writing I’m usually under making the assumption that you are running it elevated already. I should’ve specified I suppose but at least you got it working.
I had seen this in another post and it didn’t work for me, might be worth mentioning to do it prefixed with sudo. That fixed all the problems I was having in one fell swoop. Thanks so much.
Can you try restarting the NFS service?
service nfs-kernel-server restart
service nfs restart
If you have systemctl change the command to:
systemctl restart nfs-kernel-server
systemctl restart nfs