Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting from dmraid
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
fletch.dp
n00b
n00b


Joined: 26 Dec 2012
Posts: 2

PostPosted: Wed Dec 25, 2013 2:16 pm    Post subject: Booting from dmraid Reply with quote

I have RAID10 assembled on HighPoint RocketRaid, pata_hpt37x module is compiled in kernel, genkernel Initramfs built with --dmraid option, while booting /dev/mapper/hpt45x_gihigibga, /dev/mapper/hpt45x_gihigibga-0, /dev/mapper/hpt45x_gihigibga-1 appears in /dev/mapper. But I can't see this partitions:

/dev/mapper/hpt45x_gihigibga1
/dev/mapper/hpt45x_gihigibga2
/dev/mapper/hpt45x_gihigibga3
/dev/mapper/hpt45x_gihigibga4

And so boot process fails with "is not a valid root device"

While booting from livecd after running dmraid -ay -vv I can see hpt45x_gihigibga, hpt45x_gihigibga-0, hpt45x_gihigibga-1 in /dev/mapper, only after kpartx -a /dev/mapper/hpt45x_gihigibga, i can see my partitons in /dev/mapper. I have this in grub.conf: real_root=UUID=[some-long-uuid] dodmraid. How can I run kpartx after dmraid is loaded by initramfs, cause without kpartx boot is failing? kpartx binary is included in initramfs, if I read correctly gen_initramfs.sh build script.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 289
Location: Germany

PostPosted: Sun Dec 29, 2013 6:56 pm    Post subject: Reply with quote

the initramfs will run kpartx if you add "domultipath" to your kernel command line.
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