[DRBD-user] Mount filesystem on both servers?

Stefan Seifert nine at detonation.org
Thu Jan 22 12:51:51 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Thursday 22 January 2009 12:46:35 Dominik Klein wrote:
> Sorry Daniel, this was meant to go to the list.
>
> Daniel wrote:
> > Hi all,
> >
> > is there any way to mount the File-System on both nodes at the same
> > time?
> > What I want is that on node1 and node2 always have the same data on
> > the disk.
> >
> > For example an node1 someone published new photos for his website in
> > /var/www (mounted /dev/drbd1 to /var/www)
> >
> > on node2 the photos have to be available at the same time.
> > It seems that i am able to mount only one node at the same time ;(
> >
> > Is there any way to do so?
>
> Yes. Read up on primary/primary in the users-guide.
>
> http://www.drbd.org/users-guide/s-dual-primary-mode.html

But be advised, that running primary/primary with a cluster file system adds 
much complexity to an already complex system. Most probably, you just want to 
use NFS to access the files on the primary node from the secondary. Should be 
enough for most cases and is easier to handle and thus less error prone.

Regards,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090122/969f4ab0/attachment.pgp>


More information about the drbd-user mailing list