Linux Shares: SMB or NFS?
March 25, 2009 11:29 AM
Subscribe
Which is the better way to share Linux folders with Vista and OS X: SMB or NFS?
I'm an IT consultant who works from home. I have a MacBook Pro, a Vista x64 desktop, and a Linux box on which I run VMWare. Since a lot of what I do is LAMP based websites, my typical way of working is to set up a CentOS 5.2 VMWare image with the LAMP stack for each customer's site, running on the Linux box. I work on my Vista desktop in Eclipse 3.4.
What's worked well so far is to create an SMB share for the web directory on the VMWare image, and locate the Eclipse project there. I get to work in Eclipse on a box with plenty of horsepower so it's fast, and I don't need to transfer files to the image to see changes. I've tried using the VMWare console, and doing remote X on my Vista box, and both are sluggish in comparison.
However, the nagging detail I want to address is that SMB seems like a really poor way to access the share. When I save files in Eclipse, there's a momentary pause, and often a hard drive noise, like I'm waking something up to access the share, even if I'm doing it every 30 seconds. I'm generally dissatisfied with SMB because I'd hoped to use the Linux box's copious hard drive space (2 TB) as networked backup for my laptop and desktop, but it seems unable to keep up, especially with large numbers of files.
So: Is NFS a better way to make shares available on Linux? I'm pretty sure that Vista has no problem accessing NFS shares with it's Unix services subsystem, and Leopard is unix based, so shouldn't have a problem either (I'd like to be able to do on my laptop what I do on my desktop). Is there something else I should be looking at?
My network is via an Airport Extreme N.
Bonus Question: I'm sharing a printer connected to my Vista box, and I've allowed guest access. Whenever my girlfriend tries to print from her MacBook, she gets a dialogue that asks whether she wants to connect as a guest or a named account; selecting guest works fine. Can we get rid of the dialogue and make it connect as a guest without asking?
Bonus Bonus question: Anyone using PHP have an IDE they're more satisfied with than Eclipse, that includes SVN integration?
Thanks in advance.
posted by fatbird to technology (12 comments total)
4 users marked this as a favorite
posted by zsazsa at 11:31 AM on March 25