3、 Try access tcmu-runner service on centos 7.9 iscsi initiator ( iscsi-initiator-utils-6.2.0.874-19.el7.x86_64),
i can login success and find the lun device (/dev/sdb)
4、 Try run "mkfs.xfs /dev/sdb" command to format the lun device
when I run mkfs.xfs, it is hang , then tcmu service failed
5、 I check the log "tcmu-runner.log"
when tcmu service failed , i can see the log :
6、 read the "tcmur_cmd_handler.c" source code
when failed is happend , var align is 0 , cause devide 0 error ,
/* If not aligned then falls back to the writesame without unmap */
if (lba % align || nlbas % align) {
tcmu_dev_dbg(dev,
"Start lba: %"PRIu64" or nlbas: %"PRIu64" not aligned to %"PRIu32"\n",
lba, nlbas, align);
tcmu_dev_dbg(dev, "Falls back to writesame without unmap!\n");
return TCMU_STS_NOT_HANDLED;
7、 when I test above on rocky8.9 initiator ( iscsi-initiator-utils-6.2.1.4-8.git095f59c.el8_8.x86_64)
everything is ok
1、 I install glusterfs-6.0-63 and tcmu-runner=1.5.4 on rocky 8.9 system 2、Config ”user:glfs“ lun , and map lun to a target
3、 Try access tcmu-runner service on centos 7.9 iscsi initiator ( iscsi-initiator-utils-6.2.0.874-19.el7.x86_64), i can login success and find the lun device (/dev/sdb) 4、 Try run "mkfs.xfs /dev/sdb" command to format the lun device when I run mkfs.xfs, it is hang , then tcmu service failed
5、 I check the log "tcmu-runner.log"
when tcmu service failed , i can see the log :
6、 read the "tcmur_cmd_handler.c" source code when failed is happend , var align is 0 , cause devide 0 error ,
7、 when I test above on rocky8.9 initiator ( iscsi-initiator-utils-6.2.1.4-8.git095f59c.el8_8.x86_64) everything is ok