From nobody Fri Jan 26 20:58:41 2024 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TM95s4Dstz58qHK for ; Fri, 26 Jan 2024 20:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TM95s2PC8z4LTg for ; Fri, 26 Jan 2024 20:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706302721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=132eW7GnIYqypN4FXfv3iv5YLZEl7WmXymoaPG7sQx8=; b=crP3ioodcqLf+HjFhd2+hh91oIHgaXt2U/6xUPl3S0wv7IC5lLrLTjepZoKS8Y9L7j9kwP fkHt4GZBOlCUHm8hNrlUqL7COdMEOTX1IsgX/gEQdJ9rlx7oJ5HXX6RnI5gh1yhVv52OdQ S+N1kBdtRcYB6pCKM23i60Th0ltNTSdz5gs9zXclHx/C68maQ6sLciEu1VyrXc1osDXv/4 8PAsUz0TBu9nFsx8KpFv3S83EZ3UxWfJdJYsCECLAaxmWp6j+UaL+ojlX/HPJ/oEETU03v aA9MXLl2XIc0Z1kUp6rspAWXL3dVWjk5cq5BzoL5FPoo7IhBmN6Bp1cc8UH3ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706302721; a=rsa-sha256; cv=none; b=Q8fyTsZhwP/7QD1efdqktGCXjStANrSJZFFcAd4s3hz2/fmkuGR5+TpcFLzGKZqRLmimx+ PIItDbysj+APHpUocZzQdBpGIsQIDtBtUfSGSHUqvwC+DsVXSYzp5dxi1PdTZVAXD24TBy +GRUBni4mBGsXgx2T9AnfE/dpCD+ErE+Dzp1o+2szT0Kx7PlVYsxVwg+VMub/tF6VheSXX J3XbdnCOsM6s1TsvhznCcceIGQd3Ntvc/wTzuUvzGSWbsTCdIDJlqq4G7R/lUKI9WAcjhv neUL4bLtEirFvmX1ZiCwYM6nPW6LwAOd+wZzgzxhj67Q1iwWVUGeoV96mip5OQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TM95s1N88zwyK for ; Fri, 26 Jan 2024 20:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40QKwf5m011588 for ; Fri, 26 Jan 2024 20:58:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40QKwfw5011587 for virtualization@FreeBSD.org; Fri, 26 Jan 2024 20:58:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Fri, 26 Jan 2024 20:58:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: balchen@ste.no X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 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 [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 [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.=