[Bug 280884] wrong media size for 4k disks

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Aug 2024 22:44:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280884

--- Comment #3 from Christian Kujau <freebsd@nerdbynature.de> ---
Output attached, but other disks show up as well. The important disks for the
FreeBSD DomU would be:

# xl block-list freebsd
Vdev  BE  handle state evt-ch ring-ref BE-path
51712 0   36     4     40     -1       /local/domain/0/backend/vbd/36/51712
51728 0   36     4     41     -1       /local/domain/0/backend/vbd/36/51728
51744 0   36     1     -1     -1       /local/domain/0/backend/qdisk/36/51744

...with:

* "vbd/36/51712" being the 4k disk (xbd0 in FreeBSD. 48 GB reported instead of
6 GB)
* "vbd/36/51728" being the 512 sector disk (xbd1 in FreeBSD, 30 GB in size)
* "qdisk/36/51744" the FreeBSD-15 ISO image

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