title: Got error while Mounting, error massage:"mount.nfs: remote share not in 'host:dir' format"
body: <p>Im trying to do mount to a nfs server as follow - <code>mount -t nfs 127.0.0.1 /mnt/mountPointToTest</code> (I know it is local host, it is just for testing) and I got this error message: </p>
  
  <blockquote>
    <p>mount.nfs: remote share not in 'host:dir' format .</p>
  </blockquote>
  
  <p>Does anyone know how I can fix this error ?
  Thank you.</p>
  
  <p>--
  edit: after changing  to <code>mount -t nfs 127.0.0.1:/var/share /mnt/mountPointToTest</code>
  got error :</p>
  
  <blockquote>
    <p>mount.nfs: No such device.</p>
  </blockquote>
  
  <p>my /etc/exports looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/1bFwG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1bFwG.png" alt="enter image description here"></a></p>