Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ZFS kernel panic after installing new disks - HELP![solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tenspd137
Guru
Guru


Joined: 22 Aug 2006
Posts: 391

PostPosted: Fri Dec 13, 2013 10:39 pm    Post subject: ZFS kernel panic after installing new disks - HELP![solved] Reply with quote

Hi all,

I just finished mirroring new disks into my ZFS root (rpoolc). After I changed them both, I ran genkernel to include a new zpool.cache:

Code:

genkernel initramfs --no-clean --no-mountboot --zfs --callback="emerge @module-rebuild"


I use UEFI stub to boot. So I simply copied the new initramfs into my EFI partition where I keep the kernel and initramfs. When I reobot, I get a message saying that rpoolc is already imported, it can't determine the root device, and that rpoolc/ROOT/gentoo is not a valid file system.

I have tried booting up Ubuntu liveCD as I use the latest ZFS version and Gentoo LiveCD does not support that. I then zpool import rpoolc -R /tmp/mnt, and basically chroot in and try to recreate a new zpool.cache with no luck (this has usually fixed my problem in the past). I am now at a total loss. There has to be a way to fix this - any suggestions?

Oh - genkernel initramfs refuses to give me an option to drop into a rescue shell - otherwise I would just fix this with an export/import of the pool and then continue booting.

Thanks!


Last edited by tenspd137 on Tue Jan 21, 2014 9:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
tenspd137
Guru
Guru


Joined: 22 Aug 2006
Posts: 391

PostPosted: Sat Dec 14, 2013 6:19 am    Post subject: Reply with quote

Figured out I need to use gnekrnel-next. genkernel has a bug about using /dev/disk/by-id which is how my ZFS mirror is made. I have at least figured out how to manually boot up now.

Thanks ryao, dlan, and prometheanfire!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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