https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229628

            Bug ID: 229628
           Summary: Can't import bootpool in ZFS installation with
                    installerconfig
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: b...@freebsd.org
          Reporter: k...@kx.openedu.org

Created attachment 194980
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194980&action=edit
bsdinstall,zfsboot and script patch of 12.0-CURRENT-r335317

In bsdinstall using installerconfig, if you divide the ZFS file system into
bootpool and zroot, there are the following problems. 

(1) Since /boot is symbolically linked to /bootpool, it is  
expanded by

tar - xf distrubution_tarball - C chroot_directory 

in script so it will not be expanded to /bootpool. This 
can be solved by adding the -P option to tar. 

(2) bootpool's zpool.cache information does not contain bootpool information
and zroot's zpool.cache does not exist, bootpool will not be imported at
boot time and will not boot properly. To solve this problem create
zpool.cache with bootpool and zroot in /boot/zfs/zpool.cache with
zpsboot on bootpool after creating bootpool, and on zroot as well
zpool.cache in /boot/zfs/zpool.cache. 

If you try to output debugging information to the display and the file at
the same time, it will not be output to the specified file normally . This
is because tee does not have the -a option in bsdinstall.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to