Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import zpool #4686

Closed
clandmeter opened this issue May 23, 2016 · 2 comments
Closed

Failed to import zpool #4686

clandmeter opened this issue May 23, 2016 · 2 comments

Comments

@clandmeter
Copy link
Contributor

clandmeter commented May 23, 2016

After fixing most of #4385 we are trying cleanup things in Alpine Linux to include ZFS in our upcoming 3.4 release. I have applied most of the needed patches to the latest stable version, but when I reboot the zpool does not come online. Also a manual zpool import will result in a:
cannot import 'tank': no such pool available

When I try to import specifying the cache file with -c I get:
invalid or corrupt cache file contents: invalid or missing cache file

A strace when importing fails can be found here: http://tpaste.us/3Mjv

I also tried to compiled zfs tools from current master, and this does seem to allow importing again, so this seems only affected to latest stable.

@behlendorf
Copy link
Contributor

@clandmeter that's strange since the release branch receives by far the most testing and I haven't heard any similar reports. Have you tried using your patched version of the release branch on a non-Alpine Linux distribution to see if you can reproduce the issue?

@clandmeter
Copy link
Contributor Author

@behlendorf seems after rebasing the patches to current stable version zpool import is working properly.
Thanks again for your help on getting this to work on musl/alpine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants