On Aug 30, 2007, at 12:35 PM, Richard Elling wrote:

> NFS clients can cache.  This cache can be loosely synchronized for
> performance reasons.  See the settings for actimeo and related  
> variables
> in mount_nfs(1m)

The NFS client will getattr/OPEN at the point where the application
opens the file (close to open consistency) and actimeo will not
change that behavior.  The "nocto" mount option will disable that.

If the client is copying an older version of the file, then the
client is either not checking the file's modification time
correctly or the NFS server is not telling the truth.

Spencer



>   -- richard
>
> Russ Petruzzelli wrote:
>>    I'm not sure if this is a zfs, zones, or solaris/nfs problem... So
>> I'll start on this alias...
>>
>> Problem:
>> I am seeing file copies from one machine to another grab an older  
>> file.
>> (Worded differently:  The "cp" command is not getting the most  
>> recent file.)
>>
>> For instance,
>> On a T2000, Solaris 10u3, with zfs setup, and a zone I try to copy  
>> in a
>> file from my swan home directory to a directory in the zone ...
>> The file copied, is not the file currently in my home directory.   
>> It is
>> an older version of it.
>>
>> I've suspected this for some time (months) but today was the first  
>> time
>> I could actually see it happen.
>> The niagara box seems to pull the file from some cache, but where?
>>
>> Thanks in advance for any pointers or configuration advice.  This is
>> wreaking havoc on my testing.
>>
>> Russ
>>
>>
>> --------------------------------------------------------------------- 
>> ---
>>
>> _______________________________________________
>> zfs-discuss mailing list
>> zfs-discuss@opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to