Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Last edited by saran_redhat; 11-15-2009 at 04:45 AM.
That's a snippet of what I get.
The module you need will be in the kmod package.
So run:
Code:
rpm -qa "*drbd*"
To see what you have installed.
hai thank u for Your replay
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
To say thanks, click the blue thumbs up on the bottom right of the post that has helped you.
hai
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
.
/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
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.
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.
Thank for your Reply
then i will create one new partition . like /dev/sda7 and put it in drbd.config file. is it correct. or advise me
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 .
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
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
Is it possible to install DRBD without clustering?
Actually DRBD doing replication and distribution of the data among the storage system(say like you have physically 2 different storage areas and you are replicate your data within these two storage system). I do not understand your questions what is your intention to install DRDB and why do you ask this with out clustering?
Actually DRBD doing replication and distribution of the data among the storage system(say like you have physically 2 different storage areas and you are replicate your data within these two storage system). I do not understand your questions what is your intention to install DRDB and why do you ask this with out clustering?
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.
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)
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)
Thank u for reply
/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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.