I try to import boot environment from one laptop to another.
Source is FreeBSD 11-STABLE, destination is 11.1-RELEASE.
1. On the donor:
2. On recipient:
3.
On reboot, system can't mount root
I know, that formally, STABLE is unsupported, but error 6 is ENXIO (device not found), that's very strange error.
I rebooted to my old BE and mounted/checked zroot/ROOT/stable. Everything seems to be in place, zfs options are the same as well. I have 'fat' BEs, that shares another pool for /home.
Obviously, / was set initially, I changed it to /mnt for investigation.
I think I'm missing something easy.
Source is FreeBSD 11-STABLE, destination is 11.1-RELEASE.
1. On the donor:
zfs send zroot/ROOT/stable@trn |gzip > /tmp/backup.gz
2. On recipient:
gzcat /tmp/backup.gz |zfs recv -uv zroot/ROOT/stable
3.
beadm activate stable
On reboot, system can't mount root
Code:
Mounting from zfs:zroot/ROOT/stable failed with error 6.
Loader variables:
vfs.root.mountfrom=zfs:zroot/ROOT/stable
I know, that formally, STABLE is unsupported, but error 6 is ENXIO (device not found), that's very strange error.
I rebooted to my old BE and mounted/checked zroot/ROOT/stable. Everything seems to be in place, zfs options are the same as well. I have 'fat' BEs, that shares another pool for /home.
Code:
zroot 30,5G 273M 96K none
zroot/ROOT 30,5G 273M 96K none
zroot/ROOT/default 18,0G 273M 16,8G /
zroot/ROOT/stable 12,2G 273M 12,2G /mnt
zroot/ROOT/temp 342M 273M 342M /
zroot/tmp 96K 273M 96K /tmp
Code:
abishai@moonstar:~ % zfs get all zroot/ROOT/stable |grep local
zroot/ROOT/stable mountpoint /mnt local
zroot/ROOT/stable canmount noauto local
Obviously, / was set initially, I changed it to /mnt for investigation.
Code:
abishai@moonstar:~ % zpool get all zroot| grep local
zroot bootfs zroot/ROOT/stable local
zroot feature@async_destroy enabled local
zroot feature@empty_bpobj active local
zroot feature@lz4_compress active local
zroot feature@multi_vdev_crash_dump enabled local
zroot feature@spacemap_histogram active local
zroot feature@enabled_txg active local
zroot feature@hole_birth active local
zroot feature@extensible_dataset enabled local
zroot feature@embedded_data active local
zroot feature@bookmarks enabled local
zroot feature@filesystem_limits enabled local
zroot feature@large_blocks enabled local
zroot feature@sha512 enabled local
zroot feature@skein enabled local
I think I'm missing something easy.