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

Digimer lists at alteeve.ca
Wed Oct 17 12:56:12 UTC 2012


Please paste your cluster.conf file and the output from 'cat
/proc/drbd'. Also, did you configure and test stonith/fencing?

digimer

On 10/17/2012 03:42 AM, Soni Maula Harriz wrote:
> ok, it's done. i can now create gfs2 filesystem in cluster2, by following
> configuration here www.neko-it.com/data-protection-2087.html
> 
> On Wed, Oct 17, 2012 at 2:02 PM, Soni Maula Harriz <
> soni.harriz at sangkuriang.co.id> wrote:
> 
>> 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
>>
>>
> 
> 


-- 
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