unload
load /boot/kernel.old/kernel
load /boot/kernel.old/opensolaris.ko
load /boot/kernel.old/zfs.ko
boot
Drop to the loader prompt from the menu. Then follow these:
Code:unload load /boot/kernel.old/kernel load /boot/kernel.old/opensolaris.ko load /boot/kernel.old/zfs.ko boot
After the system booted we can check for the /usr/ filesystem. Looks like it might be in fstab, it shouldn't be there.
13 doesn't have automatic import any more, it's now handled by an init-script. Probably, your upgrade isn't complete (did you execute it 3 times?)As i investigated location of zpool.cache changed and it not imports all zpools after booting new kernal.
Such a mechanism can never be complete. You're on ZFS, use boot environments!And, what is more frustrating, freebsd-update have broken rollback mechanism.
13 doesn't have automatic import any more, it's now handled by an init-script. Probably, your upgrade isn't complete (did you execute it 3 times?)
No, it just seems to have failed for you. I have upgraded many systems from 12.2 to 13.0 and didn't have any problems.It seems freebsd-update have broken upgrade 12.2->13.
Keep in mind that 13.0 uses the new OpenZFS, which is slightly different from the ZFS that came with FreeBSD before. Things work a little different behind the scenes.As i investigated location of zpool.cache changed and it not imports all zpools after booting new kernal.
This means it not fully-broken. But it broken for some configurations.No, it just seems to have failed for you. I have upgraded many systems from 12.2 to 13.0 and didn't have any problems.
I know. But it imports root pool normally. I thinks this causes problem:Keep in mind that 13.0 uses the new OpenZFS, which is slightly different from the ZFS that came with FreeBSD before. Things work a little different behind the scenes.
[me at myhost:~/freebsd/git/src]{main}$ git log -U -1 --grep zpool.cache
commit a784185078e566103b7f8abffc7c0a4a1e813eb1
Author: Cy Schubert <cy at FreeBSD.org>
Date: Thu Aug 27 14:33:46 2020 +0000
/etc/zfs/zpool.cache is the preferred (and new) location of zpool.cache.
Check for it first. Only use /boot/zfs/zpool.cache if the /etc/zfs
version is not found and good.
Reported by: avg
Suggested by: avg, kevans
Notes:
svn path=/head/; revision=364867
Okay. Normal freebsd-update process is: download update, install kernel, reboot, update userland(init scripts).No, that's NOT the reason. Importing pools is now handled by the init-script (IIRC /etc/rc.d/zfs), only the root pool is imported automatically. You didn't upgrade your init scripts.
freebsd-update install
, only the kernel is updated. The userland (including the rc.d scripts) are done on the second invocation of freebsd-update install
. rm -rf /boot/kernel
mv /boot/kernel.old /boot/kernel
rm -rf /var/db/freebsd-update/*
Clean out the update files. freebsd-update -r 13.0-RELEASE upgrade
freebsd-update install
, freebsd-update install
. Yes, that's not an error, run it twice. Do NOT reboot after the first install. freebsd-update install
Yeah, that's why i always do a fresh install. I am not that type of guy to remember all this stuff.<Update instructions>
it works. thank youEnable all the services and modules again.
So you're now upgraded to 13.0? Awesome.it works.
yes. zfs L2 cache now persists after reboot, its cool.So you're now upgraded to 13.0? Awesome.