[Bug 276524] Setting LUN block size in ctl.conf to 512 will use volblocksize instead
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Jan 2024 22:03:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276524
--- Comment #16 from balchen@ste.no ---
This is with LUN Block Size=4K.
balchen@blocksize-test:~$ sudo sg_readcap --16 /dev/sdb
Read Capacity results:
Protection: prot_en=0, p_type=0, p_i_exponent=0
Logical block provisioning: lbpme=1, lbprz=1
Last LBA=483183821 (0x1ccccccd), Number of logical blocks=483183822
Logical block length=4096 bytes
Logical blocks per physical block exponent=1 [so physical block length=8192
bytes]
Lowest aligned LBA=0
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=212, medium type=0x00, WP=0, DpoFua=1, longlba=0
Block descriptor length=8
> Direct access device block descriptors:
Density code=0x0
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
--
You are receiving this mail because:
You are the assignee for the bug.