nfs server - works for ext3, AND for vfat

"John Lumby" <[email protected]> Thu, 06 May 2004 17:29:28 -0400
Newsgroups gmane.linux.tomsrtbt
Message-ID <[email protected]>
Thanks.  I couldn't find anything on those dotfs options but I tried it 
again and now it works fine.     One thing I know I changed was to reduce 
the wsize and rsize on the mount on the nfs client.     I may have changed 
something else       Also I think only root may access the filesystem (from 
either server or client) - not sure about that but at least that works.

Here are the mount commands I used on the server and client:

server:
         mount -r -tvfat  /dev/hda1  /tmp/wincdrive

client:
      mount -t nfs -o ro,mounthost=192.168.0.5,rsize=128,wsize=128 
192.168.0.5:/tmp/wincdrive /mnt/wincdrive

My nfs server diskette has these files on it


Files:
______
hosts
services
exports

Programs:
________
rpc.portmap
rpc.mountd
rpc.nfsd
exportfs

shellscript:  (basically just installs the files and runs the programs)
____________
nfs


John

----Original Message Follows----
From: Tom Oehser <[email protected]>
To: John Lumby <[email protected]>
CC: [email protected]
Subject: Re: [tomsrtbt] nfs server - works for ext3, not for vfat
Date: Thu, 29 Apr 2004 09:15:03 -0400 (EDT)


I think there is some option having to do with . and .. for nfs, but, I also
don't remember it, um, I think nfsd supports -d for debug and -f for 
foreground,
note, only nfs cliet is bundled in the image and tested, I have never 
personally
tried running an nfs server under it, um, maybe it is an option for the vfat 
mount,
not the nfsd, um, try "dots" or "nodots" or "dotsOK" options for the mount. 
-Tom

On Thu, 29 Apr 2004, John Lumby wrote:

 > Date: Thu, 29 Apr 2004 09:01:18 -0400
 > From: John Lumby <[email protected]>
 > To: [email protected]
 > Subject: [tomsrtbt] nfs server - works for ext3, not for vfat
 >
 > nfs server works nicely under current tomsrtbt(*) for all the ordinary 
ext3
 > filesystems.   However, I then tried serving my WinNT VFAT32 partition.  
It
 > half-worked.  I was able to mount it locally under tomsrtbt, and I was 
then
 > able to mount it from another machine and at first I could list files in 
the
 > C: drive dir, but when I tried to cd to it, it "disappeared".  And then I
 > couldn't even list files any more.
 >
 > Running my normal RH7.3 on that same machine and nfs-serving that same 
VFAT,
 > the other machine could list, cd, and view all files no problem at all.
 > So it appears to be a problem in either the 2.2.20 kernel or those libc5
 > version of rpc.xxx and portmap.
 >
 > What is now annoying me is, shortly after I tried it, I read something
 > somewhere which gave me some suggestion of something to try, made a 
mental
 > note of it as I couldn't do it right then, now I can try whatever it was 
but
 > have forgotten it.    Any suggestion?
 >
 > (*) Actually in case anyone else tries this, I am runnning my own kernel 
and
 > had specified support for all NFS options and VFAT fs.  Not sure whether 
the
 > stock tomsrtbt kernel has all those.
 >
 > John

_________________________________________________________________
Free yourself from those irritating pop-up ads with MSn Premium. Get 2months 
FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines