Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with lvm2
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
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Wed Aug 04, 2010 10:12 am    Post subject: problem with lvm2 Reply with quote

I have "hardware" raid and am forced to use lvm2 because of that.

After upgrading lvm2 to any version above lvm2-2.02.67-r2 I get unbootable system because the disks are not found

anyone experiencing same problems?
_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
mr.sande
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2010
Posts: 82
Location: Norway

PostPosted: Wed Aug 04, 2010 7:53 pm    Post subject: Reply with quote

Nope, lvm2 works just fine with 2.02.67-r2 on my laptop. Though Im not using raid of any kind. Are you using genkernel? Have you updated the initramfs?
Back to top
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Wed Aug 04, 2010 11:28 pm    Post subject: Reply with quote

mr.sande wrote:
Nope, lvm2 works just fine with 2.02.67-r2 on my laptop. Though Im not using raid of any kind. Are you using genkernel? Have you updated the initramfs?

2.02.67-r2 works, but anything above it doesnt.
Im not using genkernell and I have not updated initramfs (I have updated lvm2 many times and everything worked, until now)
_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Aug 04, 2010 11:47 pm    Post subject: Reply with quote

Recently, lvm2 started to use libm.
Under what exact conditions does the failure happen ?
Back to top
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Thu Aug 05, 2010 9:34 am    Post subject: Reply with quote

VoidMage wrote:
Recently, lvm2 started to use libm.
Under what exact conditions does the failure happen ?

The failure happens when I try to boot:
fsck fails (probably because it didnt found the partitions) and then the rest of the init scripts fail
Im still able to login after that, just to see that I cant do anything, my root is mounted read-only and the rest of partitions arent mounted at all
I can see that no device nodes for my partitions are present
To resolve this I have to chroot from cd, downgrade lvm2 and after that the system boot fine
_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23193

PostPosted: Fri Aug 06, 2010 2:28 am    Post subject: Reply with quote

What is the output from the initramfs when it tries to set the LVM volumes to active?
Back to top
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Fri Aug 06, 2010 9:13 am    Post subject: Reply with quote

Hu wrote:
What is the output from the initramfs when it tries to set the LVM volumes to active?

how do I check that?

Do I need to rebuild initramfs after update?
I have done many earlier updates of lvm2 and didnt do anything to initramfs and all was fine
_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23193

PostPosted: Fri Aug 06, 2010 11:14 pm    Post subject: Reply with quote

cst wrote:
Hu wrote:
What is the output from the initramfs when it tries to set the LVM volumes to active?
how do I check that?
Look at your screen, or the serial console if you are using a serial line to monitor the system.
cst wrote:
Do I need to rebuild initramfs after update?
I have done many earlier updates of lvm2 and didnt do anything to initramfs and all was fine
Generally, no. I do not have any machines with which I can test boot that new a version of lvm2 at this time, so it is possible that you do need to rebuild this time.
Back to top
View user's profile Send private message
tiou42
n00b
n00b


Joined: 07 Jun 2009
Posts: 2
Location: Paris

PostPosted: Tue Aug 10, 2010 5:19 pm    Post subject: Reply with quote

I had the same problem and resolved the problem by downgrading udev to sys-fs/udev-149.
After this i had no more the fsck error.

I found this solution here:
https://bugs.gentoo.org/show_bug.cgi?id=292833
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