[DRBD-user] Clairifcation on primary/primary

Martin Gombac martin at isg.si
Mon Dec 17 13:07:27 CET 2007

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


For all versions of DRBD up till 0.7.24 which i have used i can tell  
you that DRBD does NOT support mounting the same resource +rw on more  
than one node.

Dunno for 0.8.* yet but i think it still doesn't. :-)

Right now i would say you have a split brain setup. :-)

Regards,
M.

On 2007.12.17, at 12:25, Rus Foster wrote:

> Hi,
> I've been reading a lot of documentation and managed to get myself  
> a bit confused so wondered if some kind sole would just point me in  
> the correct direction
>
> I'm trying to setup a two node cluster with the idea of if node1  
> writes to /home the file can be accessed on node2 but I want both  
> nodes to have the ability to write to the device at the same time.  
> I've setup a drbd device and set allow-two-primaries; in /etc/ 
> drbd.conf.  On both nodes I've run
>
> drbdadm primary all
>
> to set to primary
>
> I then mounted /home on both nodes (rw) and if I touch a file on  
> one node it doesn't appear on the other.
>
> As such can someone confirm
>
> Is this even possible with drbd handling the file locking for me or  
> do I have to look at setting up GFS to get this functionality.  
> Googling has chucked up a bit but I've ended up confused and going  
> around in circle
>
> Thanks
>
> Rus
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list