LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-17-2009, 08:59 PM   #1
pyruby
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Rep: Reputation: 0
Problem removing drbd


I've set up drbd on 2 nodes. 1 of them behave abnormally recently so I tried to remove drbd on that node, hoping to configure it again, but it stopped me to do so.

When I tried "yum erase drbd", I got: "No Match for argument: drbd, No Packages marked for removal"

And when I tried "yum install drbd" I got:

---> Package drbd.i386 0:8.0.16-5.el5.centos set to be updated
--> Processing Conflict: drbd conflicts drbd82
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package drbd83.i386 0:8.3.2-6.el5_3 set to be updated
--> Processing Conflict: drbd83 conflicts drbd
--> Processing Conflict: drbd conflicts drbd83
--> Finished Dependency Resolution
drbd83-8.3.2-6.el5_3.i386 from extras has depsolving problems
--> drbd83 conflicts with drbd
drbd-8.0.16-5.el5.centos.i386 from extras has depsolving problems
--> drbd conflicts with drbd83
Error: drbd conflicts with drbd83
Error: drbd83 conflicts with drbd


What is drbd83? Is it a bug or something?
Any help will be appreciated! Thank you very much.
 
Old 11-17-2009, 09:42 PM   #2
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: PCLinuxOS 2010.12, Debian Lenny
Posts: 396

Rep: Reputation: 38
Interesting.


Code:
rpm -qa "drbd*"
To see what you have installed.
Then

Code:
yum search drbd
This drbd is very popular on LQ, in the newbie forum.
 
Old 11-17-2009, 10:13 PM   #3
pyruby
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Original Poster
Rep: Reputation: 0
drbd82-8.2.6-1.el5.centos is installed. And when I do "yum search drbd", I got:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cuhk.edu.hk
* updates: ftp.cuhk.edu.hk
* addons: ftp.cuhk.edu.hk
* extras: ftp.cuhk.edu.hk
adobe-linux-i386 | 951 B 00:00
base | 2.1 kB 00:00
updates | 1.9 kB 00:00
addons | 951 B 00:00
extras | 1.1 kB 00:00
================================ Matched: drbd =================================
drbd.i386 : Distributed Redundant Block Device driver for Linux
drbd82.i386 : Distributed Redundant Block Device driver for Linux
drbd83.i386 : Distributed Redundant Block Device driver for Linux
kmod-drbd.i686 : drbd kernel module(s)
kmod-drbd-PAE.i686 : drbd kernel module(s)
kmod-drbd-xen.i686 : drbd kernel module(s)
kmod-drbd82.i686 : drbd82 kernel module(s)
kmod-drbd82-PAE.i686 : drbd82 kernel module(s)
kmod-drbd82-xen.i686 : drbd82 kernel module(s)
kmod-drbd83.i686 : drbd83 kernel module(s)
kmod-drbd83-PAE.i686 : drbd83 kernel module(s)
kmod-drbd83-xen.i686 : drbd83 kernel module(s)


Any idea??
 
Old 11-17-2009, 11:07 PM   #4
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: PCLinuxOS 2010.12, Debian Lenny
Posts: 396

Rep: Reputation: 38
Right so you have drbd82 installed. So refer to the package with that name and you can't go wrong.

rpm -e drbd82
yum install drbd82
 
Old 11-18-2009, 03:06 AM   #5
pyruby
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the kind assistance. But now I got another problem: the nodes just don't connect.

m:res cs ro ds p mounted fstype
... sync'ed: 0.1% (99928/99944)M
0:r0 SyncSource Primary/Secondary UpToDate/Inconsistent C /mnt/drbd ext3



It seems the sync stalls... I tried "drbdadm -- --discard-my-data connect r0" on the secondary node which seems to have 'bad' data, but it still doesn't work. Any idea? Thanks in advance.
 
Old 11-18-2009, 03:10 AM   #6
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: PCLinuxOS 2010.12, Debian Lenny
Posts: 396

Rep: Reputation: 38
Sorry, I have never used drbd. Not really sure what it is let alone know how to configure it.

Hopefully someone else can help.
 
Old 11-18-2009, 03:20 AM   #7
pyruby
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Oh! Thanks anyway!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DRBD and Heartbeat problem linuxexpress Linux - Newbie 1 05-14-2009 12:29 PM
removing a DRBD resource alirezan1 Linux - Software 0 10-08-2008 06:04 PM
Help with drbd KAOZ_IT Linux - Server 1 08-29-2007 02:31 AM
Drbd vsergeev Linux - Networking 0 07-30-2007 11:35 AM
drbd problem - "device is full" gnomito Linux - Software 0 05-12-2004 01:31 PM


All times are GMT -5. The time now is 02: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration