From nobody Fri Jan 26 22:03:15 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 4TMBXM3TYDz58wZs for ; Fri, 26 Jan 2024 22:03:15 +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 4TMBXM2NJcz4bnS for ; Fri, 26 Jan 2024 22:03:15 +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=1706306595; 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=0CfcnnHbpu1NbiOQxBFPjeC1hRm98Ost2Iy/rDquen4=; b=Z0tEQVebrEmqbDp5eWdV9X1LRQBlPyDTkNdgnwBlnI0qt7p/nyulAYWxRFGdgdU58im/3o JLxi/Q66lAvhKf0nS/pe3TdIlVaoalvhnc59bLYKDYSqEfXcwLLk0mJzyZug+cvXtYILPW 0bHKf0dV2Cc2+tIQcwc90TsTTRMq9PQWFTDD527zZTlA5u6vP3yfyG64otMyxuYo5DSNyJ QUoK2ckQoxEjGwUqIAbwkdwi6AcjwOVT0uIMdXEa7uZBMOmJMnN4XJIu0Y81CJoE0A1i/W 1vsVteanv0viZT2CUL+BS7HVyGY3QNCuiLhGHgWRtdXPQVLwLRhC90FIBn6ehQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706306595; a=rsa-sha256; cv=none; b=QPdsJ7uYiW3Ti7PUo09FfWAPgxcc2VFOgKAVxlL3I1iEd8/Y9s5HdWbjH+24MdaVYld9jn 4WhlBPAgDoLaEljpIzcd/MoksppzcvgiDxx609XnG9HpPPWRNCJpIWxLa1YTwtNAIENSgs RXOPfOus8cNeGjmSzGFOhmuHGxBNRP3EdGaZZA5nzr+c9euyGBmhZzLOe/AyTtavz5NOFd Jv8wbBel3yf0XR4BEb10PcjiHnGO7r7A4Mhp1bDiW64DP30WoHSQSViUYURoKCnyFFciBL m9+6aoK1eKAMov2vhDn+En4oXe2Qp4tWVom97/KHketaqHM6JB382Cxwu5jhSQ== 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 4TMBXM1LffzyyC for ; Fri, 26 Jan 2024 22:03:15 +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 40QM3FOO041337 for ; Fri, 26 Jan 2024 22:03:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40QM3FA5041336 for virtualization@FreeBSD.org; Fri, 26 Jan 2024 22:03:15 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 22:03:15 +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 #16 from balchen@ste.no --- This is with LUN Block Size=3D4K. balchen@blocksize-test:~$ sudo sg_readcap --16 /dev/sdb Read Capacity results: Protection: prot_en=3D0, p_type=3D0, p_i_exponent=3D0 Logical block provisioning: lbpme=3D1, lbprz=3D1 Last LBA=3D483183821 (0x1ccccccd), Number of logical blocks=3D483183822 Logical block length=3D4096 bytes Logical blocks per physical block exponent=3D1 [so physical block length= =3D8192 bytes] Lowest aligned LBA=3D0 Hence: Device size: 1979120934912 bytes, 1887436.8 MiB, 1979.12 GB balchen@blocksize-test:~$ sudo sg_modes -aa /dev/sdb FreeBSD iSCSI Disk 0123 peripheral_type: disk [0x0] Mode parameter header from MODE SENSE(10): Mode data length=3D212, medium type=3D0x00, WP=3D0, DpoFua=3D1, longlba= =3D0 Block descriptor length=3D8 > Direct access device block descriptors: Density code=3D0x0 00 1c cc cc ce 00 00 10 00 >> Read-Write error recovery, page_control: current 00 01 0a c0 00 00 00 00 80 00 00 00 00 >> Format (obsolete), page_control: current 00 03 16 00 00 00 00 00 00 00 00 01 00 10 00 00 00 10 00 00 00 00 40 00 00 00 >> Rigid disk geometry (obsolete), page_control: current 00 04 16 00 39 99 80 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 1c 20 00 00 >> Verify error recovery, page_control: current 00 07 0a 00 00 00 00 00 00 00 00 00 00 >> Caching, page_control: current 00 08 12 14 00 ff ff 00 00 ff ff ff ff 00 00 00 00 10 00 00 00 00 >> Control, page_control: current 00 0a 0a 00 00 00 40 00 00 00 00 00 00 >> Control extension, page_control: current 00 4a 01 00 1c 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> Informational exceptions control, page_control: current 00 1c 0a 10 00 00 00 00 00 00 00 00 01 >> Logical block provisioning, page_control: current 00 5c 02 00 2c 00 00 00 00 00 00 00 00 00 00 00 00 10 00 01 00 00 00 00 00 00 00 02 00 00 00 00 00 00 20 00 f1 00 00 00 00 00 00 00 f2 00 00 00 00 00 00 --=20 You are receiving this mail because: You are the assignee for the bug.=