Linux - nfs mounting
I had a little trouble doing an nfs mount today. I wanted to mount a directory on my laptop onto my desktop so I could do some backups. I modified /etc/exports on my laptop, which has successfully exported nfs mount file systems for a long time, by having /etc/exports be:
/home/wink *:(rw,no_root_squash,no_all_squash,sync,nohide)
Then on my destop I did:
mkdir mntdir
sudo mount 192.168.0.1:/home/wink mntdir
But this didn’t work it generated an error saying I was stupid:) After trying a bunch of permutations I did some google searching and found this. Turns out that on my desktop I didn’t have portmap or nfs-common installed. After installing them all was well, and the above mount worked.