kern/153996: [zfs] zfs root mount error while kernel is not
located in /boot/kernel
Martin Simmons
martin at lispworks.com
Wed Jan 19 15:20:10 UTC 2011
The following reply was made to PR kern/153996; it has been noted by GNATS.
From: Martin Simmons <martin at lispworks.com>
To: bug-followup at 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.
More information about the freebsd-fs
mailing list