[Bug 276524] Setting LUN block size in ctl.conf to 512 will use volblocksize instead

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 22 Jan 2024 11:17:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276524

            Bug ID: 276524
           Summary: Setting LUN block size in ctl.conf to 512 will use
                    volblocksize instead
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: balchen@ste.no

Overview:

If the LUN block size in ctl.conf is set to 512, the physical block size
reported to iSCSI initiators is the volblocksize.

Steps to reproduce:

Mirrored vdevs with ashift=12 on 2 x Samsung 870 QVO 4 TB
Zpool on 2 x said vdevs
Zvol with volblocksize=8K
CTL LUN on the zvol with backend=block, block size=512

Connect Windows or ESXi initiator to the target and list the device parameters.

Actual result:

Block size is reported as 512.

Expected results:

Block size is reported as 8K -- same as the volblocksize.

Build date and hardware:

XigmaNAS 13.2.05 on FreeBSD 13.2-RELEASE-p1 running on Dell PowerEdge R730XD.

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