Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569122 - sys-fs/zfs-0.6.5.3-r1 unable to import pool: internal error success
Summary: sys-fs/zfs-0.6.5.3-r1 unable to import pool: internal error success
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 08:46 UTC by alexander haensch
Modified: 2016-01-01 12:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexander haensch 2015-12-22 08:46:37 UTC
System does not boot correctly.
The systemd unit succeeds with errorcode 0 in the first Stage(import pools from cache) , but no pool import happens.
A manual
#zpool import storage
 gives:
Internal error success

Fixed the issue by downgrading only the sys-fs/zfs-0.6.5.3-r1 ebuild to sys-fs/zfs-0.6.5.3 while keepig spl and zfs-kmod components on their r1 version.

Reproducible: Always

Steps to Reproduce:
1.try to import pool
2.
3.
Actual Results:  
Error

Expected Results:  
Imported pools
Comment 1 Yixun Lan archtester gentoo-dev 2015-12-22 09:36:19 UTC
you need to re-generated the initramfs, included the newly built zfs modules.
read following carefully.

 
        einfo "sys-kernel/spl-0.6.5.3-r1, sys-fs/zfs-kmod-0.6.5.3-r1 and "
        einfo "sys-fs/zfs-0.6.5.3-r1 have introduced a partial stable "
        einfo "/dev/zfs API developed by ClusterHQ. This means that situations "
        einfo "arising from the kernel modules and userland tools being "
        einfo "mismatched on future updates will not cause problems."
        einfo
        einfo "In specific, this should solve the failure to mount filesystems when "
        einfo "old modules are cached in an old initramfs provided that those "
        einfo "modules support this API"
        if use rootfs
        then
                einfo
                ewarn "The older modules will *NOT* work with the new userland code."
                ewarn "It is very important that you update your initramfs after this "
                ewarn "update."
        fi
Comment 2 alexander haensch 2015-12-22 09:42:04 UTC
Okay.. Thanks for the Pointer. I will try that.