[DRBD-user] DRBD rw access at both nodes

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Apr 1 09:02:05 CEST 2004

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


/ 2004-04-01 14:04:37 +0900
\ "Kotrappa(?????)":
> Hi List,
> 
> Is it possible to configure DRBD with active-active setup
> with rw access at both the nodes???
> 
> I have trick-setup like below:
> 
> hostname:
> 
> kusha                                           lawa
> 
> primary -------------------------------------> secondary
> /dev/nb0                                    /dev/nb0
> /dev/hdb8                                   /dev/hda8
> 
> 
> secondary <------------------------------primary
> /dev/nb1                                /dev/nb1
> /dev/hdb8                               /dev/hda8
> 
> 
> By this setup read-write access is configured at both nodes.
> please find attached drdb.conf file
> 
> drbd driver source modified at ~/drbd/drbd_fs.c: drbd_ioctl_set_disk()
> commented lines from 97-105: for (i=0;i<minor_count;i++) loop
> 
> drbd script modified at /etc/init.d/drbd : line 1203, commented # check_disk


    *** There might have been a reason to have these checks, no? ***


> I am using drbd 0.6.12 version.
> 
> this setup is not working for rw access at both nodes, I get
> SyncingAll : for /dev/nb1 trying to send blocks from lawa to kusha
> and eventually sock_sendmsg time out and decrementing ko counter.
> 
> thanks,
> Kotresh

Sorry for sounding sarcastic, but if you do not know what a gun is all
about, don't feel suprised if you shoot yourself playing with it...

BTW, which file system were you going to use?

	Lars Ellenberg



More information about the drbd-user mailing list