linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nothing in /proc/fs/nfs/exports ?
@ 2005-03-04 11:58 J.A. Magallon
  2005-03-04 19:36 ` Trond Myklebust
  0 siblings, 1 reply; 3+ messages in thread
From: J.A. Magallon @ 2005-03-04 11:58 UTC (permalink / raw)
  To: Lista Linux-Kernel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nothing in /proc/fs/nfs/exports ?
  2005-03-04 11:58 nothing in /proc/fs/nfs/exports ? J.A. Magallon
@ 2005-03-04 19:36 ` Trond Myklebust
  2005-03-05  1:27   ` J.A. Magallon
  0 siblings, 1 reply; 3+ messages in thread
From: Trond Myklebust @ 2005-03-04 19:36 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: Lista Linux-Kernel

fr den 04.03.2005 Klokka 11:58 (+0000) skreiv J.A. Magallon:

> ===== /proc/fs/nfs/exports
> # Version 1.1
> # Path Client(Flags) # IPs
> 
> 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.

Cheers,
  Trond
-- 
Trond Myklebust <trond.myklebust@fys.uio.no>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nothing in /proc/fs/nfs/exports ?
  2005-03-04 19:36 ` Trond Myklebust
@ 2005-03-05  1:27   ` J.A. Magallon
  0 siblings, 0 replies; 3+ messages in thread
From: J.A. Magallon @ 2005-03-05  1:27 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: Lista Linux-Kernel


On 03.04, Trond Myklebust wrote:
> fr den 04.03.2005 Klokka 11:58 (+0000) skreiv J.A. Magallon:
> 
> > ===== /proc/fs/nfs/exports
> > # Version 1.1
> > # Path Client(Flags) # IPs
> > 
> > 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-05  1:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-04 11:58 nothing in /proc/fs/nfs/exports ? J.A. Magallon
2005-03-04 19:36 ` Trond Myklebust
2005-03-05  1:27   ` J.A. Magallon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).