LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-16-2012, 08:06 PM   #1
malayo
Member
 
Registered: Dec 2010
Posts: 130

Rep: Reputation: 1
failed to start drbd on centos 5.7


on 2 centos 5.7 servers, i had created a drbd config

Code:
global { usage-count no; }
resource repdata {
  protocol C;
  startup { wfc-timeout 0; degr-wfc-timeout     120; }
  disk { on-io-error detach; } 
  net {  cram-hmac-alg "sha1"; shared-secret "passw0rD231"; }
  syncer { rate 10M; }
  on server01.mydomain.com {
    device /dev/drbd1;
    disk /dev/VolGroup01/server01;
    address 172.16.0.1:7788;
    meta-disk internal;
  }
  on server02.mydomain.com {
    device /dev/drbd1;
    disk /dev/VolGroup01/server02;
    address 172.16.0.3:7788;
    meta-disk internal;
  }
}
but it failed to start after i created metadata on both nodes

Code:
# service drbd start
Starting DRBD resources: [ d(repdata) 1: Failure: (104) Can not open backing device.

[repdata] cmd /sbin/drbdsetup 1 disk /dev/VolGroup01/server01 /dev/VolGroup01/server01 internal --set-defaults --create-device --on-io-error=detach  failed - continuing!
 
Old 02-16-2012, 08:35 PM   #2
malayo
Member
 
Registered: Dec 2010
Posts: 130

Original Poster
Rep: Reputation: 1
solved by removing & reinstalling package drbd & kmod-drbd then made sure the second node also started right after startingdrbd service on the first node
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone seen a DRBD + Heartbeat + Nfs + Centos Updated howto? szboardstretcher Linux - Software 1 09-08-2011 11:19 AM
DRBD + GFS2 on Centos 5.4 cman problem smbdie Linux - Server 1 07-13-2011 01:06 AM
CentOS 5.5 Sendmail start failed zzycn Linux - Newbie 1 09-03-2010 05:07 AM
[SOLVED] drbd failed to install in debian lenny. wakkana12 Linux - Server 9 04-22-2010 02:44 AM
Device already mounted or mount point busy with CentOS/corosync/pacemaker/DRBD aschoessler Linux - Server 1 04-02-2010 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration