<p>Drbd is below file locking. It replaces the rsync process entirely. The samba server is set to master, a spare is set to slave, a second spare is setup offsite as slave. Writes are nearly concurrant. Reads are only from the master. Offsite will be slow but most md practice software is write seldom/read often. If samba dies, heartbeat can make spare become samba master. This does require compiling a kernel module. Über kewl tech!</p>

<p>Can also be done with GFS and moosefs. GFS is in stock RHEL kernels. DRBD is an add on. Slated for general use in RHEL 6.</p>
<p><blockquote type="cite">On Apr 13, 2010 5:15 PM, &quot;William Fragakis&quot; &lt;<a href="mailto:william@fragakis.com">william@fragakis.com</a>&gt; wrote:<br><br>Jim,<br>
The db can be run from a samba server. I have a test bed at home of the<br>
database and I run the Windows kvm using a samba directory for the<br>
storage - idea being that I can download the nightly offsite backups so<br>
worst comes to worst, I can replicate the office environment here (I<br>
really am paranoid about sprinklers, power surges and about anything<br>
else that might affect the family livelihood).<br>
<br>
I guess the issue would be the overhead of the db running off a samba<br>
share which is running drbd (very cool idea, btw). Given desktop level<br>
servers - dual/quad core athlons, etc. - is this a reasonable idea or<br>
should I just reach deep in my pocket and license a replication server?<br>
<br>
Also, does DRBD get around the file lock issue that prevents rsync from<br>
playing well. I would assume it does since it operates at block level<br>
but I&#39;d hate to assume too much.<br>
<br>
thanks.<br>
<font color="#888888">William<br>
</font><p><font color="#500050"><br>On Tue, 2010-04-13 at 13:04 -0400, Jim Kinney wrote:<br>&gt; <br>&gt; <br>&gt; On Tue, Apr 13, 2010 at 12:50 PM, Will...</font></p><p><font color="#500050">&gt; _______________________________________________<br>
&gt; Ale mailing list<br>&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>&gt; <a href="http://mail.ale.">http://mail.ale.</a>..</font></p></blockquote></p>