mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* NFS doen't uniformly copy timestamps to server
@ 2006-03-02  0:35 Paul Dickson
  2006-03-02  0:57 ` Trond Myklebust
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Dickson @ 2006-03-02  0:35 UTC (permalink / raw)
  To: linux-kernel

I think I first noticed this problem in late December (I wrote a script
to get around it then).  If I attempt to copy the mtime with a file, it
won't get transfered.  But I can set it later.

Within a NFS mount directory:
	cp -a file1 file2	# Timestamp not copied
	mv file1 file2 		# Timestamp not copied
	touch -r file1 file2	# Timestamp copied

I've looked through the man files for mount, exportfs, and exports and I
don't see an option I'm over looking.  An ethereal dump shows the mtime
being sent to the server and the server replying with NFS3_OK and the
correct mtime, but the resulting file does not have the mtime applied.

More data is at:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183208

This currently happens with 2.6.16rc5-git3

Is this a problem with the NFS server or am I applying the wrong options?

	-Paul


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

* Re: NFS doen't uniformly copy timestamps to server
  2006-03-02  0:35 NFS doen't uniformly copy timestamps to server Paul Dickson
@ 2006-03-02  0:57 ` Trond Myklebust
  2006-03-02 18:05   ` Paul Dickson
  0 siblings, 1 reply; 3+ messages in thread
From: Trond Myklebust @ 2006-03-02  0:57 UTC (permalink / raw)
  To: Paul Dickson; +Cc: linux-kernel

On Wed, 2006-03-01 at 17:35 -0700, Paul Dickson wrote:
> I think I first noticed this problem in late December (I wrote a script
> to get around it then).  If I attempt to copy the mtime with a file, it
> won't get transfered.  But I can set it later.
> 
> Within a NFS mount directory:
> 	cp -a file1 file2	# Timestamp not copied
> 	mv file1 file2 		# Timestamp not copied
> 	touch -r file1 file2	# Timestamp copied
> 
> I've looked through the man files for mount, exportfs, and exports and I
> don't see an option I'm over looking.  An ethereal dump shows the mtime
> being sent to the server and the server replying with NFS3_OK and the
> correct mtime, but the resulting file does not have the mtime applied.
> 
> More data is at:
>   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183208
> 
> This currently happens with 2.6.16rc5-git3
> 
> Is this a problem with the NFS server or am I applying the wrong options?

The RedHat bugzilla tracks RedHat bugs. For kernel bugs, see
bugzilla.kernel.org.

>From your description, it looks very much like the issue being tracked
in

   http://bugzilla.kernel.org/show_bug.cgi?id=6127

Feel free to try the proposed patch.

Cheers,
  Trond


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

* Re: NFS doen't uniformly copy timestamps to server
  2006-03-02  0:57 ` Trond Myklebust
@ 2006-03-02 18:05   ` Paul Dickson
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Dickson @ 2006-03-02 18:05 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-kernel

On Wed, 01 Mar 2006 16:57:43 -0800, Trond Myklebust wrote:

> On Wed, 2006-03-01 at 17:35 -0700, Paul Dickson wrote:
> > Within a NFS mount directory:
> > 	cp -a file1 file2	# Timestamp not copied
> > 	mv file1 file2 		# Timestamp not copied
> > 	touch -r file1 file2	# Timestamp copied
> > 
> > More data is at:
> >   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183208
> > 
> > This currently happens with 2.6.16rc5-git3
> > 
> > Is this a problem with the NFS server or am I applying the wrong options?
> 
> The RedHat bugzilla tracks RedHat bugs. For kernel bugs, see
> bugzilla.kernel.org.
> 
> From your description, it looks very much like the issue being tracked
> in
> 
>    http://bugzilla.kernel.org/show_bug.cgi?id=6127
> 
> Feel free to try the proposed patch.

The patch solves my problem (when installed on the client side).

Thanks.

	-Paul


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

end of thread, other threads:[~2006-03-02 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-02  0:35 NFS doen't uniformly copy timestamps to server Paul Dickson
2006-03-02  0:57 ` Trond Myklebust
2006-03-02 18:05   ` Paul Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome