LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 07: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, 08:42 PM   #2
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Rep: Reputation: 39
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, 09: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, 10:07 PM   #4
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Rep: Reputation: 39
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, 02: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, 02:10 AM   #6
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Rep: Reputation: 39
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, 02:20 AM   #7
pyruby
LQ Newbie
 
Registered: Oct 2009
Posts: 17

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:45 PM.

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