[Bug 247188] "camcontrol devlist" does not show zvol-backed virtio devices

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 12 00:34:16 UTC 2020


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

            Bug ID: 247188
           Summary: "camcontrol devlist" does not show zvol-backed virtio
                    devices
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualization at FreeBSD.org
          Reporter: seb at boisvert.info

Created attachment 215473
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215473&action=edit
Output of "vm info nova" on the host that's running the BHYVE hypervisor

Hi,

I think that I found a bug. I would like to fix it myself.

My host "atlantis" is running FreeBSD 12.1-RELEASE.

I have a BHYVE guest "nova" with:
- 1 20-GB file-backed disk for the operating system (FreeBSD 12.1-RELEASE),
- 8 10-GB ZVOL-backed virtio disks, and
- 8 20-GB ZVOL-backed virtio disks.

see vm-info-nova.txt

In nova, the disks are listed in /dev:

root at nova:~ # ls -1 /dev/vtbd?
/dev/vtbd0
/dev/vtbd1
/dev/vtbd2
/dev/vtbd3
/dev/vtbd4
/dev/vtbd5
/dev/vtbd6
/dev/vtbd7
/dev/vtbd8
/dev/vtbd9


However, camcontrol returns nothing.

root at nova:~ # camcontrol devlist




gpart also does not see the disks.

root at nova:~ # gpart show /dev/vtbd1
gpart: No such geom: /dev/vtbd1.



root at nova:~ # camcontrol devlist|wc -l
       0




I think it is either a problem with CAM or with GEOM, or maybe the VIRTIO
driver in the guest.

>From the host point-of-view, everything seems fine.

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


More information about the freebsd-virtualization mailing list