Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2020 00:34:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 247188] "camcontrol devlist" does not show zvol-backed virtio devices
Message-ID:  <bug-247188-27103@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: seb@boisvert.info

Created attachment 215473
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215473&action=
=3Dedit
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@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@nova:~ # camcontrol devlist




gpart also does not see the disks.

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



root@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.

--=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-247188-27103>