You are not logged in.

#1 2007-08-03 11:09:58

EnjoMitch
Member
From: Poland, Bytom
Registered: 2006-10-03
Posts: 17

NFS - not exporting anything!

[root@myhost rc.d]# cat /proc/fs/nfs/exports
# Version 1.1
# Path Client(Flags) # IPs

Nothing here sad although I have it listed here:

cat /proc/mounts
rootfs / rootfs rw 0 0
...

My settings:

#exports:
/home/rootfs 192.168.1.211(rw,no_root_squash,anonuid=0,anongid=0,subtree_check)


# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
portmap: 192.168.1.211
lockd: 192.168.1.211
rquotad: 192.168.1.211
mountd: 192.168.1.211
statd: 192.168.1.211

# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
#...
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL

rc.d:

DAEMONS=(syslog-ng network portmap nfslock nfsd)

I have been updating information using exportfs - ra. This is what my remote box is saying:

Root-NFS: Server returned error -5 while mounting /home/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
create_dev:408
VFS: Cannot open root device "nfs" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00

The above settings did work on Fedora Core 4.
Any help greatly appreciated.

Last edited by EnjoMitch (2007-08-03 13:59:53)

Offline

#2 2007-08-03 12:11:07

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: NFS - not exporting anything!

Could be related to the issue I had when I moved to arch and wanted to use NFS, check http://bbs.archlinux.org/viewtopic.php?id=33582

But for sure /proc wont contain the exports unless you modify your nfsd script.

Offline

#3 2007-08-09 08:08:57

EnjoMitch
Member
From: Poland, Bytom
Registered: 2006-10-03
Posts: 17

Re: NFS - not exporting anything!

Thanks. I've tried your script before but it didn't work for me. I had to move to another distro at work (Kubuntu) and everything seems to work somehow.

Offline

Board footer

Powered by FluxBB