Hi,
After adding the entries in /etc/fstab file did you mount the /dir directory?
on client machine.
And as mentioned by ksdeiva, that you have to also check that the all the required services are running or not?
Along with portmap and nfs service, once run the autofs service also for automatically mounting the partition during boot time.