[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-nfs
Subject:    Re: [NFS] knfsd in 2.2.18 mounting a jaz disk
From:       Neil Brown <neilb () cse ! unsw ! edu ! au>
Date:       2000-12-19 4:46:44
[Download RAW message or body]

On Monday December 18, madhu@quickmonkey.com wrote:
> 
> Helu, I upgraded my old box to 2.2.18 and I cant nfs mount a mounted
> jaz disk anymore. My setup is:
> 
> {box1:2.2.18}			 {box2:2.2.18}
> 1.mount -t vfat /dev/sda /mnt/jaz
> 2.exports: /mnt/jaz to another box
> 3.			       mount -t nfs box1:/mnt/jaz /ext
> 
> both boxes were originally redhat. I upgraded the software on both to
> mount-2.10r-2, and nfs-utils-0.2.1-1, both installed from locally
> built src.rpms
> 
> when I revert back to 2.2.14 on box1, the 3 steps go fine. In all
> kernels I have vfat, and nfsd as modules and nfs compiled into the
> kernel. (I used to get unresolved symbols in nfsd if I also had nfs
> as a  module in earlier kernel versions)
> 
> with 2.2.18 now when I do step 2 and start nfsd from rc.d, exportfs
> complains about "Invalid Argument", I traced it to an export_export
> call in nfs-utils.

nfs expects unix-like filesystems (inodes and stuff like that).
VFAT is a sufficiently non-unix-like filesystem that it is very
awkward to export.
It may have been possible to export VFAT in previous kernels, but it
would not have been reliable and would not, for example, have survived
a server reboot.
In making exporting of ext2 and similar filesystem more reliable,  we
removed the incomplete support for VFAT and similar file systems.

If you really want to export a VFAT filesystem you could try using the
user-level nfs server (unfsd I think it is called).  It should work to
some extent.

Support for VFAT and MSDOS filesytems may get written properly if
there is enough interest, but not this year.

NeilBrown

> 
> when I try step 3 I get a "permission denied" reason from server on
> box 2. On box1 I see getfh failed with "operation not permitted" from
> rpc.mountd
> 
> 
> I also tried nfsvers={1,2,3} when mounting, and tried disabling nfs 3
> server on box1. 
> 
> 
> appreciate it if someone could point out what I'm missing.
> 
> 
> --
> Guby
> madhu :>
> 
> 
> 
> 
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/nfs

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/nfs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic