Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2024 21:36:14 +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-55hEkt7oVU@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 #10 from balchen@ste.no ---
Changed LUN block size to 4K.

xigmanas: etc# cat ctl.conf
#   global settings
#   auth-group configuration
#   portal-group configuration
portal-group "iscsi" {
    discovery-auth-group "no-authentication"
    listen "0.0.0.0"
}
#   lun configuration
lun "test" {
    backend "block"
    blocksize "4096"
    device-type "disk"
    option "vendor" "FreeBSD"
    option "product" "iSCSI Disk"
    option "revision" "0123"
    option "rpm" "7200"
    option "formfactor" "3"
    path "/dev/zvol/test2/test2vol"
}
#   target configuration
target "iqn.2001-01-01.no.ste.test" {
    auth-group "no-authentication"
    portal-group "iscsi"
    lun "0" "test"
}


[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

--=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-55hEkt7oVU>