Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2024 14:14:36 +0100
From:      void <void@f-m.fm>
To:        freebsd-virtualization@freebsd.org
Subject:   nvme virtualisation string for bhyve
Message-ID:  <ZuWMPNMQEYYRDL8f@int21h>

next in thread | raw e-mail | index | archive | help
Hi,

I have a vm in bhyve. The virtual disk is a ssd zvol,
and the zpool the zvol is on is composed of two ssds in a stripe.

The ashift=12. The host OS is recent -current

I usually start my vms with a bhyve variable for the disk
like:

-s 4,virtio-blk,/dev/zvol/ssd/vm2 \

The man page for bhyve says this:

###  NVMe device backends
###       •   devpath[,maxq=#][,qsz=#][,ioslots=#][,sectsz=#][,ser=#][,eui64=#][,dsm=opt]

How do I get this information? Like maxq qsg ioslots sectorz ser eui64 dsm

The ssds are:

nvme0: <Intel DC PC4500>
nvme1: <DC P3700 SSD>

The ssds are of different sizes and different nvme versions:

nda0: nvme version 1.2
nda0: 3815447MB (7814037168 512 byte sectors)
nda1: nvme version 1.0
nda1: 1907729MB (3907029168 512 byte sectors)

thanks in advance for any tips/advice
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZuWMPNMQEYYRDL8f>