You are not logged in.

#1 2010-11-27 16:15:55

Arteal
Member
From: Brno
Registered: 2010-11-26
Posts: 2
Website

device-mapper not working after kernel update

Hi, yesterday i've upgraded kernel to 2.6.36 and I was so happily so i rebooted immediatly, but it ended up with error. that it can't found /dev/mapper/archarray-archroot, which is, of course my root partition.
I'm using to raid1 partitions:
/dev/md0 with boot ext2 partitions (archboot partition)
/dev/md1 with LVM (volume group arrcharay, partitions archroot, archvar and archdata)
When in sandbox i've tried lsmod and i see, that i have raid1,ext2,ext4(root partition),md_mod and dm_mod loaded(and some more of course), so i think there's nothing missing to fire-up root partition.
I've tried to boot up install (from USB stick) and mount root patition with following:
modprobe dm_mod raid1
mdamdm --examine --scan >> /etc/mdam.conf
mdassemble
vgscan
vgchange -ay

And it worked, so my disk nor LVM setting is not broken.
Only thing that i think i can did wrong, is that i've commented /dev/md1 entry in /etc/mdam.conf. I was confused by "name=archiso:1" because i haven't use "archiso" anywhere when creating LVM volumes. So i thought i will try it, and if anything go bad, i will undo this. But it worked ... until kernel update.


Sysadmin in love with Arch Linux for years

Offline

#2 2010-11-27 16:41:33

Arteal
Member
From: Brno
Registered: 2010-11-26
Posts: 2
Website

Re: device-mapper not working after kernel update

It was problem with my badly edited /etc/mdadm.conf, so I'm sorry for this.


Sysadmin in love with Arch Linux for years

Offline

Board footer

Powered by FluxBB