ISCSI block size issue on esxi 6.7

Status
Not open for further replies.

bed

Dabbler
Joined
Jun 17, 2011
Messages
38
Im having an issue with some iscsi targets. I have upgraded my nas hardware and freenas version to 10.2 beta 3 and was able to import my volumes just fine. I have 4 iscsi targets that I mapped and 3 of them worked but the 4th would not. I eventually decided to delete the file and recreate it as a smaller target and it would work but now the other 3 won't show up. Best I can tell esxi is complaining about block size not being 512 which they are.
Logs looks like this
Code:
2018-09-16T18:33:23.526Z cpu0:2099306 opID=4ce71add)WARNING: ScsiDeviceIO: 6603: The Physical block size "131072" reported by the device naa.6589cfc000000fa3c0d48166e07e480f is not supported. The only supported  physical blocksizes are 512 and 40
2018-09-16T18:33:23.534Z cpu3:2100309)WARNING: ScsiPath: 4749: The Physical block size "131072" reported by the path vmhba64:C1:T1:L2 is not supported. The only supported physical  blocksizes are 512 and 4096

On the freenas side I have tried disabling reporting of block size, changing LUN rpm from SSD to different spindle speeds and even changing block size to 4096 to no avail.
Wondering what I can do next or what I may have overlooked. Any help would be appreciated.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
The Physical block size "131072"
That's the ZFS record size. Just FYI.
Make sure you disable reporting of the physical block size (as you did) Only set the SSD if you have SSDs backing the pool, set the reported block size to 512 and rescan. If ESXi does not pickup the changes, reboot the host. I seeing a similar issue with FreeNAS 11.1U4 since I moved to ESXi 6.7 from 6.5
 
  • Like
Reactions: bed

bed

Dabbler
Joined
Jun 17, 2011
Messages
38
After rebooting the host it seems to have worked. Never had this issue before. I find it odd the host is detecting the zfs record size instead of what is supposed to be reported by iscsi extent. Thanks for the assist. I'm sure I'll have a few more kinks to work out as I push out this updated version. Freenas has been so good to me I've had to do so little to my last build I barely touched it for years.
 
Status
Not open for further replies.
Top