Date: Fri, 26 Jan 2024 22:03:15 +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-hl5W0cGhva@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 #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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276524-27103-hl5W0cGhva>