Hello,

I wrote a script to clean up about 80GB of data from one disk and replace
the deleted data by their archives.  The archives were created ahead of time
and stored on a second disk.
The script starts OK, but after a while, I get errors due to `read-only file
system'.

I read that I can reset the file access by remounting the file system, and
that works.  I can then restart the script, but I get the error again after
a while.  What am I doing to cause this error?

The script, in pseudocode:

for dir in `...'
do
   rm -f $dir
   cp $archive (from other disk) $dir
done

Should I put a pause statement, or do something else?

Thank you,


Mirko
_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to