Bug 275407 - Upgrading to 14.0-RELEASE - freebsd-update - zfs_clone() error while creating boot environment
Summary: Upgrading to 14.0-RELEASE - freebsd-update - zfs_clone() error while creating...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-28 13:53 UTC by Javier Sturman
Modified: 2023-12-02 09:45 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Sturman 2023-11-28 13:53:41 UTC
While upgrading to FreeBSD 14.0-RELEASE using freebsd-update upgrade and merging all the config files the program exits with a zfs error.

src component not installed, skipped
Creating snapshot of existing boot environment... cannot create 'zroot/ROOT/13.2-RELEASE-p5_2023-11-28_094647/bcbsd-ubuntusrv1-dsk1.vhd': 'canmount' does not apply to datasets of this typeerror when calling zfs_clone() to create boot env
error when calling zfs_clone() to create boot env                                                                                                                                           error when calling zfs_clone() to create boot env
Failed to create bootenv 13.2-RELEASE-p5_2023-11-28_094647

The dataset in this error was created to be used as a virtual disk by CBSD (https://www.freshports.org/sysutils/cbsd/)

----
[freebsd:~ $]> zfs list -r -o name,canmount,mountpoint zroot/ROOT/default/bcbsd-ubuntusrv1-dsk1.vhd
NAME                                          CANMOUNT  MOUNTPOINT
zroot/ROOT/default/bcbsd-ubuntusrv1-dsk1.vhd  -         -
----

If got other datasets as virtual hard disks with cannmount not set and neither mountpoint.
Comment 1 Javier Sturman 2023-11-28 17:23:38 UTC
beadm list
BE                                Active Mountpoint  Space Created
default                           NR     /          114.5G 2019-01-15 07:59
13.2-RELEASE_2023-04-19_142632    -      -          221.0M 2023-04-19 14:26
13.2-RELEASE_2023-06-22_164022    -      -          126.0M 2023-06-22 16:40
13.2-RELEASE-p1_2023-08-06_180926 -      -          148.0M 2023-08-06 18:09
13.2-RELEASE-p2_2023-09-10_235747 -      -          109.0M 2023-09-10 23:57
13.2-RELEASE-p3_2023-10-05_123918 -      -          116.0M 2023-10-05 12:39
13.2-RELEASE-p4_2023-11-08_124951 -      -          121.0M 2023-11-08 12:49
13.2-RELEASE-p5_2023-11-28_090222 -      -          488.0K 2023-11-28 09:02
13.2-RELEASE-p5_2023-11-28_090341 -      -          496.0K 2023-11-28 09:03
13.2-RELEASE-p5_2023-11-28_094647 -      -            1.2M 2023-11-28 09:46