Date: Sat, 14 Nov 2020 01:19:39 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251121] rc.d/zfsbe can't properly mount child datasets Message-ID: <bug-251121-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251121 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: bugs@FreeBSD.org Reporter: kpneal@pobox.com Created attachment 219663 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219663&action= =3Dedit 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 tha= t 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=20 Mounted on gs1p/ROOT/FreeBSD_12.2-RELEASE 459G 391M 459G 0% / gs1p/ROOT/FreeBSD_12.2-RELEASE/usr 464G 5.5G 459G 1%=20= =20=20 /ROOT/FreeBSD_12.2-RELEASE/usr gs1p/ROOT/FreeBSD_12.2-RELEASE/usr/local 466G 7.8G 459G 2%=20= =20=20 /ROOT/FreeBSD_12.2-RELEASE/usr/local gs1p/ROOT/FreeBSD_12.2-RELEASE/usr/src 460G 1.2G 459G 0%=20= =20=20 /ROOT/FreeBSD_12.2-RELEASE/usr/src The result is a trip to the datacenter to fix the now broken upgrade. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251121-227>