[zfs] Mounting from (...) failed with error 19

From: Xin LI <delphij_at_delphij.net>
Date: Mon, 18 Oct 2010 16:50:18 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

With latest kernel I got:

	Mounting from (...) failed with error 19

On boot.  The system is using pure ZFS setup.  It seems that 19 means
ENODEV but according to the dmesg the device do exist.

At the beginning I thought it was because that zpool.cache was destroyed
somehow, so I have tried to use LiveFS and mkdir /boot/zfs, hostid
start, zpool import -f, mount pool/root, and copy /boot/zfs/zpool.cache
over it but unluckily this failed.

Escaping to boot loader prompt, and load old kernel, old opensolaris.ko,
old zfs.ko doesn't work.  However, using LiveFS to restore the whole
kernel back to previous version fixed the problem (mv kernel kernel.bad
&& mv kernel.old kernel).

Looking at the change log, I find that there is no intrusive changes to
ZFS itself but there are some changes against mountroot logic, but I'm
not convinced since loading kernel.old/kernel at boot loader should have
override this :-/

Any idea?

Cheers,
- -- 
Xin LI <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!	       Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQEcBAEBCAAGBQJMvN06AAoJEATO+BI/yjfBkuAH/0437KphO+sPWv+M0UNEW/Zi
FO6c6TErSl4cZiTyGUSUjjDMAM71E+OXMin5ELjSDQbB05Dd96uLUKiCObEYdz1o
hovpjbGy+ZNIeIBUvrCvdg14o8m9WipWGwVZDXEdHY9GOjcEJdWcmcL6xpsLMN7F
BadVL1c/FunVXjeRwhDwhO7YmFgzfE6rBJjbtPflCj2PeKPsyk7he0hL3iNyBbAx
5IvwHvd0bu3EkGk9slc9ogahJjOdq3SRPiiSnkKIZyRjCeeC+ptSvI9ri1evIpIX
EFoY1oEmNAkmtIBiVxNlRPeJ2kWQxDCkqWsDUgpwXrKKS5FL7cKssb9PYog/mVE=
=Buo+
-----END PGP SIGNATURE-----
Received on Mon Oct 18 2010 - 21:50:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC