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

Soni Maula Harriz soni.harriz at sangkuriang.co.id
Wed Oct 17 07:02:37 UTC 2012


i succesfully created gfs2 filesystem on cluster1, the failure only happen
to cluster2

On Wed, Oct 17, 2012 at 2:00 PM, Soni Maula Harriz <
soni.harriz at sangkuriang.co.id> wrote:

> ok, the split brain condition has been resolved.
>
> On Wed, Oct 17, 2012 at 12:16 PM, Digimer <lists at alteeve.ca> wrote:
>
>> On 10/17/2012 12:58 AM, Soni Maula Harriz wrote:
>> > and when i restart drbd service on node 2, i found this message :
>> > [root at cluster2 ~]# service drbd restart
>> > Stopping all DRBD resources: .
>> > Starting DRBD resources: [ d(wwwdata) s(wwwdata) n(wwwdata) ]..........
>> > ***************************************************************
>> >  DRBD's startup script waits for the peer node(s) to appear.
>> >  - In case this node was already a degraded cluster before the
>> >    reboot the timeout is 0 seconds. [degr-wfc-timeout]
>> >  - If the peer was available before the reboot the timeout will
>> >    expire after 0 seconds. [wfc-timeout]
>> >    (These values are for resource 'wwwdata'; 0 sec -> wait forever)
>> >
>> > and this is the drbd config :
>> > include "drbd.d/*.res";
>> > global {
>> >  usage-count yes;
>> > }
>> > common {
>> >  protocol C;
>> > }
>> > resource wwwdata {
>> >  meta-disk internal;
>> >  device  /dev/drbd1;
>> >  syncer {
>> >   verify-alg sha1;
>> >  }
>> >  net {
>> >   allow-two-primaries;
>> >  }
>> >  on cluster1 {
>> >   disk   /dev/vg_cluster1/drbd-demo;
>> >   address  xxx.xxx.xxx.213:7789;
>> >  }
>> >  on cluster2 {
>> >   disk   /dev/vg_cluster2/drbd-demo;
>> >   address  xxx.xxx.xxx.235:7789;
>> >  }
>> > }
>>
>> Something is blocking your connection between the nodes' 'cluster1' and
>> 'cluster2' on the given IPs/Ports. Are you running a firewall? Can you
>> telnet to the opposing node's ip:port?
>>
>>
> i have disabled the firewall (service iptables stop) on both nodes, and
> the drbd driver has been loaded. but i still cannot do the telnet on port
> does it related to cman that i have configured and ran ?
> and still i cannot create the gfs2 filesystem, message 'can't open device
> /dev/drbd1: Read-only file system' still appear.
>
>
>>  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?
>>
>
>
>
> --
> Best Regards,
>
> Soni Maula Harriz
> Database Administrator
> PT. Data Aksara Sangkuriang
>
>


-- 
Best Regards,

Soni Maula Harriz
Database Administrator
PT. Data Aksara Sangkuriang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121017/5828ed76/attachment.htm>


More information about the Pacemaker mailing list