From: felipe g. <fe...@us...> - 2014-11-11 14:23:15
|
so... I read that only windows server 2012 microsoft initiator has this fix. http://iscsi-enterprise-target.996254.n3.nabble.com/problem-with-gt-2TB-luns-on-windows-td11827.html I am going to test with it. On Thu, Nov 6, 2014 at 6:36 PM, felipe gutierrez <fe...@us...> wrote: > Hello, > > I am trying to mount an iSCSI disk of 16TB with jscsi.org at windows to > format using NTFS. Reading this I realease that I need a 64bit hardware and > UEFI http://en.wikipedia.org/wiki/NTFS . > > I could mount a 8TB disk with NTFS, but not 16TB. I am thinking the > problem is the cluster size of my target. > > Could anyone help to check if these logs of my target and initiator on > linux are correct? > > or maybe with some links that splain the CommandDescriptionBlock of the > specific vendors? > > I know that 16TB with NTFS need blocks of 64Kb, is that right. > > Thanks a lot! Felipe > > > These are the logs of my iscsi mounted at linux debian: > > Nov 6 17:05:34 dell-felipe kernel: [23434.681069] scsi 13:0:0:0: > Direct-Access disyUKon jSCSI Target 1.00 PQ: 0 ANSI: 5 > Nov 6 17:05:34 dell-felipe kernel: [23434.681333] sd 13:0:0:0: Attached > scsi generic sg3 type 0 > Nov 6 17:05:34 dell-felipe kernel: [23434.687360] sd 13:0:0:0: [sdc] > 4294967297 4096-byte logical blocks: (17.5 TB/16.0 TiB) > Nov 6 17:05:34 dell-felipe kernel: [23434.692667] sd 13:0:0:0: [sdc] > Write Protect is off > Nov 6 17:05:34 dell-felipe kernel: [23434.693443] sd 13:0:0:0: [sdc] > Write cache: disabled, read cache: disabled, doesn't support DPO or FUA > Nov 6 17:05:34 dell-felipe kernel: [23434.694066] sd 13:0:0:0: [sdc] > 4294967297 4096-byte logical blocks: (17.5 TB/16.0 TiB) > Nov 6 17:05:34 dell-felipe kernel: [23434.757680] sdc: unknown partition > table > Nov 6 17:05:34 dell-felipe kernel: [23434.758615] sd 13:0:0:0: [sdc] > 4294967297 4096-byte logical blocks: (17.5 TB/16.0 TiB) > Nov 6 17:05:34 dell-felipe kernel: [23434.761441] sd 13:0:0:0: [sdc] > Attached SCSI disk > Nov 6 17:05:34 dell-felipe kernel: [23434.862434] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.862438] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > Nov 6 17:05:34 dell-felipe kernel: [23434.862441] sd 13:0:0:0: [sdc] > Add. Sense: No additional sense information > Nov 6 17:05:34 dell-felipe kernel: [23434.862445] sd 13:0:0:0: [sdc] CDB: > Read(16): 88 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 > Nov 6 17:05:34 dell-felipe kernel: [23434.864107] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.864111] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > Nov 6 17:05:34 dell-felipe kernel: [23434.864114] sd 13:0:0:0: [sdc] > Add. Sense: No additional sense information > Nov 6 17:05:34 dell-felipe kernel: [23434.864118] sd 13:0:0:0: [sdc] CDB: > Read(16): 88 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 > Nov 6 17:05:34 dell-felipe kernel: [23434.865541] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.865544] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > Nov 6 17:05:34 dell-felipe kernel: [23434.865547] sd 13:0:0:0: [sdc] > Add. Sense: No additional sense information > Nov 6 17:05:34 dell-felipe kernel: [23434.865550] sd 13:0:0:0: [sdc] CDB: > Read(16): 88 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 > Nov 6 17:05:34 dell-felipe kernel: [23434.866887] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.866892] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > Nov 6 17:05:34 dell-felipe kernel: [23434.866896] sd 13:0:0:0: [sdc] > Add. Sense: No additional sense information > Nov 6 17:05:34 dell-felipe kernel: [23434.866899] sd 13:0:0:0: [sdc] CDB: > Read(16): 88 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 > Nov 6 17:05:34 dell-felipe kernel: [23434.868294] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.868297] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > Nov 6 17:05:34 dell-felipe kernel: [23434.868300] sd 13:0:0:0: [sdc] > Add. Sense: No additional sense information > Nov 6 17:05:34 dell-felipe kernel: [23434.868303] sd 13:0:0:0: [sdc] CDB: > Read(16): 88 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 > Nov 6 17:05:34 dell-felipe kernel: [23434.870388] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.870392] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > Nov 6 17:05:34 dell-felipe kernel: [23434.870394] sd 13:0:0:0: [sdc] > Add. Sense: No additional sense information > Nov 6 17:05:34 dell-felipe kernel: [23434.870397] sd 13:0:0:0: [sdc] CDB: > Read(16): 88 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 > Nov 6 17:05:34 dell-felipe kernel: [23434.871674] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.871677] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > Nov 6 17:05:34 dell-felipe kernel: [23434.871680] sd 13:0:0:0: [sdc] > Add. Sense: No additional sense information > Nov 6 17:05:34 dell-felipe kernel: [23434.871682] sd 13:0:0:0: [sdc] CDB: > Read(16): 88 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 > Nov 6 17:05:34 dell-felipe kernel: [23434.873697] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.873701] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > Nov 6 17:05:34 dell-felipe kernel: [23434.873704] sd 13:0:0:0: [sdc] > Add. Sense: No additional sense information > Nov 6 17:05:34 dell-felipe kernel: [23434.873707] sd 13:0:0:0: [sdc] CDB: > Read(16): 88 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 > Nov 6 17:05:34 dell-felipe kernel: [23434.874807] sd 13:0:0:0: [sdc] > Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE > Nov 6 17:05:34 dell-felipe kernel: [23434.874810] sd 13:0:0:0: [sdc] > Sense Key : Illegal Request [current] > > > These are the logs of my iscsi mounted at windows: > > > 18:33:12.247 [main] INFO org.jscsi.parser.ProtocolDataUnit - Deserialized > Basic Header Segment: > ParserClass: LoginRequestParser > ImmediateFlag: true > OpCode: 0x3 > FinalFlag: true > TotalAHSLength: 0x0 > DataSegmentLength: 0x81 > InitiatorTaskTag: 0x1e4 > Continue Flag: false > CSG: 0x0 > NSG: 0x1 > minVersion: 0x0 > maxVersion: 0x0 > ISID: > T: 0x1 > A: 0x0 > B: 0x1 > C: 0x37 > D: 0x0 > TSIH: 0x0 > CID: 0x1 > CommandSequenceNumber: 0x1e4 > ExpectedStatusSequenceNumber: 0x3bc > > Deserialized Basic Header Segment: > ParserClass: LoginRequestParser > ImmediateFlag: true > OpCode: 0x3 > FinalFlag: true > TotalAHSLength: 0x0 > DataSegmentLength: 0x81 > InitiatorTaskTag: 0x1e4 > Continue Flag: false > CSG: 0x0 > NSG: 0x1 > minVersion: 0x0 > maxVersion: 0x0 > ISID: > T: 0x1 > A: 0x0 > B: 0x1 > C: 0x37 > D: 0x0 > TSIH: 0x0 > CID: 0x1 > CommandSequenceNumber: 0x1e4 > ExpectedStatusSequenceNumber: 0x3bc > > 18:33:12.248 [pool-13-thread-1] INFO o.j.t.c.Connection$TargetConnection > - Connection - > exception:org.jscsi.target.connection.phase.TargetFullFeaturePhase@12053c22 > [stage=org.jscsi.target.connection.stage.fullfeature.ReadStage@15aee56c > ,running=true,flagUnitReady=false,serviceBlobal=org.jscsi.service.GlobalServiceImpl@36f38d39 > ,connection=org.jscsi.target.connection.Connection$TargetConnection@d582093 > ] > Connection - > exception:org.jscsi.target.connection.phase.TargetFullFeaturePhase@12053c22 > [stage=org.jscsi.target.connection.stage.fullfeature.ReadStage@15aee56c > ,running=true,flagUnitReady=false,serviceBlobal=org.jscsi.service.GlobalServiceImpl@36f38d39 > ,connection=org.jscsi.target.connection.Connection$TargetConnection@d582093 > ] > java.io.IOException: Conexão fechada pela outra ponta > at sun.nio.ch.FileDispatcherImpl.read0(Native Method) > at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) > at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) > at sun.nio.ch.IOUtil.read(IOUtil.java:197) > at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) > at org.jscsi.parser.ProtocolDataUnit.read(ProtocolDataUnit.java:394) > at > org.jscsi.target.connection.TargetSenderWorker.receiveFromWire(TargetSenderWorker.java:150) > at > org.jscsi.target.connection.Connection$TargetConnection.receivePdu(Connection.java:175) > at > org.jscsi.target.connection.phase.TargetFullFeaturePhase.execute(TargetFullFeaturePhase.java:98) > at > org.jscsi.target.connection.Connection$TargetConnection.call(Connection.java:229) > at > org.jscsi.target.connection.Connection$TargetConnection.call(Connection.java:63) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > 18:33:12.248 [pool-13-thread-1] INFO o.j.t.c.Connection$TargetConnection > - Target Server closed connection! > 18:33:12.248 [pool-13-thread-1] INFO o.j.t.c.Connection$TargetConnection > - Connection - exception: > org.jscsi.target.connection.Connection$TargetConnection@d582093 > [targetSession=org.jscsi.target.connection.TargetSession@73fb51f0 > ,senderWorker=org.jscsi.target.connection.TargetSenderWorker@78c09f0c > ,connectionSettingsNegotiator=org.jscsi.target.settings.ConnectionSettingsNegotiator@2e0a0ac3 > ,phase=org.jscsi.target.connection.phase.TargetFullFeaturePhase@12053c22 > ,statusSequenceNumber=org.jscsi.target.util.SerialArithmeticNumber@15489fd2 > ,dataInArrayProvider=org.jscsi.target.util.FastByteArrayProvider@52f49ee8,isLeadingConnection=true,lastReceivedPDU= > ParserClass: SCSICommandParser > ImmediateFlag: false > OpCode: 0x1 > FinalFlag: true > TotalAHSLength: 0x0 > DataSegmentLength: 0x0 > InitiatorTaskTag: 0x1e3 > LUN: 0x0 > Expected Data Transfer Length: 0x200 > CommandSequenceNumber: 0x1e3 > ExpectedStatusSequenceNumber: 0x3bc > SCSI CDB: java.nio.HeapByteBuffer[pos=0 lim=16 cap=16] > ] > Connection - exception: > org.jscsi.target.connection.Connection$TargetConnection@d582093 > [targetSession=org.jscsi.target.connection.TargetSession@73fb51f0 > ,senderWorker=org.jscsi.target.connection.TargetSenderWorker@78c09f0c > ,connectionSettingsNegotiator=org.jscsi.target.settings.ConnectionSettingsNegotiator@2e0a0ac3 > ,phase=org.jscsi.target.connection.phase.TargetFullFeaturePhase@12053c22 > ,statusSequenceNumber=org.jscsi.target.util.SerialArithmeticNumber@15489fd2 > ,dataInArrayProvider=org.jscsi.target.util.FastByteArrayProvider@52f49ee8,isLeadingConnection=true,lastReceivedPDU= > ParserClass: SCSICommandParser > ImmediateFlag: false > OpCode: 0x1 > FinalFlag: true > TotalAHSLength: 0x0 > DataSegmentLength: 0x0 > InitiatorTaskTag: 0x1e3 > LUN: 0x0 > Expected Data Transfer Length: 0x200 > CommandSequenceNumber: 0x1e3 > ExpectedStatusSequenceNumber: 0x3bc > SCSI CDB: java.nio.HeapByteBuffer[pos=0 lim=16 cap=16] > ] > 18:33:12.249 [pool-13-thread-1] INFO org.jscsi.parser.ProtocolDataUnit - > Deserialized Basic Header Segment: > ParserClass: LoginRequestParser > ImmediateFlag: true > OpCode: 0x3 > FinalFlag: true > TotalAHSLength: 0x0 > DataSegmentLength: 0x12c > InitiatorTaskTag: 0x1e4 > Continue Flag: false > CSG: 0x1 > NSG: 0x3 > minVersion: 0x0 > maxVersion: 0x0 > ISID: > T: 0x1 > A: 0x0 > B: 0x1 > C: 0x37 > D: 0x0 > TSIH: 0x0 > CID: 0x1 > CommandSequenceNumber: 0x1e4 > ExpectedStatusSequenceNumber: 0x3bd > > Deserialized Basic Header Segment: > ParserClass: LoginRequestParser > ImmediateFlag: true > OpCode: 0x3 > FinalFlag: true > TotalAHSLength: 0x0 > DataSegmentLength: 0x12c > InitiatorTaskTag: 0x1e4 > Continue Flag: false > CSG: 0x1 > NSG: 0x3 > minVersion: 0x0 > maxVersion: 0x0 > ISID: > T: 0x1 > A: 0x0 > B: 0x1 > C: 0x37 > D: 0x0 > TSIH: 0x0 > CID: 0x1 > CommandSequenceNumber: 0x1e4 > ExpectedStatusSequenceNumber: 0x3bd > > 18:33:12.249 [pool-13-thread-1] INFO o.j.t.c.Connection$TargetConnection > - Login Phase successful > 18:33:12.250 [pool-13-thread-1] INFO org.jscsi.parser.ProtocolDataUnit - > Deserialized Basic Header Segment: > ParserClass: SCSICommandParser > ImmediateFlag: false > OpCode: 0x1 > FinalFlag: true > TotalAHSLength: 0x0 > DataSegmentLength: 0x0 > InitiatorTaskTag: 0x1e4 > LUN: 0x0 > Expected Data Transfer Length: 0x200 > CommandSequenceNumber: 0x1e4 > ExpectedStatusSequenceNumber: 0x3be > SCSI CDB: java.nio.HeapByteBuffer[pos=0 lim=16 cap=16] > > Deserialized Basic Header Segment: > ParserClass: SCSICommandParser > ImmediateFlag: false > OpCode: 0x1 > FinalFlag: true > TotalAHSLength: 0x0 > DataSegmentLength: 0x0 > InitiatorTaskTag: 0x1e4 > LUN: 0x0 > Expected Data Transfer Length: 0x200 > CommandSequenceNumber: 0x1e4 > ExpectedStatusSequenceNumber: 0x3be > SCSI CDB: java.nio.HeapByteBuffer[pos=0 lim=16 cap=16] > > 18:33:12.251 [pool-13-thread-1] ERROR o.j.t.c.Connection$TargetConnection > - Exception throws > > |