View previous topic :: View next topic |
Author |
Message |
cst Apprentice

Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Wed Aug 04, 2010 10:12 am Post subject: problem with lvm2 |
|
|
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 |
|
 |
mr.sande Tux's lil' helper

Joined: 26 Apr 2010 Posts: 82 Location: Norway
|
Posted: Wed Aug 04, 2010 7:53 pm Post subject: |
|
|
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 |
|
 |
cst Apprentice

Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Wed Aug 04, 2010 11:28 pm Post subject: |
|
|
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 |
|
 |
VoidMage Watchman


Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Aug 04, 2010 11:47 pm Post subject: |
|
|
Recently, lvm2 started to use libm.
Under what exact conditions does the failure happen ? |
|
Back to top |
|
 |
cst Apprentice

Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Thu Aug 05, 2010 9:34 am Post subject: |
|
|
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 |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23193
|
Posted: Fri Aug 06, 2010 2:28 am Post subject: |
|
|
What is the output from the initramfs when it tries to set the LVM volumes to active? |
|
Back to top |
|
 |
cst Apprentice

Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Fri Aug 06, 2010 9:13 am Post subject: |
|
|
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 |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23193
|
Posted: Fri Aug 06, 2010 11:14 pm Post subject: |
|
|
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 |
|
 |
tiou42 n00b

Joined: 07 Jun 2009 Posts: 2 Location: Paris
|
Posted: Tue Aug 10, 2010 5:19 pm Post subject: |
|
|
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 |
|
 |
|