[Bug 207150] bsdinstall(8): ZFS install fails if zpool name equals to file/directory exists in root

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 13 11:41:50 UTC 2016


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

            Bug ID: 207150
           Summary: bsdinstall(8): ZFS install fails if zpool name equals
                    to file/directory exists in root
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: gabor.radnai at gmail.com

bsdinstall(8): ZFS install fails if one pick a name for root zpool which exists
as file or directory in /.

To repeat:
1. start bsdinstall
2. Pick zroot name 'sys' for example
3. Eventually untar fails

Suggested resolution is trivial:
If new root zpool name is $zroot then mount zroot as /X$zroot, where X is for
example 'root'.

By default bsdinstall creates similar ZFS structure:
NAME                 USED  AVAIL  REFER  MOUNTPOINT
zroot                408M  6.32G    96K  /zroot
zroot/ROOT           406M  6.32G    96K  none
zroot/ROOT/default   406M  6.32G   406M  /

Should be rather if zpool name is 'sys' for example:
NAME                 USED  AVAIL  REFER  MOUNTPOINT
sys                408M  6.32G    96K  /rootsys
sys/ROOT           406M  6.32G    96K  none
sys/ROOT/default   406M  6.32G   406M  /

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list