new device 4096 = ESXi will not find it

43 views
Skip to first unread message

Robert SK

unread,
Jan 16, 2023, 3:11:17 AM1/16/23
to esos-users
Hello,

When i create a new device (vdisk_blockio) with Block Size 4096, ESXi will not find the disk. Size 512 works fine.

dmesg
===
[211233.786891] dev_vdisk: Registering virtual vdisk_blockio device T610---001 (BLOCKIO, ROTATIONAL)
[211233.798091] dev_vdisk: Auto enable thin provisioning for device /dev/mapper/VG_Data_001-LV_Data_001
[211233.798097] dev_vdisk: Attached SCSI target virtual disk T610---001 (file="/dev/mapper/VG_Data_001-LV_Data_001", fs=1869312MB, bs=4096, nblocks=478543872, cyln=233664)
[211233.798210] scst: Added device T610---001 to group copy_manager_tgt (LUN 8, flags 0x4) to target copy_manager_tgt
[211233.798220] scst: Attached to virtual device T610---001 (id 9)
[211244.019144] scst: Added device T610---001 to group G-ESXi-T-T2 (LUN 0, flags 0x2) to target iqn.2022-10.esos.t610:rnd002
===



ESXi:
===
2023-01-16T06:51:18.394Z cpu2:2767050 opID=db7cd4bf)WARNING: NMP: nmp_RegisterDevice:873: Registration of NMP device with primary uid 'eui.3435313866393361' failed. Not supported
2023-01-16T06:51:18.394Z cpu2:2767050 opID=db7cd4bf)WARNING: NMP: nmp_RegisterDevice:873: Registration of NMP device with primary uid 'eui.3435313866393361' failed. Not supported
2023-01-16T06:55:35.036Z cpu1:2097347)WARNING: NMP: nmp_RegisterDevice:873: Registration of NMP device with primary uid 'eui.3435313866393361' failed. Not supported
2023-01-16T06:55:35.037Z cpu3:2097347)WARNING: NMP: nmp_RegisterDevice:873: Registration of NMP device with primary uid 'eui.3435313866393361' failed. Not supported
===


cat /sys/kernel/scst_tgt/handlers/vdisk_blockio/T610---001/blocksize
4096


without size 4096 i can't test LVM writecache


thanks

Marc Smith

unread,
Jan 17, 2023, 1:07:33 PM1/17/23
to esos-...@googlegroups.com
Yeah, I think even in the year 2023, ESXi still does not support 4Kn
SAN storage. They do for "local" devices (VSAN, boot drives, etc.) but
as far as I can tell, it still only supports a 512-byte logical block
size.

--Marc
> --
> You received this message because you are subscribed to the Google Groups "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to esos-users+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/cf3c9be2-6671-4d75-9aff-6613f09e4143n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages