nfs export problem configuration not correct
Tapas Mishra
mightydreams at gmail.com
Wed Jan 5 06:57:33 UTC 2011
On Wed, Jan 5, 2011 at 12:18 PM, kapil singh kushwah
<kapil.network at gmail.com> wrote:
> Please send the output of following commands :
> cat /etc/exports
Here it is
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check)
hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
/media/vol2 clientname/24(rw,sync,no_subtree_check)
> exportfs
It came in 2 lines
exportfs
/media/vol2
clientname/24
>
> mount.nfs: remote share not in 'host:dir' format
>
> problem related to your /etc/exports file.
Ok.
> put such type of entry in /etc/exports
> /media/vol2 *(rw,sync,no_subtree_check)
> (both should be separated by <tab>)
I changed it to * as you mentioned.
> please check for the firewall also.
Checked no connections are blokced.
--
More information about the ubuntu-users
mailing list