All of lore.kernel.org
 help / color / mirror / Atom feed
* NFSv4  and vi
@ 2004-02-19  8:58 Vincent ROQUETA
  2004-02-19  9:10 ` Vincent ROQUETA
  2004-02-19 15:49 ` J. Bruce Fields
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent ROQUETA @ 2004-02-19  8:58 UTC (permalink / raw)
  To: nfs

Here are vi traces for opening "/mnt/nfs/vincent/suite-tests/toto3"

1/ The file toto3 do not exist
2/ There is no vi opened session
3/ there is no file (and so no .swp file) in this directory

Had a look to the traces...

stat64("/mnt/nfs/vincent/suite-tests/toto3", 0xbffff620) = -1 ENOENT (No such 
file or directory)
stat64("/mnt/nfs/vincent/suite-tests/toto3", 0xbffff7a0) = -1 ENOENT (No such 
file or directory)
access("/mnt/nfs/vincent/suite-tests/toto3", W_OK) = -1 ENOENT (No such file 
or directory)
open("/mnt/nfs/vincent/suite-tests/toto3", O_RDONLY|O_LARGEFILE) = -1 ENOENT 
(No such file or directory)


****Here is the problem: there is a "permission denied", error have to be "No 
****such file or directory"
open("/mnt/nfs/vincent/suite-tests/.toto3.swp", O_RDONLY|O_LARGEFILE) = -1 
EACCES (Permission denied) 

****Second error (same, I suppose) "File exist" that's WRONG!

open("/mnt/nfs/vincent/suite-tests/.toto3.swp", 
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST (File exists)


stat64("/mnt/nfs/vincent/suite-tests/.toto3.swp", {st_mode=S_IFREG, st_size=0, 
...}) = 0
stat64("/mnt/nfs/vincent/suite-tests/.toto3.swx", 0xbffff0e0) = -1 ENOENT (No 
such file or directory)
open("/mnt/nfs/vincent/suite-tests/.toto3.swp", O_RDONLY|O_LARGEFILE) = -1 
EACCES (Permission denied)
write(1, "\33[1;39r\33[?25h\33[?25h\33[27m\33[m\33[H\33["..., 62) = 62
stat64("/mnt/nfs/vincent/suite-tests/.toto3.swp", {st_mode=S_IFREG, st_size=0, 
...}) = 0


To end, when I quit the vi session (without saving anything) the swaped file 
YET exist, with a creation date 1 october 1970.

I'm trying to find the error.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: NFSv4  and vi
  2004-02-19  8:58 NFSv4 and vi Vincent ROQUETA
@ 2004-02-19  9:10 ` Vincent ROQUETA
  2004-02-19 15:49 ` J. Bruce Fields
  1 sibling, 0 replies; 5+ messages in thread
From: Vincent ROQUETA @ 2004-02-19  9:10 UTC (permalink / raw)
  To: vincent.roqueta; +Cc: nfs

Here is a precision for directoy rights:

drwxrwxrwx    2 4294967294 4294967294     4096 f=E9v 19  2004 suite-tests




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: NFSv4  and vi
  2004-02-19  8:58 NFSv4 and vi Vincent ROQUETA
  2004-02-19  9:10 ` Vincent ROQUETA
@ 2004-02-19 15:49 ` J. Bruce Fields
  2004-02-19 17:00   ` Vincent ROQUETA
  1 sibling, 1 reply; 5+ messages in thread
From: J. Bruce Fields @ 2004-02-19 15:49 UTC (permalink / raw)
  To: Vincent ROQUETA; +Cc: nfs

On Thu, Feb 19, 2004 at 09:58:38AM +0100, Vincent ROQUETA wrote:
> Here are vi traces for opening "/mnt/nfs/vincent/suite-tests/toto3"

These bug reports are no help if you won't remind us, on each bug
report, which kernel you're using, with which (if any) patches.  Also,
it'd help if you could test with the latest CITI NFSv4 patches
(http://www.citi.umich.edu/projects/nfsv4/linux/).  I suspect the
problem you're seeing is a problem that's already fixed with those
patches.

--Bruce Fields


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: NFSv4  and vi
  2004-02-19 15:49 ` J. Bruce Fields
@ 2004-02-19 17:00   ` Vincent ROQUETA
  2004-02-19 22:03     ` J. Bruce Fields
  0 siblings, 1 reply; 5+ messages in thread
From: Vincent ROQUETA @ 2004-02-19 17:00 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: nfs

Le Jeudi 19 F=E9vrier 2004 16:49, J. Bruce Fields a =E9crit :
> On Thu, Feb 19, 2004 at 09:58:38AM +0100, Vincent ROQUETA wrote:
> > Here are vi traces for opening "/mnt/nfs/vincent/suite-tests/toto3"
>
> These bug reports are no help if you won't remind us, on each bug
> report, which kernel you're using, with which (if any) patches.  Also,
> it'd help if you could test with the latest CITI NFSv4 patches
> (http://www.citi.umich.edu/projects/nfsv4/linux/).  I suspect the
> problem you're seeing is a problem that's already fixed with those
> patches.
>
> --Bruce Fields
>

The problem still appear with kernel 2.6.2 and all patches.
(Linux roquetav 2.6.2-CITI_NFS4_ALL-1)




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: NFSv4  and vi
  2004-02-19 17:00   ` Vincent ROQUETA
@ 2004-02-19 22:03     ` J. Bruce Fields
  0 siblings, 0 replies; 5+ messages in thread
From: J. Bruce Fields @ 2004-02-19 22:03 UTC (permalink / raw)
  To: Vincent ROQUETA; +Cc: nfs

On Thu, Feb 19, 2004 at 06:00:44PM +0100, Vincent ROQUETA wrote:
> Le Jeudi 19 Février 2004 16:49, J. Bruce Fields a écrit :
> > On Thu, Feb 19, 2004 at 09:58:38AM +0100, Vincent ROQUETA wrote:
> > > Here are vi traces for opening "/mnt/nfs/vincent/suite-tests/toto3"
> >
> > These bug reports are no help if you won't remind us, on each bug
> > report, which kernel you're using, with which (if any) patches.  Also,
> > it'd help if you could test with the latest CITI NFSv4 patches
> > (http://www.citi.umich.edu/projects/nfsv4/linux/).  I suspect the
> > problem you're seeing is a problem that's already fixed with those
> > patches.
> >
> > --Bruce Fields
> >
> 
> The problem still appear with kernel 2.6.2 and all patches.
> (Linux roquetav 2.6.2-CITI_NFS4_ALL-1)

This is on both the client and the server?

The following would also help (again, it would be helpful to include
this information with all bug reports):

	server export options (output from 'exportfs -v')
	mount options (output from 'mount')

--b.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2004-02-19 22:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19  8:58 NFSv4 and vi Vincent ROQUETA
2004-02-19  9:10 ` Vincent ROQUETA
2004-02-19 15:49 ` J. Bruce Fields
2004-02-19 17:00   ` Vincent ROQUETA
2004-02-19 22:03     ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.