[Ocfs2-users] Anomaly when writing to OCFS2

Sunil Mushran sunil.mushran at oracle.com
Fri Apr 1 12:53:50 PDT 2011


On 04/01/2011 12:42 PM, John Gardner wrote:
> Sunil
>
>> So the file is written to one directory and copied to another. While it is
>> ok in the first location, it is seen to be 0 bytes in the second location.
>> Is it copy or move? Who is doing this? Some script? Oracle software?
>> Are you running short of space?
> The exact process (when working) is that the log is written to a temp file, this file increases in size until the log is complete, then it is copied to an 'out' file and at this time the temp file is set back to 0kb, but the outfile contains the completed log.
> This file is produced by an Oracle Concurrent Manger program and we are using 1.1GB of 120GB of space so it's not a space issue unfortunately.

So everything works fine as long as the temp file is being written to.
The out file is the issue.

How is the file copied from temp to out?

mv? cp?

And please don't guess.



More information about the Ocfs2-users mailing list