NFS soft mounting
Hi all,
I read that many people don't like the idea if Soft mounting due it's unreliability. However I'm writing sofware which uses NFS storage as back-up to a locally stored copy of a message file. The software i'm writing is the only application that reads or writes to this partion. The partion will use the sync option when mounting. If the write result has failed (i used fbopen(), then sendfile() to send the files) i know the file is in someway courrupted, however if function returns OK, can i guarentee that the file has been written OK? Many thanks, Paul. |
Nobody know anything about this then? :(
|
:) I sure don't. :D Nah, just that I don't know much about programming, so I don't know what "If function returns OK" means. However, if once you write to the file, something tells you it's done and it does some sort of MD5 kind of check, and it turns out OK, then yeah, I'd say it's OK ;)
I don't know about you though, but I've not had a lot of Linux servers crash on me for me to be too concerned with corruption from NFS transfers... Cool |
yeah, my assumption would be, since the write is synchronus, that if if returns OK (returns 0 rather then -1 ;)) then i could be fairly certertain that the file was written correctly.
Thanks for your input :) |
All times are GMT -5. The time now is 11:06 AM. |