https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251121
Bug ID: 251121
Summary: rc.d/zfsbe can't properly mount child datasets
Product: Base System
Version: 12.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 219663
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219663&action=edit
Corrected version of the script.
The /etc/rc.d/zfsbe script confuses ZFS dataset names with filesystem paths. As
a result it doesn't recognize datasets that are children of the dataset that is
mounted at "/". Instead it mounts them at the location they would be at if a
different boot environment was used.
This is the broken set of mounts (with other, not relevant mounts omitted):
Filesystem Size Used Avail Capacity
Mounted on
gs1p/ROOT/FreeBSD_12.2-RELEASE 459G 391M 459G 0% /
gs1p/ROOT/FreeBSD_12.2-RELEASE/usr 464G 5.5G 459G 1%
/ROOT/FreeBSD_12.2-RELEASE/usr
gs1p/ROOT/FreeBSD_12.2-RELEASE/usr/local 466G 7.8G 459G 2%
/ROOT/FreeBSD_12.2-RELEASE/usr/local
gs1p/ROOT/FreeBSD_12.2-RELEASE/usr/src 460G 1.2G 459G 0%
/ROOT/FreeBSD_12.2-RELEASE/usr/src
The result is a trip to the datacenter to fix the now broken upgrade.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"