[Pacemaker] cannot create gfs2 filesystem : can't open device /dev/drbd1: Read-only file system

Digimer lists at alteeve.ca
Wed Oct 17 05:06:55 UTC 2012


On 10/17/2012 12:37 AM, Soni Maula Harriz wrote:
> hello all,
> i'm a newbie in clustering

No crime there. :)

> in node 1 :
> [root at cluster1 ~]# cat /proc/drbd
>  1: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown   r-----
> 
> in node 2 :
>  1: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown   r-----

This says that DRBD is not talking to it's peer (StandAlone, you want
Connected) and that neither node is in Primary state (Secondary can not
be even looked at, by design).

Further, both think that they are UpToDate and that the other is
Unknown. This means you've gotten a split-brain and you will need to
recover by telling DRBD which node's data you want to keep and which
node's data you want to overwrite. This can be avoided with fencing (aka
"stonith"), which you must use when you have shared storage.

digimer

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?




More information about the Pacemaker mailing list