资源描述
Click to edit the title text format,Click to edit the outline text format,Second Outline Level,Third Outline Level,Fourth Outline Level,Fifth Outline Level,Sixth Outline Level,Seventh Outline Level,Eighth Outline Level,Ninth Outline Level,*,SCSI Overview,Improving Networks Worldwide.,Click to edit the title text format,Click to edit the outline text format,Second Outline Level,Third Outline Level,Fourth Outline Level,Fifth Outline Level,Sixth Outline Level,Seventh Outline Level,Eighth Outline Level,Ninth Outline Level,UNH,互操作性实验室,SCSI,命令概述,物理,物理层,数据链路层,数据传输层,应用层,陈述主题,命令摘要,命令选择释义,附加意义上的代码及资格,CDB,命令数据程序块,命令由,CDBs,定义,每个对象都有他自己的,CDB,CDBs,由多种,SCSI,标准定义,拥有固定和变化的长度变量,In SAS:,囊括在一个指令框架中,SCSI Command Sets,SPC-4,SCSI Primary Commands Version 4,命令对于所有的方法类型普遍适用,SBC-3,SCSI Block Command Version 3,命令针对特定的块设备,(,硬盘,),SSC-2,SCSI Streaming Commands Version 2,命令针对特定的流设备,(,磁盘驱动,),MMC-4,SCSI Multi Media Commands Version 4,命令针对特定的多媒体设备,(CD/DVD),Common SCSI Commands in SAS,Read Commands,READ(6)(SSC and SBC)*,READ(10)(SBC),READ(12)(SBC),READ(16)(SBC),READ(32)(SBC),*,不同的域定义使用相同的,CDB,长度,Command SCSI Commands in SAS,Write Commands,WRITE(6)(SSC and SBC)*,WRITE(10)(SBC),WRITE(12)(SBC),WRITE(16)(SBC),WRITE(32)(SBC),*Different Field Definitions,same CDB Length,诊断与初始化指令,读缓冲,(SPC),写缓冲,(SPC),询问,(SPC),测试单元就绪,(SPC),模式识别,(SPC),模式选择,(SPC),日志识别,(SPC),日志选择,(SPC),读取归类,(SPC),REPORT LUNS(SPC),READ BUFFER(SPC),WRITE BUFFER(SPC),INQUIRY(SPC),TEST UNIT READY(SPC),MODE SENSE(SPC),MODE SELECT(SPC),LOG SENSE(SPC),LOG SELECT(SPC),READ ATTRIUBUTE(SPC),REPORT LUNS(SPC),数据块指定的指令,READ CAPACITY,VERIFY,WRITE AND VERIFY,READ LONG,WRITE LONG,Many more,Streaming Specific Commands,LOAD UNLOAD,LOCATE(16),PREVENT ALLOW MEDIUM REMOVAL,READ BLOCK LIMITS,READ POSITION,REWIND,SET CAPACITY,SPACE(16),READ(16)Command,OP,代码,:88h Specifies the command,读保护,:,关于写保护检查的多种设定,READ(16)Command,DPO,Disable Page Out Bit,用于最优化登录目标设备的缓存,Set to 1 tells the target that data at this Logical Block Address is not likely to be accessed again in the near future and that the target can remove it from its local cache,Set,to 1,告诉目标在这个逻辑区块地址中的数据在不久的将来无法再次接近并且目标可在将它从它的本地缓存中移除,READ(16)Command,FUA and FUA_NV,Force Unit Access (Non-Volatile),Used to override the targets internal caching and force it to access the media,适用于目标内部缓存并且指示其接近媒介,READ(16)Command,Logical Block Address(LBA),The address on the medium that the initiator would like to read,Internally,the target converts the LBA to a(Cylinder,Sector,Head)address,Transparent to the computer system and user,逻辑区块地址,在内部,对象将,LBA,转化成一个地址,此地址对计算机系统和用户而言显而易见,READ(16)Command,Transfer Length,Specifies the length in contiguous logical units to be transferred in this command,Logical unit is typically 512-bytes(1 Block),本地单元使典型的,512,字节(,1,数据块),在此对象中指定在临近逻辑单元上被转移的长度,READ(16)Command,Restricted for MMC-4,Used for the MMC-4 Version of this command,READ(16)Command,Group Number,Used to collect performance statistics of different groups of commands,Application A,s performance vs.Applications B,s performance,用于收集不同组别命令的执行统计,READ(16)Command,Control,Standard SCSI Control Bytes,Defined in SAM-4,Has a consistently defined meaning across all commands,Found only on fixed-length CDB commands,翻译:标准,SCSI,控制字节,THANK YOU,SUCCESS,2024/11/28,19,可编辑,WRITE(16)Command,OP Code:8Ah Specifies the command,WD Protect:Various settings regarding the write protection checking,WRITE(16)Command,DPO,Disable Page Out Bit,Used to optimize caching onboard the target device,Set to 1 tells the target that data at this Logical Block Address is not likely to be accessed again in the near future and that the target can remove it from its local cache,WRITE(16)Command,FUA and FUA_NV,Force Unit Access (Non-Volatile),Used to override the targets internal caching and force it to access the media,WRITE(16)Command,Logical Block Address(LBA),The address on the medium that the initiator would like to read,Internally,the target converts the LBA to a(Cylinder,Sector,Head)address,Transparent to the computer system and user,WRITE(16)Command,Transfer Length,Specifies the length in contiguous logical units to be transferred in this command,Logical unit is typically 512-bytes(1 Block),WRITE(16)Command,Restricted for MMC-4,Used for the MMC-4 Version of this command,WRITE(16)Command,Group Number,Used to collect performance statistics of different groups of commands,Application A,s performance vs.Applications B,s performance,WRITE(16)Command,Control,Standard SCSI Control Bytes,Defined in SAM-4,Has a consistently defined meaning across all commands,Found only on fixed-length CDB commands,TEST UNIT READY Command,OP Code:00h Specifies the command,Control Bits are typically zero,Defined in SAM-4,Result:6 Byte CDB consisting of entirely 0s,TEST UNIT READY Command,Also:,CHECK CONDITION,NOT READY,POWER ON OCCURED,INQUIRY Command,OP Code:12h Specifies the Command,EVPD:Enable Vital Product Data,Set to zero,the device returns standard inquiry data,Set to one,enables the page code field,设置为,0,,设备返回普通的询问信息,设置为,1,,启用页面代码字段,INQUIRY Comman
展开阅读全文