On 11/27/2011 10:56 PM, Mike Christie wrote: > On 11/27/2011 05:00 PM, Michal Suchanek wrote: >> On 27 November 2011 22:14, Mike Christie <micha...@cs.wisc.edu> wrote: >>> On 11/27/2011 02:28 PM, Michal Suchanek wrote: >>>> Hello, >>>> >>>> I configured my target with crc32 option and open-iscsi would not connect >>>> to it. >>>> >>>> More specifically, I tried iscsitarget (iet) first which accepted the >>>> connection without crc although it was specified in the config but >>>> when I replaced it with istgt I could not connect anymore. >>>> >>>> Shouldn't this be detected automagically? >>>> >>> >>> It depends on what value you used for the digest option on the target >>> and initiator. For header digests the initiator has the >>> node.conn.iscsi.HeaderDigest option. You can set this to: >>> >>> CRC32C >>> or >>> CRC32C,None >>> or >>> None >>> or >>> None,CRC32C >>> >>> On the target you have similar option values. It depends on what you set >>> on the initiator and target to determine the behavior. >>> >>> If you set the target digests values the same then there might be a bug. >>> >> >> I set the target to CRC32C and open-iscsi insists on using None unless >> manually changed. > > I am not sure what you mean. The default value for open-iscsi is None, > so yeah if you want to let the target decide you have to change it in > iscsid.conf or in the iscsi db for existing targets. If you change it in > iscsid.conf then it will be used for future targets that are > discovered/setup. > >> >> I use open-iscsi form Debian: 2.0.871.3-2squeeze1. >> >> There is a package of later version which does not work at all. >> >> Apparently iet allows None even when set to CRC32C but istgt only >> allows the value set in config. >> > > Can't help much there. You would have to take that up on the IET and tgt > lists. I am not sure how to configure them. >
Just to make sure I understand you though. You are saying for open-iscsi you need to change the default setting from None (there is nothing I can do for that except change the default value in the code I guess), and you are saying some of the targets might not be doing the right thing, right? -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to firstname.lastname@example.org. To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.