nothing in /proc/fs/nfs/exports ?
Hi all...
I have problems with NFS in 2.6.11. Just a simple test:
#!/bin/bash
service nfslock stop
service nfs stop
rm -rf /var/lib/nfs/*
service nfs start
service nfslock start
echo "===== /etc/exports"
cat /etc/exports
echo "===== exportsfs -v"
exportfs -v
echo "===== /var/lib/nfs/xtab"
cat /var/lib/nfs/xtab
echo "===== /proc/fs/nfs/exports"
cat /proc/fs/nfs/exports
Results are:
Stopping NFS statd: [ OK ] Shutting down NFS mountd: [ OK ] Shutting down NFS daemon: [ OK ] Shutting down NFS services: [ OK ] Starting NFS services: [ OK ] Starting NFS daemon: [ OK ] Starting NFS mountd: [ OK ] Starting NFS statd: [ OK ]
===== /etc/exports
/store/media/music 192.168.0.2(ro,no_root_squash,no_subtree_check,insecure)
===== exportsfs -v
/store/media/music
ibook(ro,wdelay,insecure,no_root_squash,no_subtree_check)
===== /var/lib/nfs/xtab
===== /proc/fs/nfs/exports
# Version 1.1
# Path Client(Flags) # IPs
Nothing in xtab ? Nothing in /proc ? Why ?
werewolf:~# df /store Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/hda1 ext3 115377640 39848024 69668704 37% /store
Any hint ?
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.2 (Cooker) for i586
Linux 2.6.11-jam1 (gcc 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)) #1
fr den 04.03.2005 Klokka 11:58 (+0000) skreiv J.A. Magallon:
Quoted 6 lines
=====
/proc/fs/nfs/exports
# Version 1.1
# Path Client(Flags) # IPsNothing in xtab ? Nothing in /proc ? Why ?
"man exportfs". Read all about the 2.6 kernel's new mechanism for communication between mountd and the kernel.
Cheers,
Trond
Signature · 1 line
Trond Myklebust <[email protected]>
Quoted 6 lines · Trond Myklebust
fr den 04.03.2005 Klokka 11:58 (+0000) skreiv J.A. Magallon:
Quoted 4 lines
=====
/proc/fs/nfs/exports
# Version 1.1
# Path Client(Flags) # IPs
Quoted 6 lines
Quoted 2 lines
Nothing in xtab ? Nothing in /proc ? Why ?
"man exportfs". Read all about the 2.6 kernel's new mechanism for communication between mountd and the kernel.
Thanks. After reading that twice, I realized I had not /proc/fs/nfs mounted !!
BTW, my system has two dirs in /proc/fs, both nfs and nfsd. Which is the correct one ? Is that a bug ?
I will have a manual mount of that, until I discover why my initscripts stopped mounting that.
TIA
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.2 (Cooker) for i586
Linux 2.6.11-jam1 (gcc 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)) #1