[OpenAFS] AFS CopyOnWrite problem

David Thompson thomas@cs.wisc.edu
Fri, 19 Mar 2004 07:49:38 -0600


Derrick J Brashear wrote:
>
>> A kludge solution might be to check for the existance of a file before it
>> is opened with O_EXCL, and move it out of the way if it is there.
>
>well, technically it *is* an error condition, i don't think that's the
>right answer. changing salvager to deal is probably more "right"

>From an operations standpoint, if the fileserver could deal with the problem 
(i.e. allow the file operation to succeed) at the point of detection (and 
maybe report to FileLog), that would be preferable to requiring admin 
intervention to fix it (by running the salvager).  Maybe the salvager could 
still be required to provide a final disposition (attach/remove/whatever).

Dave