[DRBD-user] Power off caused "Unknown" status.

guohuai li guohuai_li at hotmail.com
Thu Apr 9 12:24:53 CEST 2009

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


Hi All,

 

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"

cat /proc/drbd

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 ?

 

Best regards,

Edward

 

 

_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090409/54c036a2/attachment.htm>


More information about the drbd-user mailing list