title: mount using nfs4 giving no such device error
body: <p>I am trying to mount a folder <code>workspace</code> from server to the client over nfs. For this I bind the folder to an <code>/export</code> by adding the following in my <code>/etc/fstab</code> on server:</p>
  
  <p><code>
  /home   /export none    bind
  </code></p>
  
  <p>Then I add the following lines in my <code>/etc/exports</code> on my server:</p>
  
  <p><code>
  /export     *(ro,sync,no_subtree_check,insecure,fsid=0) 
  /export/workspace   *(rw,sync,no_subtree_check,insecure,nohide) 
  </code></p>
  
  <p>I load the exportfs file, and restart the nfs-kernel-server:</p>
  
  <p><code>
  exportfs -vr
  service nfs-kernel-server restart
  </code></p>
  
  <p>I now go to my client and check which folders can be exported:</p>
  
  <p><code>
  showmount -e 192.168.145.131
  Export list fo 192.168.145.131:
  /export/workspace *
  /export           *
  </code></p>
  
  <p>But when I try mounting the folder, I get the following error:
  <code>
  sudo mount -t nfs4 192.168.145.131:/workspace nfs/ -v
  mount.nfs4: timeout set for Sat Apr 19 19:16:51 2014
  mount.nfs4: trying text-based options 'addr=192.168.145.131,clientaddr=192.168.145.128'
  mount.nfs4: mount(2): No such device
  mount.nfs4: No such device
  </code></p>
  
  <p>I have also tried mounting <code>:/export/workspace</code> and <code>:/home/workspace</code>  but that gives me the same error. I have tried loading the nfs module using modprobe on both client and server, but the module is loaded on both client and server.</p>
  
  <p>Any help would be much appreciated. Thanks.</p>