Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2024 20:58:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 276524] Setting LUN block size in ctl.conf to 512 will use volblocksize instead
Message-ID:  <bug-276524-27103-9zoWWHTjN0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276524-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276524-27103@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #3 from balchen@ste.no ---
Hi Alexander.

I hope this is a better illustration of the issue. As you can see, the logi=
cal
block size reported to ESXi is always 512, but the physical block size is 4K
when set to 4K, and 8K when set to 512.

volblocksize=3D8K
LUN Block Size=3D4K
LUN Physical Block Size=3D<blank>

[root@localhost:~] esxcli storage core device capacity list
Device                             Physical Blocksize  Logical Blocksize=20
Logical Block Count         Size  Format Type
---------------------------------  ------------------  -----------------=20
-------------------  -----------  -----------
t10.FreeBSD_MYDEVID00000000000000                4096                512=20=
=20=20=20=20=20=20
   3865470576  1887436 MiB  Unknown


volblocksize=3D8K
LUN Block Size=3D512
LUN Physical Block Size=3D<blank>

[root@localhost:~] esxcli storage core device capacity list
Device                             Physical Blocksize  Logical Blocksize=20
Logical Block Count         Size  Format Type
---------------------------------  ------------------  -----------------=20
-------------------  -----------  -----------
t10.FreeBSD_MYDEVID00000000000000                8192                512=20=
=20=20=20=20=20=20
   3865470576  1887436 MiB  Unknown

--=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-276524-27103-9zoWWHTjN0>