nothing in /proc/fs/nfs/exports ?

From: J.A. Magallon
Date: Fri Mar 04 2005 - 07:51:27 EST


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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/