Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As the title states just a quick question about load balancing

Was reading the following article:

And it got me thinking ... We currently have a DFSR site and at current are remapping clients network drives to their closest location. I know it wouldn't be ideal but going for a Proof of concept maybe for DR / BC ..

Could you set up the linux load balancer using the SMB file sharing ports to distribute the connections between the servers equally?

I.e Client --> Linux LB Server --> one of the File Servers

share|improve this question

It seems to me that using a proper clustering filesystem would be more effective then attempting to retrofit it onto SMB.

share|improve this answer

You might want to look at ldirectord to accomplish this.

We use ldirectord to load balance our web servers, but I'm pretty sure it's flexible enough to work with file servers as well. It can distribute connections in a number of ways, such as "least connected", "fastest response time", "round robin" etc (all the options available ipvsadm)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.