Re: [gentoo-user] SMB/CIFS or NFS?

2011-04-21 Thread Mike Edenfield
On 4/20/2011 9:21 PM, Pandu Poluan wrote:
 Okay, I'm combining the portage distfiles dir into a storage server.
 
 Problem: the storage server is Windows 2003.
 
 Question: should I mount the distfile dir using SMB/CIFS or NFS? Is
 there any performance and/or complexity issues?

My own anecdotal experience thus far has been that CIFS,
out-of-the-box, outperforms NFS and just generally works better when
the underlying OS is Windows. (Caveat: I have not used NFS Services in
2008, only 2003R2 and SFU).

As far as complexity: if you are running Windows 2003 R2 then NFS
Services are built-in, and once you start the services, creating and
managing an NFS share through the UI is basically the same as creating
and managing a CIFS one, except for the differences in how the security
model works. Setting up CIFS on a Linux client is simple enough, and
also not that much more complex than setting up NFS.

If you're running Windows 2003 non-R2 and want NFS, you'll need the
Services for UNIX component, at which point I would contend it's not
worth the effort.

--Mike




Re: [gentoo-user] SMB/CIFS or NFS?

2011-04-21 Thread kashani

On 4/20/2011 6:21 PM, Pandu Poluan wrote:

Okay, I'm combining the portage distfiles dir into a storage server.

Problem: the storage server is Windows 2003.

Question: should I mount the distfile dir using SMB/CIFS or NFS? Is
there any performance and/or complexity issues?



	I'd recommend avoiding NFS if possible. I've always found it painful to 
get working and touchy after the fact.


kashani



Re: [gentoo-user] SMB/CIFS or NFS?

2011-04-21 Thread kashani

On 4/21/2011 2:15 PM, kashani wrote:

On 4/20/2011 6:21 PM, Pandu Poluan wrote:

Okay, I'm combining the portage distfiles dir into a storage server.

Problem: the storage server is Windows 2003.

Question: should I mount the distfile dir using SMB/CIFS or NFS? Is
there any performance and/or complexity issues?



I'd recommend avoiding NFS if possible. I've always found it painful to
get working and touchy after the fact.

kashani



	... in a Windows and Linux environment. Figured I should add that to be 
clear.


kashani



Re: [gentoo-user] SMB/CIFS or NFS?

2011-04-20 Thread Andy Wilkinson
On 04/20/2011 06:21 PM, Pandu Poluan wrote:
 Okay, I'm combining the portage distfiles dir into a storage server.

 Problem: the storage server is Windows 2003.

 Question: should I mount the distfile dir using SMB/CIFS or NFS? Is
 there any performance and/or complexity issues?

 Thanks in advance.

 Rgds,

I have noticed better performance in straight copies from NFS on my
Windows SBS 2003, but I have had some trouble getting UIDs to map
correctly on the linux end.  Admittedly, though, I haven't gone to a
great deal of effort to map every Windows user to a UID.  I haven't
tested rsync, but cp did go much more quickly on the files I was looking
at (few, 2GB files).

-Andy