FC4, exportfs fails
Paul Howarth
paul at city-fan.org
Mon Jul 10 10:27:09 UTC 2006
Gaspar Bakos wrote:
> Hi,
>
> Under FC4 I am trying to export a filesystem through NFS. The export
> fails, however hard I try.
>
> If I try to mount the (obviously unexported) FS from another machine, I
> get the usual "reason given by server: Permission denied" message.
>
> The question is how to debug this anomaly, namely that exportfs does
> not do anything, and does not report any error.?
>
> HEre is what I did:
> -----------------
>
> 1 stop iptables
> 2 restart nfsd
> 3 Check NFS support in kernel:
>
> zcat /proc/config.gz | grep NFS
> CONFIG_NFS_FS=y
> CONFIG_NFS_V3=y
> # CONFIG_NFS_V3_ACL is not set
> CONFIG_NFS_V4=y
> CONFIG_NFS_DIRECTIO=y
> CONFIG_NFSD=y
> CONFIG_NFSD_V3=y
> # CONFIG_NFSD_V3_ACL is not set
> CONFIG_NFSD_V4=y
> CONFIG_NFSD_TCP=y
> CONFIG_NFS_COMMON=y
> CONFIG_NCPFS_NFS_NS=y
>
> 4 "Check your /etc/exports file and make sure that the
> volume is exported and that your client has the right kind
> ..."
>
> Here is the entry from /etc/exports:
>
> /mnt/md0 131.100.100.100(sync,no_subtree_check,rw)
Is that the *only* entry in /etc/exports?
If so, try restarting nfs again:
# service nfs restart
You can use "showmount" to check that the export is working:
# showmount -e localhost
Paul.
More information about the fedora-list
mailing list