Originally posted by: SystemAdmin
Hi Everybody:
We have a NAS that exports a NFS resource with a txt file.
We are mounting from two diferent servers that resource.
The problem is that when both servers access the file, a data corruption
happens.
The way we are writting to the file is easy. We are appending test to the file
is in the NAS-NFS resource, from both servers at the same time.
export a=1
while
$a -le 1000 do
echo $(date) Mensaje numero $a enviado desde smpaix5a >> /inte/triana/trazas/prueba_triana/20080410/script.log
a=`expr $a + 1`
done
The text files becomens inconsistent and some data is lost.
Could you please help me ? Is there a way to solve this problem ?
Thanks in advance