No, it isn't all bad, but neither is M$ Windoze. <br>
<br>
Here's my issues with nfs and why I avoid it whenever possible.<br>
<br>
1- Security.&nbsp; If you take a look at CERT or SANS advisories
pertaining to *nix systems, NFS and it's dependencies (portmap and rpc)
have almost as many advisories as Bind and Sendmail.. <br>
<br>
2- UDP. That means connectionless protocol. If I'm moving critical
data, I want to make sure it gets there and I don't want to deal with
file and mount point locking wierdness and corrupted data.<br>
<br>
I want a secure, reliable&nbsp; transport for my files.. I'll hold out
to try nfs4. In the meantime,&nbsp; if the server has ssh and you have
Konqueror on your desktop, try fish. It gives you drag and drop
capabilities and uses ssh as a transport mechanism. If you want to do
something out of cron or on a command line, I use tar and ssh to move
data <br>
(&nbsp; tar cf - /source/data | ssh <a href="mailto:name@hostname.com">name@hostname.com</a> tar xf - -C /destination/data&nbsp; )<br>
<br>
That said, if you want to use NFS make sure you bump up your tx and rx
buffers and some of the other ip parameters in /etc/sysctl.conf and
increase your tx queue length. That'll help performance.<br>
<br>
<br>
Thanks and let's not let this turn into a flame war.<br>
<br>
--Dennis<br>
<br>
<br>
<br>
<br>
<br><br><div><span class="gmail_quote">On 4/27/06, <b class="gmail_sendername">James Wenzel</b> &lt;<a href="mailto:jmwenzel@yahoo.com">jmwenzel@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hello,<br><br>&gt; If anyone knows a<br>&gt; better way that's more efficient, uses less CPU and<br>&gt; is easier to do,<br>&gt; please respond.<br><br>Use Window$<br><br>:)<br><br>Jamie<br><br>--- &quot;David J. Andruczyk&quot; &lt;
<a href="mailto:djandruczyk@yahoo.com">djandruczyk@yahoo.com</a>&gt;<br>wrote:<br><br>&gt; Date: Thu, 27 Apr 2006 14:47:43 -0700 (PDT)<br>&gt; From: &quot;David J. Andruczyk&quot; &lt;<a href="mailto:djandruczyk@yahoo.com">
djandruczyk@yahoo.com</a>&gt;<br>&gt; To: <a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br>&gt; Subject: [nflug] NFS isn't (all) bad.<br>&gt;<br>&gt; There's been a statement put up by an individual<br>&gt; &quot;That NFS is bad,&nbsp;&nbsp;I
<br>&gt; won't use it, it's so out-dated and so full or<br>&gt; problems&quot; and so on.<br>&gt; The thread started because someone was having some<br>&gt; NFS issues and it<br>&gt; related to a mail server and mail spools or homedirs
<br>&gt; residing on an NFS<br>&gt; mount and some difficulty arrived.&nbsp;&nbsp;I presented a<br>&gt; tiny bit of evidence<br>&gt; about NFS performance as did some others about it's<br>&gt; merits.&nbsp;&nbsp;The<br>&gt; response I got seemed completely off topic, so I
<br>&gt; wanted to show some<br>&gt; examples where NFS is used in the corporate world,<br>&gt; and if it's not<br>&gt; considered optimal,&nbsp;&nbsp;I'd like to see a &quot;better way&quot;<br>&gt; to do it.&nbsp;&nbsp;AS I'm<br>&gt; always looking to learn new stuff.
<br>&gt;<br>&gt; Example 1. NFS for remote bootable clients.<br>&gt; Lets say you have a school. Schools are notoriously<br>&gt; low budget , thanks<br>&gt; to many things these days, so some places are<br>&gt; turning to using thin
<br>&gt; clients in their computer labs, and Linux is ideally<br>&gt; suited for the<br>&gt; task (free, easy to configure, very flexible, wide<br>&gt; variety of<br>&gt; choices/applications).&nbsp;&nbsp;You have a stack of old PC's
<br>&gt; (let's day<br>&gt; PII-400's), you have next to no budget for any<br>&gt; replacement parts like<br>&gt; disks and half your machiens are in the 5-8 year old<br>&gt; range and have<br>&gt; dead drives, what to do?&nbsp;&nbsp;Remote boot them, either
<br>&gt; via a etherboot<br>&gt; floppy, or via a PXE Nic to a central cerver, using<br>&gt; software like<br>&gt; PXE's, LTSP (Linux Term Server Project), or Knoppix<br>&gt; Terminal server.<br>&gt; It's simple,&nbsp;&nbsp;but all of them rely on NFS as shared
<br>&gt; filesystem, why?<br>&gt; because it's<br>&gt; 1. Clean (simple to setup)<br>&gt; 2. Easy<br>&gt; 3. Built into the OS distribution,<br>&gt; 4. (optional, not always used) The kernel can<br>&gt; directly use a NFS
<br>&gt; filesystem for it's root FS,&nbsp;&nbsp;it cannot do this with<br>&gt; ANY other network<br>&gt; filesystem without patching of the kernel (which is<br>&gt; hard for someone<br>&gt; who hasn't done it before)<br>&gt;<br>&gt; Without using NFS these projects would be stunted
<br>&gt; and held back.&nbsp;&nbsp;NFS<br>&gt; (as far as I can see it) is the optimal tool for the<br>&gt; job in the above<br>&gt; case.<br>&gt;<br>&gt; 2. Corporate home dirs (unix shop).<br>&gt; One of the places I worked (Valeo, Rochester, 4+
<br>&gt; years) was a mixed bag<br>&gt; shop,&nbsp;&nbsp;windows AD, Unix, Linux etc.&nbsp;&nbsp;They had a<br>&gt; large number of unix<br>&gt; users, about 130 spread across two locations across<br>&gt; a WAN link (SGI's<br>&gt; mostly, though some HP and linux)&nbsp;&nbsp;All of the Unix
<br>&gt; hosts made use of<br>&gt; shared storage locations available via NFS from a<br>&gt; Network Appliance<br>&gt; Filer (big fileserver appliance that was used fot<br>&gt; NFS and samba).&nbsp;&nbsp;The<br>&gt; users used it for homedirs, application dirs,etc and
<br>&gt; even mounted<br>&gt; locations from over 250miles away (detroit area) via<br>&gt; NFS over the WAN<br>&gt; link, and it worked flawlessly.<br>&gt;<br>&gt; 3. Small business backup server<br>&gt;&nbsp;&nbsp;Another place I've doen a little helping out from
<br>&gt; time to time, is<br>&gt; asuccessfull computer business,&nbsp;&nbsp;They have a server<br>&gt; with a bunch of<br>&gt; disk tucked away in some hidden part of their<br>&gt; office, and a full<br>&gt; netwrok throughout.&nbsp;&nbsp;All servers backup to it via a
<br>&gt; cron job dump based<br>&gt; system (using &quot;dump&quot; to dump to files stored on the<br>&gt; NFS server).&nbsp;&nbsp;It<br>&gt; work great, is fast, allows easy recovery anyplace<br>&gt; on the LAN and keeps<br>&gt; things centralized.&nbsp;&nbsp;NFS in this case makes the
<br>&gt; filesystem essentially<br>&gt; transparent.&nbsp;&nbsp;They have a large pool of diskspace<br>&gt; that can be mounted<br>&gt; anywhere anytime on the LAN.<br>&gt;<br>&gt; 4. Remote server installation<br>&gt; I had to do an install of 9 mid-High end Linux
<br>&gt; servers (4-16CPU, up to<br>&gt; 64GB ram boxes) as part of my current job earlier<br>&gt; this month.&nbsp;&nbsp;They're<br>&gt; a Redhat Enterprise shop, and I was limited by them<br>&gt; to using an older<br>&gt; version (EL3) Their constraints were simple. Get it
<br>&gt; done fast, and get<br>&gt; it done right. IT helped that they required minimal<br>&gt; customization. The<br>&gt; fastest way I know to get a RH Box built is by using<br>&gt; Kickstart, and a<br>&gt; remote boot.&nbsp;&nbsp;Remote boot wasn't possible for their
<br>&gt; datacenter, as<br>&gt; DHCP/Bootp was not allowed, so I used the floppy<br>&gt; method (faster than<br>&gt; burning up custom CD's) Also note that these servers<br>&gt; were located north<br>&gt; of Boston Mass, and I was still in buffalo and
<br>&gt; everything needed to be<br>&gt; done via remote. (had a guy onsite to insert<br>&gt; floppies for initial<br>&gt; bootup). A NFS server was setup (super EASY), as<br>&gt; every linux box that<br>&gt; had it installed via default as it was IN USE there.
<br>&gt; The ISO images for<br>&gt; RHEL3 was put in place as well as kickstart config<br>&gt; files tailored to<br>&gt; each machine. I had a tech boot the machines off of<br>&gt; floppy, while I<br>&gt; watched them through a remote IP KVM (two disks were
<br>&gt; needed to do the<br>&gt; NFS boot (the drive disk was necessary for gigabit<br>&gt; ethernet support).<br>&gt; From the point where the second floppy was read and<br>&gt; the install started<br>&gt; to the time it finished and the machine was ready to
<br>&gt; reboot took 13<br>&gt; minutes installing via NFS. It installed about 3GB<br>&gt; worth of data, so it<br>&gt; wasn't an &quot;everything&quot; install.&nbsp;&nbsp;Yes I could have<br>&gt; done an FTP or HTTP<br>&gt; install,&nbsp;&nbsp;but those require significant more setup
<br>&gt; time, as there were<br>&gt; not FTP servers or http servers available for use<br>&gt; for that task,&nbsp;&nbsp;but<br>&gt; nearly ever unix/linux box in the datacenter (and<br>&gt; there's about 185<br>&gt; systems in there) could have been used for NFS.
<br>&gt;<br>&gt; Hope you all enjoyed my long winded uses of NFS.&nbsp;&nbsp;If<br>&gt; anyone knows a<br>&gt; better way that's more efficient, uses less CPU and<br>&gt; is easier to do,<br>&gt; please respond.<br>&gt;<br>&gt; So NFS is used in the real world, even though it's
<br>&gt; been around a long<br>&gt; time (which is a GOOD thing),&nbsp;&nbsp;it's alive and well,<br>&gt; and has more uses<br>&gt; than you might think.<br>&gt;<br>&gt; Apologies for all the spelling and gramatical<br>&gt; errors.
<br>&gt;<br>&gt; -- David Andruczyk<br>&gt; Unix/Linux Systems Administrator<br>&gt; IBM Global Services<br>&gt;<br>&gt; __________________________________________________<br>&gt; Do You Yahoo!?<br>&gt; Tired of spam?&nbsp;&nbsp;Yahoo! Mail has the best spam
<br>&gt; protection around<br>&gt; <a href="http://mail.yahoo.com">http://mail.yahoo.com</a><br>&gt; _______________________________________________<br>&gt; nflug mailing list<br>&gt; <a href="mailto:nflug@nflug.org">nflug@nflug.org
</a><br>&gt; <a href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br>&gt;<br><br>_______________________________________________<br>nflug mailing list<br><a href="mailto:nflug@nflug.org">
nflug@nflug.org</a><br><a href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br></blockquote></div><br>