Mirko Vukovic wrote:
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?
In general, the OS will set a file system to read only if it detects
errors. It's likely the drive is going bad.
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
--
Until later, Geoffrey
"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson
_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list