I did a binary upgrade with freebsd-update(8).
It went something like this:
I didn't really mind the error and just rebooted the system when
I adjusted the zfs readonly property for /var/empty, and I guess it just resumed the previous installation? (since it didn't keep on with installing userland updates)
Now FreeBSD is unable to mount the system.
I'm not sure where to go from here and I have no clue on what the problem might be, so I would need some pointers.
I booted from a FreeBSD 10.1-RELEASE image and imported the pool by
This didn't mount datasets with legacy mount points. I needed to mount these separately.
My /boot/loader.conf (part of, ZFS related)
Is there a way of mounting all datasets under one single 'altroot'? (even those with legacy mount points).
This would give me an option to
Thanks!
It went something like this:
# freebsd-update -r 10.1-RELEASE upgrade
# freebsd-update install
Code:
Installing updates...chflags: ///var/empty: Read-only file system
# shutdown -r now
I didn't really mind the error and just rebooted the system when
freebsd-update
finished.I adjusted the zfs readonly property for /var/empty, and I guess it just resumed the previous installation? (since it didn't keep on with installing userland updates)
# zfs set readonly=off tank/var/empty
# freebsd-update install
Code:
Installing updates...
Kernel updates have been installed. Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.
# shutdown -r now
Now FreeBSD is unable to mount the system.
Code:
Mounting failed from zfs:tank with error 2.
I'm not sure where to go from here and I have no clue on what the problem might be, so I would need some pointers.
I booted from a FreeBSD 10.1-RELEASE image and imported the pool by
# mkdir /tmp/mnt && zpool import -R /tmp/mnt -f tank
Code:
cannot share 'tank/user/local/storage': share (1M) failed
This didn't mount datasets with legacy mount points. I needed to mount these separately.
mount -t zfs tank /tmp/[...]
.My /boot/loader.conf (part of, ZFS related)
Code:
zfs_load="YES"
vfs.root.mountfrom="zfs:tank"
(...)
Is there a way of mounting all datasets under one single 'altroot'? (even those with legacy mount points).
This would give me an option to
chroot <path>
in to the filesystem and try freebsd-update rollback
to restart the upgrade from the beginning.Thanks!