Hello again,

after a while the setup stopped working completely. Even though the
status (cat /proc/drbd) showed that everything was ok on both nodes the
following message was issued when trying to mount the device on the
first node

root@node1:[/tmp] # mount -t ocfs2 /dev/drbd2 /var/www/
mount.ocfs2: Unable to access cluster service while trying to join the group

After rebooting both nodes things still did not work out. The attempt to
mount the device manually ended up with the message

root@node1:[~] # mount -t ocfs2 /dev/drbd2 /var/www/
mount.ocfs2: Device or resource busy while mounting /dev/drbd2 on /var/www/. 
Check 'dmesg' for more information on this error.

I was not able to see anything related in dmesg.

I suspect that the problems might have to do with the fact that I used
the device in a master/ slave setup before and the device was formatted
with ext4. After getting the master/master setup to work I simply
reformatted the device using ocfs2. I reinitialized the device
completely using the commands

Both nodes
drbdadm create-md r2

drbdadm attach r2

drbdadm syncer r2

Second node:
drbdadm -- --discard-my-data connect r2

First node:
drbdadm -- --overwrite-data-of-peer primary r2

drbdadm connect r2

Afterwards I formatted the device again using ocfs2.

Let's see whether things are working reliably now...


So long

Henning

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ocfs2-tools in Ubuntu.
https://bugs.launchpad.net/bugs/799711

Title:
  o2cb[11796]: ERROR: ocfs2_controld.pcmk did not come up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/799711/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to