Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2011 15:20:10 GMT
From:      Martin Simmons <martin@lispworks.com>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/153996: [zfs] zfs root mount error while kernel is not located in /boot/kernel
Message-ID:  <201101191520.p0JFKAZp077834@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/153996; it has been noted by GNATS.

From: Martin Simmons <martin@lispworks.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/153996: [zfs] zfs root mount error while kernel is not located in /boot/kernel
Date: Wed, 19 Jan 2011 15:16:03 GMT

 The same happens in 8.0 (with LOADER_ZFS_SUPPORT=YES).  I suspect the problem
 is that unload removes the zpool.cache from memory, so zfs can't find the pool
 any more.  You can see that by doing lsmod before unload.
 
 Either reload it like this before boot:
 
 load -t /boot/zfs/zpool.cache /boot/zfs/zpool.cache
 
 or reload everything with boot's kernel & module loader:
 
 unload
 set module_path=/boot/GCAM
 boot /boot/GCAM/kernel
 
 The second way assumes your loader.conf contains zfs_load="YES", which it
 probably does in this case.



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