Raphael Eiselstein
2015-Feb-08 11:36 UTC
10.1-RELEASE: bsdinstall on zfs: /var and /usr on zroot/ROOT/default
Hi everyone, I recently installed a fresh 10.1-RELEASE (amd64) using bsdinstalls zfs-setup on two mirrored disks. As I wanted to move zroot/usr/home to zroot/home I noticed that everything from /usr and /var is in the "/" mount (zroot/ROOT/default) The "mountpoint" property of zroot/var and zroot/usr seems correct but in fact it is not mounted there. See http://sigsys.de/files/freebsd_101_zfs_root_fail_screenshot.jpg (sorry, had no networking at this moment, so just a regular screenshot) Is this a known bug? How can this be circumvented? How can I "fix" this? Best Regards Raphael -- Raphael Eiselstein <rabe at uugrn.org> PGP 4E63 5307 6F6A 036D 518D 3C4F 75EE EA14 F625 DB4E .........|.........|.........|.........|.........|.........|.........|.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150208/54f2ca45/attachment.sig>
Steven Hartland
2015-Feb-08 12:29 UTC
10.1-RELEASE: bsdinstall on zfs: /var and /usr on zroot/ROOT/default
That's odd I don't have a install done by zfs-setup but I do have a number of similarly setup boxes and the output displays correctly. What does a straight df -h show and what if anything is in your /etc/fstab? Regards Steve On 08/02/2015 11:36, Raphael Eiselstein wrote:> Hi everyone, > > I recently installed a fresh 10.1-RELEASE (amd64) using bsdinstalls > zfs-setup on two mirrored disks. > > As I wanted to move zroot/usr/home to zroot/home I noticed that > everything from /usr and /var is in the "/" mount (zroot/ROOT/default) > > The "mountpoint" property of zroot/var and zroot/usr seems correct but > in fact it is not mounted there. > > See http://sigsys.de/files/freebsd_101_zfs_root_fail_screenshot.jpg > (sorry, had no networking at this moment, so just a regular screenshot) > > Is this a known bug? > How can this be circumvented? > How can I "fix" this? > > Best Regards > Raphael >
Marko Turk
2015-Feb-08 12:35 UTC
10.1-RELEASE: bsdinstall on zfs: /var and /usr on zroot/ROOT/default
On Sun, Feb 08, 2015 at 12:36:56PM +0100, Raphael Eiselstein wrote:> Hi everyone, > > I recently installed a fresh 10.1-RELEASE (amd64) using bsdinstalls > zfs-setup on two mirrored disks. > > As I wanted to move zroot/usr/home to zroot/home I noticed that > everything from /usr and /var is in the "/" mount (zroot/ROOT/default) > > The "mountpoint" property of zroot/var and zroot/usr seems correct but > in fact it is not mounted there. > > See http://sigsys.de/files/freebsd_101_zfs_root_fail_screenshot.jpg > (sorry, had no networking at this moment, so just a regular screenshot) > > Is this a known bug? > How can this be circumvented? > How can I "fix" this? >Hi, what is the output of zfs get canmount zroot/usr ? BR, Marko -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150208/57b42aff/attachment.sig>
Antony Uspensky
2015-Feb-08 20:54 UTC
10.1-RELEASE: bsdinstall on zfs: /var and /usr on zroot/ROOT/default
On Sun, 8 Feb 2015, Raphael Eiselstein wrote:> Hi everyone, > > I recently installed a fresh 10.1-RELEASE (amd64) using bsdinstalls > zfs-setup on two mirrored disks. > > As I wanted to move zroot/usr/home to zroot/home I noticed that > everything from /usr and /var is in the "/" mount (zroot/ROOT/default) > > The "mountpoint" property of zroot/var and zroot/usr seems correct but > in fact it is not mounted there. > > See http://sigsys.de/files/freebsd_101_zfs_root_fail_screenshot.jpg > (sorry, had no networking at this moment, so just a regular screenshot) > > Is this a known bug? > How can this be circumvented? > How can I "fix" this?This is not a bug and you should not fix it: this setup uses boot environments and /var and /usr with content belongs to particular BE. If/when you will fork BE with, say, CURRENT, it will need different files, hierarchies and filesets in /usr and /var. On the other hand, /home, /var/log, /tmp, /var/tmp et cetera live outside of any BE. Good news: booting into single user you may use vi or mc :) A.