Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Feb 2025 03:20:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 284629] sysutils/vm-bhyve: Cannot specify more than two zfs_vol_opts
Message-ID:  <bug-284629-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284629

            Bug ID: 284629
           Summary: sysutils/vm-bhyve: Cannot specify more than two
                    zfs_vol_opts
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: driesm@freebsd.org
          Reporter: sstallion@gmail.com
          Assignee: driesm@freebsd.org
             Flags: maintainer-feedback?(driesm@freebsd.org)

If vm templates specify more than two zfs_vol_opts the -o flag is skipped f=
or
subsequent properties, resulting in a failed call to zfs create:

# sh -x /usr/local/sbin/vm create -t example -s 32G test
...
+ zfs create -sV 32G -o 'volmode=3Ddev' -o 'volblocksize=3D4k' -o 'compress=
ion=3Doff'
'autobackup:local=3Dfalse' zroot/vm/test/disk0
too many arguments
usage:
        create [-Pnpuv] [-o property=3Dvalue] ... <filesystem>
        create [-Pnpsv] [-b blocksize] [-o property=3Dvalue] ... -V <size>
<volume>

For the property list, run: zfs set|get

For the delegated permission list, run: zfs allow|unallow

A PR has been submitted upstream to fix this issue:
https://github.com/churchers/vm-bhyve/pull/590

--=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-284629-7788>