Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2005-09-02 21:44:05 +0530 \ Varun Menghani: > Hi, > I'm using drbd 0.7.11 with heartbeat. > I configured 2 systems and sync'ed them with 'drbdsetup /dev/drbd0 > primary --do-what-I-say' > Then I unplugged one system, stopped drbd and heartbeat, removed its > drbd partition and reconfigured it and re-enabled heartbeat and drbd, > and connected it again to the first device. > The 2 devices did sync up again, but I later found that I was getting a > error saying drbd primary i/o not allowed, drbd error on block device 1 > etc. I don't really remember the exact error. more likely it said: "not in primary state, no IO allowed", which is plain english and translates to "I cannot allow IO request while I am secondary". > However, I want to know whether I need to follow any other steps before > connecting a fresh device to a previously working one. you have to make one side primary before you try to access (mount) the device. if you "stopped" drbd, you have to make it primary again. heartbeat will do this for you using the drbddisk resource script. -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com : __ please use the "List-Reply" function of your email client.