From nobody Mon Jan 22 20:27:32 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 4TJhbn10RPz588w5 for ; Mon, 22 Jan 2024 20:27:33 +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 4TJhbm4TJxz4BC9 for ; Mon, 22 Jan 2024 20:27:32 +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=1705955252; 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=8O/KkEeBMrg5aXxU+gYh0UpjWz4PMHg5iXi9eIlSrP4=; b=OwCFDUNLqHjdmyUchvYk+roGj2eMO6fQeo268BBiyyAZeRE50ePIRVRr4zf49PeyVqQcGD OA1cnDW9y6HbJzkcC29c+EUXLtdkHKWvCqjmnG5HpweyFCTN2ioAf6RHFuXYYFxgqN6OsH +RWBQj4L9SngiV6lLFTSj3jnjEESlkMwPaHvXWx3fnZEUAL47/g8eGKOT3TrrqG2wuUMLR gXMoD3riUnUKbKEwa/nAk55HltjApz5B6Jqr6HQqUrULijb5mj6RpPs6qa+F0Z5AwEu1r9 1W4SSn4MZ8OCuwI5RhJW1s28+ENaHafQS9honFF9MXlQ1UrY02kD2F67VuEx1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705955252; a=rsa-sha256; cv=none; b=Rs45MvwvyHdrrdbtU7ZUtsUmAtDyeCllbX3ArwBz5qKGpKmcodeaYCMHXe7lX6U2pD0JpI klcW6R+5/Y1POBzXqX2D0iqJ+hF+6XDlxHXN/NlEeP25p/efiKgzExRP3qutgpf1b0RJCn hNnUPYr8S0TfK9tMwOoKB5/AyKl+q3kJwt6tbwFDdk0pn0YQz614sDBiKz1t6cgAY3Fr55 6JorEY+Bx1h40eDjm+tS/wzL2vIhkjbvqLB/7yRWcVleco5Vz/gKxPBakvh/QrYUj8ehfE v9F5LCHo1Ti9c1+j22LYhPXY49zifEdHR2ShEVv2hnwdrGmza8WwxPQg4kS1ew== 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 4TJhbm3TNgz1Fxw for ; Mon, 22 Jan 2024 20:27:32 +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 40MKRWbA040732 for ; Mon, 22 Jan 2024 20:27:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40MKRWFG040730 for virtualization@FreeBSD.org; Mon, 22 Jan 2024 20:27:32 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 276522] Setting LUN block size in ctl.conf to 4K causes mismatched block size and crashes in initiators Date: Mon, 22 Jan 2024 20:27:32 +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=3D276522 --- Comment #1 from balchen@ste.no --- Having researched some more, I found this from https://manpages.ubuntu.com/manpages/xenial/en/man8/sg_format.8.html -- the documentation for the sg_format command: When this utility is used without options (i.e. it is only given a= =20 DEVICE argument) it prints out the existing block size and block count derived from = two sources. These two sources are a block descriptor in the response to a MODE SENSE comma= nd and the response to a READ CAPACITY command. The reason for this double check is to det= ect a "format corrupt" state (see NOTES section). This usage will not modify the disk. This describes my scenario perfectly, including the "format corrupt" message which also appears in the ESXi logs. --=20 You are receiving this mail because: You are the assignee for the bug.=