[Samba] NAS on 2 sites connected via slow link

Kevin Keane subscription at kkeane.com
Thu Nov 26 01:20:27 MST 2009


I take it that the slow link is between the 192.168.1 and the 192.168.5 subnets?

So you currently have:

Client ------SLOW--------> NAS

If you mount the NAS directory on your PDC, the data doesn't magically travel to the other end of your slow link.

You are, of course, right that the clients would have a fast connection - but the PDC still has a slow connection.

Client -----FAST---------> PDC ---------SLOW-----------> NAS

Installing a second server on site B also wouldn't solve the problem. You would then have:

Client -----SLOW---------> new server -------FAST-------> NAS

Basically, you need to focus on the slow link instead of on clients connect.

What I was thinking:

Client -----FAST---------> cache
Cache ------SLOW---------> NAS

This would decouple the client's data transfer from the NAS device.

> -----Original Message-----
> From: samba-bounces at lists.samba.org [mailto:samba-
> bounces at lists.samba.org] On Behalf Of Koen Linders
> Sent: Wednesday, November 25, 2009 11:56 PM
> To: samba at lists.samba.org
> Subject: Re: [Samba] NAS on 2 sites connected via slow link
> 
> I hope I'm clear about what I try to do and what I hope would happen :)
> I thought the data didn't had to be transferred over the link.
> 
> Lets say
> Site A: PDC 192.168.1.2/24
> Site B: NAS 192.168.5.2/24
> 
> I thought I could mount the NAS on a directory defined as share on the
> PDC.
> And when mounted that when they log on to the PDC and copy/access the
> data
> on the share (NAS) traffic stays local because it happens all in the
> same
> subnet?
> Accessing the data would be from Explorer in Windows XP SP3.
> 
> I'm probably wrong reading your reaction. So maybe I'm better off
> installing
> a 2d server on site B?
> 
> > -----Oorspronkelijk bericht-----
> > Van: samba-bounces at lists.samba.org [mailto:samba-
> > bounces at lists.samba.org] Namens Kevin Keane
> > Verzonden: donderdag 26 november 2009 8:41
> > Aan: samba at lists.samba.org
> > Onderwerp: Re: [Samba] NAS on 2 sites connected via slow link
> >
> > Seems like a nightmare in the making... Basically, no matter what you
> > do, the data has to be transferred.
> >
> > How are users going to access the files on site B? If it is through a
> > Web browser, then a caching proxy in Site A might be your best
> answer.
> >
> > Your best option might be to cache the files on Site A, and use rsync
> > to copy them to/from site B. If the NAS doesn't support rsync, look
> > into FTP - it's probably the fastest data transfer protocol around.
> >
> > Don't use NFS over slow links. It's one of the weaknesses of NFS.
> >
> > > -----Original Message-----
> > > From: samba-bounces at lists.samba.org [mailto:samba-
> > > bounces at lists.samba.org] On Behalf Of Koen Linders
> > > Sent: Wednesday, November 25, 2009 10:38 PM
> > > To: samba at lists.samba.org
> > > Subject: [Samba] NAS on 2 sites connected via slow link
> > >
> > > Lets say: 2 sites: 2 subnets connected via slow link (1M)
> > > Site A: Samba 3 PDC
> > > Site B: NAS for large videofiles
> > >
> > > People will work with/view the files on site B. Data will grow in
> > time.
> > > I want to mount the NAS on the PDC so I can integrate it in a share
> > on
> > > site
> > > A.
> > >
> > > Anyone has good/bad experience with this kind of situation? Maybe a
> > NAS
> > > system which works without a problem?
> > > Anything I should check for (NFS support I guess)?
> > >
> > > Greeting,
> > > Koen Linders
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  https://lists.samba.org/mailman/options/samba
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list