Hi,
I've tried to upgrade a 10.3 to 11.2 (that is a dedicated remote server without direct access), the boot to 11.2 failed.
I got a message from my provider that the server was blocked with this message :
After restarting the server in rescue mode (have two rescue mode a 10.3 and 11.0) i've made a rollback after mounting the zfs pool.
Booting failed again, then with this error:
I've rebooted again in rescue mode and made a
So system is now up with the old system and kernel 10.3-RELEASE. (p24 for kernel, p28 for userland).
How can I fix that for upgrade to 11.2 ?
I've added the zfs.* lines after the failed boot, but that did not resolve the problem.
Thanks in advance.
For informations, I've folowed this guides to create the pool and install the system.
Don't remember wich version of FreeBSD was the provider rescue system at this time, not sure, but perhaps since in 10.3?
https://blog.imirhil.fr/2016/07/19/ovh-freebsd-root-zfs-raidz.html (Fench)
Then my own memo :
https://blog.gegeweb.org/freebsd-9-2-en-full-zfs-sur-un-kimsufi-ps-4g.html (French)
I've tried to upgrade a 10.3 to 11.2 (that is a dedicated remote server without direct access), the boot to 11.2 failed.
I got a message from my provider that the server was blocked with this message :
mounting from zfs:root failed with error 6
After restarting the server in rescue mode (have two rescue mode a 10.3 and 11.0) i've made a rollback after mounting the zfs pool.
Booting failed again, then with this error:
Mounting from zfs:zroot failed with error 2: unknown file system
I've rebooted again in rescue mode and made a
nextboot -k kernel.old
.So system is now up with the old system and kernel 10.3-RELEASE. (p24 for kernel, p28 for userland).
How can I fix that for upgrade to 11.2 ?
Code:
$ zpool get bootfs zroot
NAME PROPERTY VALUE SOURCE
zroot bootfs zroot local
Code:
$ gpart show
=> 34 3907029101 ada0 GPT (1.8T)
34 6 - free - (3.0K)
40 1024 1 freebsd-boot (512K)
1064 16777216 2 freebsd-swap (8.0G)
16778280 3890250848 3 freebsd-zfs (1.8T)
3907029128 7 - free - (3.5K)
=> 34 3907029101 ada1 GPT (1.8T)
34 6 - free - (3.0K)
40 1024 1 freebsd-boot (512K)
1064 16777216 2 freebsd-swap (8.0G)
16778280 3890250848 3 freebsd-zfs (1.8T)
3907029128 7 - free - (3.5K)
Code:
$ zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
zroot 3,59T 196G 3,40T - 8% 5% 1.00x ONLINE -
Code:
$ zpool status
pool: zroot
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gpt/disk0 ONLINE 0 0 0
gpt/disk1 ONLINE 0 0 0
errors: No known data errors
Code:
$ cat /boot/loader.conf
autoboot_delay="5"
vfs.root.mountfrom="zfs:zroot"
vfs.zfs.prefetch_disable=0
zfs_load=YES
I've added the zfs.* lines after the failed boot, but that did not resolve the problem.
Thanks in advance.
For informations, I've folowed this guides to create the pool and install the system.
Don't remember wich version of FreeBSD was the provider rescue system at this time, not sure, but perhaps since in 10.3?
https://blog.imirhil.fr/2016/07/19/ovh-freebsd-root-zfs-raidz.html (Fench)
Then my own memo :
https://blog.gegeweb.org/freebsd-9-2-en-full-zfs-sur-un-kimsufi-ps-4g.html (French)