On April 6 at 15:35, a filesytem full problem occurred on dd. Here is why.
At the beginning of the run, I had stopped "violently" the FdWrite and I have restarted it manually without deleting all the previous files (generated during the two days before the run).
Normally, FdWrite maintains a list of what has been written on disk and, once the maximal count of files is reached, starts removing some old files.
The problem is that, due to the violent interruption (with a Ctrl-C), the file containing the file list lost its contents (this happens with files that are open both in input and output). So the FdWrite has no memory of the files already written on disk and did not do the job of removing old files.
Fortunately, we had the second line of acquisition on st3. So, once everything was settled on dd and that the normal acquisition had resumed, I did some surgery to recover the files that had been missed on dd. Here is a description of the surgery.
I first deleted the last file written on dd before the crash (it had only been written partially). The last file written completely before the crash is FR702133270.dat_06_Apr_2002_15:01:01
Then I had to face the usual problem of file boundaries: the service on dd had been restarted at 15:33 with the file FR702135238.dat_06_Apr_2002_15:33:49 and on st3 the boundaries were of course totally different.
If I had copied full files from st3 I would have had to do two surgeries: one at the beginning and one at the end, and there would have been two files on dd with a number of frames different from 300.
So I decided to process all the files with FrCopy so that only one file on dd has number of frames different from 300.
This is how I generated using FrCopy from st3 files the following files:
FR702133570.dat_06_Apr_2002_15:06:01 FR702133870.dat_06_Apr_2002_15:11:01 FR702134170.dat_06_Apr_2002_15:16:01 FR702134470.dat_06_Apr_2002_15:21:01 FR702134770.dat_06_Apr_2002_15:26:01 FR702135070.dat_06_Apr_2002_15:31:01
Of course, the last file had to be shorter in order for the boundaries to match. It contains only 167 frames.
Then, on April 8 at 12:30 we encountered again space problems on dd.
This was due to two reasons:
- The data rate was slightly larger during this run than during the previous one
- The run which was expected to finish at 2pm was extended to 4pm.
At that time, I copied the missing files from st3. This time I copied full files from FR702297807.dat_08_Apr_2002_12:43:18 till the end (FR702309507.dat_08_Apr_2002_15:58:18) from st3 to dd.
In order to glue nicely the boundaries, I had to generate with FrCopy on st3 the file containing the missing frames, that is FR702297538.dat_08_Apr_2002_12:38:49 which contains only 268 frames.