Ben DJ wrote:
I've installed nfs-kernel-server
nfs-kernel-server-1.1.3-21.1.x86_64
on 11.2. It's enabled
chkconfig --list | grep nfs nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off nfsserver 0:off 1:off 2:off 3:on 4:off 5:on 6:off
and configured as,
cat /etc/sysconfig/nfs NFS_START_SERVICES="yes" USE_KERNEL_NFSD_NUMBER="3" NFS4_SUPPORT="no" MOUNTD_PORT="" REEXPORT_NFS="no" NFS_SECURITY_GSS="no" SM_NOTIFY_OPTIONS=""
cat /etc/exports /usr/local/exports 192.168.1.7(ro,no_root_squash,sync,subtree_check)
Everything works fine when I've set it up manually, but after each reboot, the dir is NOT exported.
To get it to work, I have to exec twice,
exportfs -r exportfs: Warning: /usr/local/exports does not support NFS export. exportfs -r
then, at this point, the dir can be subscribed/mounted at the client, 192.168.1.7.
The boot log shows
grep -i nfs /var/log/boot.msg <notice -- Dec 16 03:33:02.613052000> service nfs start <notice -- Dec 16 03:33:03.362462000> service nfs done <notice -- Dec 16 03:33:06.862887000> service nfsserver start <notice -- Dec 16 03:33:08.504914000> Starting kernel based NFS server: mountd statd nfsd sm-notifydone <notice -- Dec 16 03:33:09.378610000> service nfsserver done
Which isn't telling me anything that I understand :-/
Any ideas what I need to do to get the exports right immediately after boot?
Thanks,
BedDJ
Where is your fsid setup? cat /etc/exports /export *.milkyway(fsid=0,rw,root_squash,sync,no_subtree_check) /export/home0 *.milkyway(rw,root_squash,sync,no_subtree_check) /export/home1 *.milkyway(rw,root_squash,sync,no_subtree_check) I believe this is a new requirement for nfs v4 requirement. -- Joseph Loo jloo@acm.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org