drbd configiration error
hai friends
I am getting like this error when start drbd service. please help me how to add drbd module in /proc/module. i am getting following error ERROR: Module drbd does not exist in /proc/modules Can not load the drbd module. is it possible to install without heartbeat only for replication purpose or any other way to install please advise me i am using centos5 thanks |
Well it looks like you need two packages for this to work:
kmod-drbd-xen.x86_64 : drbd kernel module(s) kmod-drbd.x86_64 : drbd kernel module(s) kmod-drbd-xen.x86_64 : drbd kernel module(s) kmod-drbd.x86_64 : drbd kernel module(s) kmod-drbd-xen.x86_64 : drbd kernel module(s) drbd.x86_64 : Distributed Redundant Block Device driver for Linux drbd.x86_64 : Distributed Redundant Block Device driver for Linux That's a snippet of what I get. The module you need will be in the kmod package. So run: Code:
rpm -qa "*drbd*" |
drbd startup error
Quote:
Now installed module but when start the service i getting following error service drbd restart Restarting all DRBD resources: 0: Failure: (114) Lower device is already claimed. This usually means it is mounted. Command '/sbin/drbdsetup 0 disk /dev/sda /dev/sda internal --set-defaults --create-device --on-io-error=detach' terminated with exit code 10 please advise me how to solve it Thank u |
mount |grep sda
What is the output? To say thanks, click the blue thumbs up on the bottom right of the post that has helped you. |
drbd error
Quote:
When i use this command mount | grep sda output is /dev/sda2 on / type ext3 (rw) /dev/sda1 on /boot type ext3 (rw) /dev/sda5 on /home type ext3 (rw) /dev/sda3 on /var type ext3 (rw) Any other solutions |
drbd error
Quote:
now i start drbd service in both nodes , i am getting following error. service drbd restart Restarting all DRBD resources: 0: Failure: (114) Lower device is already claimed. This usually means it is mounted. Command '/sbin/drbdsetup 0 disk /dev/sda /dev/sda internal --set-defaults --create-device --on-io-error=detach' terminated with exit code 10 . please advise me , or any other solutions. thanks |
Quote:
The issue is you are starting this drbd service and you have [or default] it configured to use /dev/sda but /dev/sda is in you mounted as /, /boot/, /home and /var Check you configuration, try using a disk that is not in use/mounted. |
drbd error
Quote:
then i will create one new partition . like /dev/sda7 and put it in drbd.config file. is it correct. or advise me Thank u |
I am sorry I do not know how drbd works. So can't say. I am sure the manual would say.
|
Hello,
At this link you'll find an easy to follow, step by step guide for setting up and configuring DRBD on CentOS. Compare it to yours, with special attention to the mounted/unmounted state of the partitions ;). Kind regards, Eric |
drbd error
Quote:
hai I have one doubt. pleae advise me, 1. Is it possible to install DRBD without clustering? 2. Can support DRBD with SATA Harddisk ? or Possible to SCICI Thanks SAran |
Quote:
|
drbd error
Quote:
I am trying to install drbd with two nodes. it contains sata harddisk with both system same configurations. i am not able start server it shows /dev/sda already mounted .error code is 10. Please advise me. |
Before start the DRBD manually unmount the particular partition (the partition that you are using for replication). if everything fine then comments the entry from fstab permanently (for particular partition)
|
drbd error
Quote:
/dev/sda is fully harddisk device partition inside this lot of sub partition created while installing like this /dev/sda1 mounted boot /dev/sda2 mounted in root /devsda3 for /home now what can i do please advise me |
All times are GMT -5. The time now is 06:45 PM. |