Quote:
Originally Posted by
SkySmart
thank you so much. the one problem i foresee with this is, isn't it a bad idea to be reading files off NFS? considering it can cause network issues? I/O?
i remember a while ago reading a data file off NFS. i wondered why it was taking soo long to read the file. but when i moved the data file over from the nfs drive to the local server, the file was read very quickly.
Generally said, this is the problem with any complex thing: the more parts it consists of, the more opportunities are there for something to go wrong. Sledge hammers tend to have less operational errors than computers, so to say. ;-))
Of course, when you set up NFS (or any other file sharing system with a similar functionality) you have to make sure the network between the two systems works reliably. Furthermore, you have to make sure the DNS system is responding reliably and quickly, because name resolution is used heavily inside the NFS parts and the longer a single name resolution takes the (preceptibly) slower the observable speed of the file transfer is.
Of course, neither do i know your network nor your systems, so i cannot tell you what went wrong in your case. But my general experience is that misconfiguration and/or sloppy setup is the culprit much more often than failing hardware. To expand on what i said above: suddenly failing NFS mounts can often be traced back to network cards set to the wrong speed (like "100/Full Duplex" instead of "100/Half Duplex" or vice versa), unreliable DNS services, etc., etc.. You can't evade such problems with more hardware set up equally sloppy, only with a better work ethic.
Many problems stem from a tendence to confuse a
problem without apparent symptoms with a
problem solved: if a problem in some operation takes place and suddenly this problem is gone, you haven't solved it, you have just stopped to see the symptom. The problem is solved only once you understand fully why you do not experience any symptoms any more - not any sooner.
But i am digressing. Generally NFS is a quite reliable method. You should not use it for the distribution of high-security data, because it is prone to network sniffing and it won't support ACLs without some very complicated extra configuration. If you have such data i suggest using
sftp,
scp, NFS over a securified VPN or something such. Just to distribute logs it is good enough and the provisioning system on the Unix flavour i work most - AIX's NIM - is even bassed on it. IBM wouldn't have done that if it can't be brought to work reliably.
I hope this helps.
bakunin