Re: I'm really confused by kernel nfsd

Mark Gray (markgray@iago.nac.net)
06 Jul 1999 15:28:53 -0400


Tim Ricketts <timothy.ricketts@st-annes.ox.ac.uk> writes:

>
> On Sat, 19 Jun 1999, Marty Leisner wrote:
>
> > One of the most useful aspects of linux user-level nfsd is I could
> > export / in one shot...now, it seems I can only export one file
> > system per line...how do I export a tree of filesystems (if I can't, I'm
> > going to go back to user level nfs since this is too big a win...)
>
> Isn't that what CONFIG_NFSD_SUN does?

That is what it is supposed to do (as I read it) but it does not do
so. (Each seperate partition has to be exported and ALSO mounted by
the client seperately).

~ # mount -t nfs soyo:/ /mnt/soyo/
~ # ls /mnt/soyo/
bin/ boot/ dev/ etc/ home/ lib/
lost+found/ mnt/ proc/ root/ sbin/
tmp/ usr/ var/
~ # ls /mnt/soyo/tmp/
~ # rsh soyo df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda2 60814 33294 24380 58% /
/dev/hdb2 102424 76467 20668 79% /tmp
k6:/mnt/hda2/usr 995147 833751 109988 88% /usr
~ # rsh soyo /usr/sbin/exportfs
/usr k5.markgray.nac.net
/usr mmx.markgray.nac.net
/usr sx16.markgray.nac.net
/usr k6.markgray.nac.net
/tmp k5.markgray.nac.net
/tmp mmx.markgray.nac.net
/tmp sx16.markgray.nac.net
/tmp k6.markgray.nac.net
/ k5.markgray.nac.net
/ mmx.markgray.nac.net
/ sx16.markgray.nac.net
/ k6.markgray.nac.net
~ # rsh soyo ls -l /tmp/
total 157
-rw-r--r-- 1 root root 6348 Jul 4 11:29 config-for-2.2.10
-rw-r--r-- 1 root root 6276 Jun 25 12:42 config-for-2.2.5
-rw-r--r-- 1 root root 6984 Jul 5 15:24 config-for-2.3.10-3
-rw-r--r-- 1 root root 148 Jul 5 10:25 errorlog
drwxr-xr-x 15 root root 1024 Jul 6 08:10 linux
drwxr-xr-x 2 root root 12288 Jun 25 12:14 lost+found
[snip]
~ # mount -t nfs soyo:/tmp /mnt/soyo/tmp/
~ # grep CONFIG_NFSD_SUN /mnt/soyo/tmp/linux/.config
CONFIG_NFSD_SUN=y
~ # rsh soyo uname -a
Linux soyo.markgray.nac.net 2.3.10 #4 Mon Jul 5 15:41:20 EDT 1999 i586unknown
~ #
-----------

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