Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
11-15-2009, 04:32 AM
|
#1
|
Member
Registered: May 2009
Location: chennai
Posts: 247
Rep:
|
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
Last edited by saran_redhat; 11-15-2009 at 04:45 AM.
|
|
|
11-15-2009, 09:33 PM
|
#2
|
Member
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400
Rep:
|
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:
To see what you have installed.
|
|
|
11-16-2009, 01:00 AM
|
#3
|
Member
Registered: May 2009
Location: chennai
Posts: 247
Original Poster
Rep:
|
drbd startup error
Quote:
Originally Posted by DaveQB
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:
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
please advise me how to solve it
Thank u
|
|
|
11-16-2009, 08:05 PM
|
#4
|
Member
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400
Rep:
|
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.
|
|
|
11-16-2009, 10:40 PM
|
#5
|
Member
Registered: May 2009
Location: chennai
Posts: 247
Original Poster
Rep:
|
drbd error
Quote:
Originally Posted by DaveQB
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.
|
Thank u for your help
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
|
|
|
11-17-2009, 04:13 AM
|
#6
|
Member
Registered: May 2009
Location: chennai
Posts: 247
Original Poster
Rep:
|
drbd error
Quote:
Originally Posted by DaveQB
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.
|
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
.
please advise me , or any other solutions.
thanks
|
|
|
11-17-2009, 07:44 AM
|
#7
|
Member
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400
Rep:
|
Quote:
Originally Posted by saran_redhat
Thank u for your help
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
|
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.
|
|
|
11-18-2009, 12:41 AM
|
#8
|
Member
Registered: May 2009
Location: chennai
Posts: 247
Original Poster
Rep:
|
drbd error
Quote:
Originally Posted by DaveQB
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
Thank u
|
|
|
11-18-2009, 01:31 AM
|
#9
|
Member
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400
Rep:
|
I am sorry I do not know how drbd works. So can't say. I am sure the manual would say.
|
|
|
11-18-2009, 01:38 AM
|
#10
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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
|
|
|
11-18-2009, 11:06 PM
|
#11
|
Member
Registered: May 2009
Location: chennai
Posts: 247
Original Poster
Rep:
|
drbd error
Quote:
Originally Posted by EricTRA
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
|
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
|
|
|
11-18-2009, 11:50 PM
|
#12
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Rep: 
|
Quote:
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?
|
|
|
11-19-2009, 01:02 AM
|
#13
|
Member
Registered: May 2009
Location: chennai
Posts: 247
Original Poster
Rep:
|
drbd error
Quote:
Originally Posted by kirukan
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.
Please advise me.
|
|
|
11-19-2009, 01:06 AM
|
#14
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Rep: 
|
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)
Last edited by kirukan; 11-19-2009 at 01:17 AM.
|
|
|
11-19-2009, 02:54 AM
|
#15
|
Member
Registered: May 2009
Location: chennai
Posts: 247
Original Poster
Rep:
|
drbd error
Quote:
Originally Posted by kirukan
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
now what can i do
please advise me
|
|
|
All times are GMT -5. The time now is 07:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|