[DRBD-user] Power off caused "Unknown" status.
guohuai_li at hotmail.com
Thu Apr 9 12:24:53 CEST 2009
I met below problem, would you help to tell me how to handle it?
Now has two machine: A (primary), B (seconday)
I installed DRBD8.3.0 on these two machines.
1) Now A is primary, B is seconday.
2) B power off
3) Then, on machine A, issue command "/sbin/drbdadm primary r0", and issue command "/bin/mount /dev/drbd0 /usr/local/fountain/database/xyz"
found its status is "primary/unknown"
It is reasonably.
4) Now B power on.
On machine A, issue command:
"/sbin/umount /dev/drbd0" and "/sbin/drbdadm secondary r0".
And then, on machine B, issue command:
"/sbin/drbdadm primary r0", and issue command "/bin/mount /dev/drbd0 /usr/local/fountain/database/xyz"
5) Now problem occurs:
On machine B, "primary/unknown", on machine A, "secondary/unknown"
And I do above procedure two times, the second time, it is just like above; at the first time, the DRBD status is proper.
Would you help to explain this?
Any other command is needed to avoid this problem ?
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the drbd-user