Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2010 16:50:18 -0700
From:      Xin LI <delphij@delphij.net>
To:        FreeBSD Current <freebsd-current@FreeBSD.ORG>,  Marcel Moolenaar <xcllnt@mac.com>
Subject:   [zfs] Mounting from (...) failed with error 19
Message-ID:  <4CBCDD3A.9070404@delphij.net>

next in thread | raw e-mail | index | archive | help
-----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@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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CBCDD3A.9070404>