Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screwed system (lvm2 unmerged) need help please
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
z0ttel
n00b
n00b


Joined: 04 Sep 2008
Posts: 10

PostPosted: Mon Feb 15, 2010 7:23 pm    Post subject: Screwed system (lvm2 unmerged) need help please Reply with quote

Hi guys,

please don't ask why (me <= dumb*ss :roll: ), but yesterday I removed Lvm2 from my running gentoo system by 'emerge --unmerge lvm'. Today I recognized my fault because all virtual drives weren't available at all :?

Using the installation cd, I am able to mount all drives manually and then to chroot into that system. But then, a "emerge -av lvm2" throws an error about that "sys-fs/device-mapper" is blocking sys-fs/lvm2-2.02.56-r2

There I'm stuck :( I just want to re-install lvm2 to be able to use the system again - is there the possibility to use the lvm2 in the same version it has been used before the removal? Maybe it's still present in the portage/sys-fs/lvm2-tree?
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Mon Feb 15, 2010 7:41 pm    Post subject: Reply with quote

As I see it, you don't need sys-fs/device-mapper anymore to run an MD RAID/LVM setup. On my stable server I have sys-fs/lvm2-2.02.56-r2 and no sys-fs/device-mapper.

I guess the wisest thing would be to run an emerge -uD world from you chrooted environment, install the current version of lvm2 and get rid of device-mapper in the process.
Back to top
View user's profile Send private message
z0ttel
n00b
n00b


Joined: 04 Sep 2008
Posts: 10

PostPosted: Mon Feb 15, 2010 7:53 pm    Post subject: Reply with quote

hmm, now it complains about sys-fs/e2fsprogs-1.14.8 blocking sys-apps/util-linux-2.16.2 which seems to be required by lvm2-2.02.56-r2 ... :?:

Is there a chance to see which version of lvm2 has been used just before the removal? I guess that installing that version should not introduce any new errors...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Mon Feb 15, 2010 8:59 pm    Post subject: Reply with quote

z0ttel,

Everything you ever emerged is in /var/log/emerge.log.

Code:
grep lvm /var/log/emerge.log
will show it every time its been installed an removed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
z0ttel
n00b
n00b


Joined: 04 Sep 2008
Posts: 10

PostPosted: Fri Feb 19, 2010 5:02 pm    Post subject: Reply with quote

NeddySeagoon wrote:
z0ttel,

Everything you ever emerged is in /var/log/emerge.log.

Code:
grep lvm /var/log/emerge.log
will show it every time its been installed an removed.


Thanks a lot - that helped! System is running again :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum