problem in mounting an nfs export on a USB disk

Serge Hallyn serge.hallyn at canonical.com
Wed Jan 5 13:57:42 UTC 2011


Quoting Tapas Mishra (mightydreams at gmail.com):
> I have a USB disk which has 2 partitions.I exported one of them (on NFS)
> and now I am trying to mount it at client machine.
> Each time it gets error
> 
> mount -t nfs 192.168.1.19:/media/vol2 /mnt/nfs/
> mount.nfs: access denied by server while mounting 192.168.1.19:/media/vol2
> 
> Here is the /etc/exports file entry
> 
> showmount -e on nfs server gives
> Export list for tapas:
> /media/vol2 */24

If I'm not mistaken, you are only supposed to use '*' with fully qualified
domain names, and '*.*' must be specified for 'google.com' (not '*').  So
ISTM that both using '*' and then specifyin /24 are wrong.

Try 0.0.0.0/24?

-serge




More information about the ubuntu-server mailing list