nfs4 mounting
Trond Myklebust
trond.myklebust at fys.uio.no
Fri Sep 21 13:44:43 EDT 2007
On Fri, 2007-09-21 at 13:11 -0400, Saurabh Sehgal wrote:
> Hi,
>
> I am working on a project that makes use of nfs (v3) to concurrently
> write to a file across a network of four machines ( to do some record
> keeping ). Some tester on my team tried to mount nfs as :
>
> 192.168.23.101:/home /home nfs
> rw,hard,bg,intr,vers-v4,suid,tcp,timeo=600 0 0
>
>
> The vers field of this mount line in /etc/fstab is wrong, but is
> ignored, and the mounting goes through. However, during the concurrent
> reads/writes to the file, the file gets corrupted.
>
> Any suggestions, on why might this be happening ?, and what really
> happens when the vers field of the line is specified as such ? Any
> help is appreciated !
Please read http://nfs.sourceforge.net/#faq_a8
> Also, when I tried to mount nfs4 correctly by issuing something like:
>
>
> mount -t nfs4 -o rw,hard,bg,intr 192.168.23.101:/home /home
>
> i get the following error :
> root at amdha02 :/root# mount -t nfs4 -o rw,hard,bg,intr
> 192.168.23.101:/home /ho >
> mount: wrong fs type, bad option, bad superblock on
> 192.168.23.101:/home,
> or too many mounted file systems
Try mounting 192.168.23.101:/ instead of /home...
Trond
More information about the NFSv4
mailing list