Permalänk
Medlem

NFS problem

Tjena jag får inte igång NFS på en slackware burk.
Här har ni lite info:

/etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/home/test 192.168.0.1(rw,async)

root@Dream:/usr/src/linux-2.6.19.1# cat .config |grep NFS
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_ROOT_NFS=y
CONFIG_NFS_COMMON=y
root@Dream:/usr/src/linux-2.6.19.1#

/etc/hosts.allowed
portmap: 192.168.0.1
rquoted: 192.168.0.1
mounted: 192.168.0.1
statd: 192.168.0.1

root@Dream:/etc/rc.d# ./rc.nfsd start
FATAL: Module nfsd not found.
mount: nfsd already mounted or /proc/fs/nfs busy
mount: according to mtab, nfsd is already mounted on /proc/fs/nfs
Starting NFS server daemons:
/usr/sbin/exportfs -r
exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.0.1:/home/test".
Assuming default behaviour ('subtree_check').
NOTE: this default will change with nfs-utils version 1.1.0
/usr/sbin/rpc.rquotad
/usr/sbin/rpc.nfsd 8
/usr/sbin/rpc.mountd
root@Dream:/etc/rc.d#

Vad kan det vara fel tro?

Permalänk
Medlem

vad ger kommandot:

showmount -e nfsservern

Visa signatur

Kriga mot min brute: http://gunnard.se.mybrute.com om du vågar :D

Permalänk
Medlem

NFS servern:
root@Dream:~# showmount -e localhost
Export list for localhost:
/home/test 192.168.0.1
root@Dream:~#

Nfs klienten:
root@burken:~# showmount -e 192.168.0.12
Export list for 192.168.0.12:
/home/test 192.168.0.1
root@burken:~#