Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] LVM devices not mounting after emerge -DuN world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
johnlu
Apprentice
Apprentice


Joined: 22 Aug 2004
Posts: 239
Location: Córdoba, España

PostPosted: Fri Sep 05, 2014 5:12 pm    Post subject: [SOLVED] LVM devices not mounting after emerge -DuN world Reply with quote

My x86_64 system was running LVM2 and systemd correctly, after an updating and rebooting my system does not load lvm vg-home.

This is my system conf:

/etc/lvm/lvm.conf
http://dpaste.com/2HS6VEN

/boot/grub/grub.cfg
http://dpaste.com/25DWMB6

systemctl list-unit-files
http://dpaste.com/2GNR3HW

systemd-215-r3 is installed.
lvm2-2.02.109 is installed.

Any idea?
_________________
http://www.juanluperez.com


Last edited by johnlu on Thu Sep 11, 2014 1:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
umka69
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2013
Posts: 91

PostPosted: Fri Sep 05, 2014 9:00 pm    Post subject: Reply with quote

Did you try to load it manually?
First of all look thru logs (gmec). Show outputs.

PS: You can try rebuild your kernel and initrd with the latest sources. I had the same.
_________________
Make a wish, this text is magic. :)
Back to top
View user's profile Send private message
johnlu
Apprentice
Apprentice


Joined: 22 Aug 2004
Posts: 239
Location: Córdoba, España

PostPosted: Sat Sep 06, 2014 4:20 pm    Post subject: Reply with quote

umka69 wrote:
Did you try to load it manually?

What you mean about trying to load it manually? "systemctl start lvm2-lvmetad" or so??
I tried running vgscan, it does not find nor create /dev/vg volumes.

umka69 wrote:
First of all look thru logs (gmec). Show outputs.

Which logs do you need? What's gmec?

umka69 wrote:
PS: You can try rebuild your kernel and initrd with the latest sources. I had the same.


My kernel is updated (gentoo-sources-3.14.14) and rebuilt using genkernel-next: "genkernel all --install --menuconfig --lvm --udev"
_________________
http://www.juanluperez.com
Back to top
View user's profile Send private message
johnlu
Apprentice
Apprentice


Joined: 22 Aug 2004
Posts: 239
Location: Córdoba, España

PostPosted: Wed Sep 10, 2014 4:19 pm    Post subject: Reply with quote

This is my journalctl -xb output:

http://codepad.org/zzSAfICT
_________________
http://www.juanluperez.com
Back to top
View user's profile Send private message
johnlu
Apprentice
Apprentice


Joined: 22 Aug 2004
Posts: 239
Location: Córdoba, España

PostPosted: Wed Sep 10, 2014 4:28 pm    Post subject: Reply with quote

johnlu wrote:
This is my journalctl -xb output:

http://codepad.org/zzSAfICT


My LVM volumes are loading right when I boot my computer with OpenRC. So, my LVM configuration is okay. I suspect that Gentoo just broke it after an update. I need systemd because I use Gnome. Any idea? Is there anybody who can help?
_________________
http://www.juanluperez.com


Last edited by johnlu on Thu Sep 11, 2014 1:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
sebB
Apprentice
Apprentice


Joined: 02 Mar 2011
Posts: 257
Location: S.O. France

PostPosted: Wed Sep 10, 2014 9:52 pm    Post subject: Reply with quote

Can you adding in /etc/default/grub
Code:
GRUB_CMDLINE_LINUX="dolvm"

And in /etc/lvm/lvm.conf
Code:
use_lvmetad = 1

Then rebuild your intramfs
Back to top
View user's profile Send private message
johnlu
Apprentice
Apprentice


Joined: 22 Aug 2004
Posts: 239
Location: Córdoba, España

PostPosted: Thu Sep 11, 2014 1:15 pm    Post subject: Reply with quote

sebB wrote:
And in /etc/lvm/lvm.conf
Code:
use_lvmetad = 1

Then rebuild your intramfs

I had this enabled in lvm.conf and I had rebuilt initramfs.

sebB wrote:
Can you adding in /etc/default/grub
Code:
GRUB_CMDLINE_LINUX="dolvm"


This made my system to boot again!! I don't know why my system used to boot before the lastest update without this parameter in kernel command line.

sebB, many thanks! You really helped me!
_________________
http://www.juanluperez.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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