没有合适的资源?快使用搜索试试~ 我知道了~
首页SCSI Block Commands - 3 (SBC-3) 工作草案
SCSI Block Commands - 3 (SBC-3) 工作草案

"SCSI Block Commands - 3 (SBC-3) 是一个技术文档,由美国国家标准组织T10的内部工作草案,用于信息处理技术的SCSI块命令标准的修订。它不是一个最终完成的标准,可能仍会受到T10技术委员会的修改。这个文档仅供审查和评论,成员可以复制用于INCITS标准化活动,但禁止用于商业或营利目的。文档的技术编辑是来自Western Digital Corporation的Mark Evans。"
SBC-3(SCSI Block Commands - 3)是SCSI(Small Computer System Interface)协议的一个重要部分,该协议定义了计算机系统如何与存储设备(如硬盘驱动器、磁带驱动器和光盘驱动器)进行通信。SCSI是一个广泛使用的接口标准,支持多种设备类型,并提供了比基本IDE(现在称为ATA)更高的性能和更复杂的管理功能。
在SBC-3中,主要关注的是块命令,这些命令是SCSI协议中用于传输数据的基本单元。这些命令允许主机系统读取、写入和管理存储设备上的数据块。SBC-3的修订可能包括对原有标准的增强,比如新的命令、错误处理机制的改进、更高效的传输机制、支持更大容量的存储设备,以及对新兴技术(如固态硬盘SSD)的适应。
例如,SBC-3可能引入了新的命令来支持先进的错误恢复策略,这些策略可以提高数据完整性并减少因硬件故障导致的数据丢失。此外,SBC-3可能还包括对服务质量(QoS)的支持,允许系统根据不同的应用需求调整I/O优先级。对于SSD,SBC-3可能包含针对其低延迟特性和高耐用性要求的特定优化。
文档中提到的ISO/IEC14776-323:200x和ANSI INCITS.***:200x是该标准的国际和美国版本编号,它们将最终确定并发布正式的标准。这些编号代表了国际标准化组织(ISO)和国际电工委员会(IEC)的工作,以及美国国家标准学会(ANSI)下的INCITS,它们负责制定和维护信息技术标准。
SBC-3的详细内容涵盖了多个方面,包括命令格式、响应代码、异常处理、同步和异步传输、队列管理、设备状态报告等。它还规定了设备和主机之间的通信协议,以确保互操作性和可靠性。由于这是一个工作草案,其中的条款和要求可能会随着技术发展和反馈意见而发生变化,直到最终成为一个正式批准的标准。因此,对于那些从事存储系统开发、驱动程序编程或系统集成的人来说,持续关注SBC-3的更新是至关重要的。

T10/1799-D Revision 21 25 November 2009
xvi Working Draft SCSI Block Commands – 3 (SBC-3)
6.3.2 Background Scan Results log page................................................................................................ 163
6.3.2.1 Background Scan Results log page introduction....................................................................... 163
6.3.2.2 Background Scan Status parameter ......................................................................................... 164
6.3.2.3 Background Scan parameters................................................................................................... 166
6.3.3 Format Status log page................................................................................................................... 169
6.3.4 Non-volatile Cache log page........................................................................................................... 170
6.3.5 Solid State Media log page............................................................................................................. 172
6.3.6 Thin Provisioning log page.............................................................................................................. 174
6.3.6.1 Thin Provisioning log page introduction .................................................................................... 174
6.3.6.2 Threshold Resource Count log parameter ................................................................................ 175
6.4 Mode parameters ................................................................................................................................. 176
6.4.1 Mode parameters overview............................................................................................................. 176
6.4.2 Mode parameter block descriptors.................................................................................................. 177
6.4.2.1 Mode parameter block descriptors overview............................................................................. 177
6.4.2.2 Short LBA mode parameter block descriptor ............................................................................ 177
6.4.2.3 Long LBA mode parameter block descriptor ............................................................................. 179
6.4.3 Background Control mode page ..................................................................................................... 181
6.4.4 Caching mode page........................................................................................................................ 183
6.4.5 Read-Write Error Recovery mode page.......................................................................................... 187
6.4.6 Thin Provisioning mode page ......................................................................................................... 193
6.4.7 Verify Error Recovery mode page................................................................................................... 195
6.4.8 XOR Control mode page................................................................................................................. 196
6.5 Vital product data (VPD) parameters.................................................................................................... 197
6.5.1 VPD parameters overview .............................................................................................................. 197
6.5.2 Block Device Characteristics VPD page ......................................................................................... 197
6.5.3 Block Limits VPD page ................................................................................................................... 198
6.5.4 Thin Provisioning VPD page ........................................................................................................... 201
Annex A (informative) Numeric order codes ................................................................................................. 203
A.1 Variable length CDBs........................................................................................................................... 203
A.2 Service action CDBs ............................................................................................................................ 203
Annex B (informative) XOR command examples.......................................................................................... 205
B.1 XOR command examples overview ..................................................................................................... 205
B.2 Update write operation ......................................................................................................................... 205
B.3 Regenerate operation .......................................................................................................................... 206
B.4 Rebuild operation................................................................................................................................. 207
Annex C (informative) CRC example in C..................................................................................................... 209
Annex D (informative) Sense information for locked or encrypted SCSI target devices ............................... 211
Annex E (informative) Optimizing block access characteristics .................................................................... 212
E.1 Optimizing block access overview ....................................................................................................... 212
E.2 Starting logical block offset .................................................................................................................. 212
E.3 Optimal granularity sizes...................................................................................................................... 212
E.4 Optimizing transfers ............................................................................................................................. 212
E.5 Examples ............................................................................................................................................. 213

25 November 2009 T10/1799-D Revision 21
Working Draft SCSI Block Commands – 3 (SBC-3) xvii
Tables
Page
1 Standards bodies .......................................................................................................................................... 2
2 Numbering convention examples ................................................................................................................ 10
3
THRESHOLD RESOURCE, THRESHOLD TYPE, and THRESHOLD ARMING values for thin provisioning thresholds 20
4 SBC-3 commands that are allowed in the presence of various reservations .............................................. 29
5 Example error conditions ............................................................................................................................ 31
6 Sense data field usage for direct-access block devices .............................................................................. 31
7 Block commands sense data descriptor format .......................................................................................... 32
8 User data and protection information format with a single protection information interval .......................... 44
9 An example of the user data and protection information format for a logical block with more than one
protection information interval .................................................................................................................... 45
10 Content of the first
LOGICAL BLOCK REFERENCE TAG field for the first logical block in the data-in buffer and/or
data-out buffers .......................................................................................................................................... 46
11 Setting the value in subsequent
LOGICAL BLOCK REFERENCE TAG fields for a logical block in the data-in buffer
and/or data-out buffer ................................................................................................................................. 47
12 CRC polynomials ...................................................................................................................................... 47
13 CRC test cases ......................................................................................................................................... 49
14 Associations between commands and CbCS permissions ....................................................................... 54
15 Commands for direct-access block devices .............................................................................................. 56
16 FORMAT UNIT command ......................................................................................................................... 61
17 FORMAT UNIT command address descriptor usage ............................................................................... 62
18 FORMAT UNIT parameter list ................................................................................................................... 64
19 Short parameter list header ....................................................................................................................... 64
20 Long parameter list header ....................................................................................................................... 65
21
FMTPINFO field and PROTECTION FIELD USAGE field ..................................................................................... 65
22 Initialization pattern descriptor .................................................................................................................. 68
23 Initialization pattern modifier (
IP MODIFIER) field ......................................................................................... 69
24
INITIALIZATION PATTERN TYPE field ............................................................................................................... 70
25 Address descriptor formats ....................................................................................................................... 71
26 Short block format address descriptor (000b) ........................................................................................... 71
27 Long block format address descriptor (011b) ............................................................................................ 71
28 Bytes from index format address descriptor (100b) .................................................................................. 72
29 Physical sector format address descriptor (101b) ..................................................................................... 73
30 GET LBA STATUS command ................................................................................................................... 74
31 GET LBA STATUS parameter data .......................................................................................................... 75
32 LBA status descriptor format ..................................................................................................................... 76
33
PROVISIONING STATUS field .........................................................................................................................76
34 ORWRITE command ................................................................................................................................ 77
35
ORPROTECT field - checking protection information read from the medium ............................................... 78
36
ORPROTECT field - checking protection information from the data-out buffer ............................................. 81
37 PRE-FETCH (10) command ..................................................................................................................... 83
38 PRE-FETCH (16) command ..................................................................................................................... 84
39 PREVENT ALLOW MEDIUM REMOVAL command ................................................................................. 85
40
PREVENT field ............................................................................................................................................. 85
41 READ (6) command .................................................................................................................................. 86
42 Protection information checking for READ (6) .......................................................................................... 87
43 READ (10) command ................................................................................................................................ 88
44
RDPROTECT field ......................................................................................................................................... 89
45 Force unit access for read operations ....................................................................................................... 92
46 READ (12) command ................................................................................................................................ 93
47 READ (16) command ................................................................................................................................ 94
48 READ (32) command ................................................................................................................................ 95
49 READ CAPACITY (10) command ............................................................................................................. 96
50 READ CAPACITY (10) parameter data .................................................................................................... 97
51 READ CAPACITY (16) command ............................................................................................................. 98
52 READ CAPACITY (16) parameter data .................................................................................................... 99

T10/1799-D Revision 21 25 November 2009
xviii Working Draft SCSI Block Commands – 3 (SBC-3)
53
P_TYPE field and PROT_EN bit .................................................................................................................... 99
54
LOGICAL BLOCKS PER PHYSICAL BLOCK EXPONENT field .............................................................................. 100
55 READ DEFECT DATA (10) command .................................................................................................... 100
56 READ DEFECT DATA (10) parameter data ........................................................................................... 101
57 READ DEFECT DATA (12) command .................................................................................................... 102
58 READ DEFECT DATA (12) parameter data ........................................................................................... 103
59 READ LONG (10) command ................................................................................................................... 104
60 READ LONG (16) command ................................................................................................................... 105
61 REASSIGN BLOCKS command ............................................................................................................. 106
62 REASSIGN BLOCKS parameter list ....................................................................................................... 107
63 REASSIGN BLOCKS short parameter list header .................................................................................. 107
64 REASSIGN BLOCKS long parameter list header ................................................................................... 107
65 START STOP UNIT command ............................................................................................................... 108
66
POWER CONDITION and POWER CONDITION MODIFIER field ......................................................................... 109
67 SYNCHRONIZE CACHE (10) command ................................................................................................ 111
68
SYNC_NV bit ............................................................................................................................................. 112
69 SYNCHRONIZE CACHE (16) command ................................................................................................ 113
70 UNMAP command .................................................................................................................................. 113
71 UNMAP parameter list ............................................................................................................................ 114
72 UNMAP parameter list header ................................................................................................................ 114
73 UNMAP block descriptor data ................................................................................................................. 115
74 UNMAP block descriptor ......................................................................................................................... 115
75 VERIFY (10) command ........................................................................................................................... 116
76
VRPROTECT field with BYTCHK set to zero – checking protection information read from the medium ....... 117
77
VRPROTECT field with BYTCHK set to one – checking protection information read from the medium ........ 120
78
VRPROTECT field with BYTCHK set to one – checking protection information from the data-out buffer ...... 122
79
VRPROTECT field with BYTCHK set to one – byte-by-byte comparison requirements ................................. 124
80 VERIFY (12) command ........................................................................................................................... 127
81 VERIFY (16) command ........................................................................................................................... 127
82 VERIFY (32) command ........................................................................................................................... 128
83 WRITE (6) command .............................................................................................................................. 129
84 WRITE (10) command ............................................................................................................................ 130
85
WRPROTECT field ...................................................................................................................................... 131
86 Force unit access for write operations .................................................................................................... 133
87 WRITE (12) command ............................................................................................................................ 134
88 WRITE (16) command ............................................................................................................................ 135
89 WRITE (32) command ............................................................................................................................ 136
90 WRITE AND VERIFY (10) command ...................................................................................................... 137
91 WRITE AND VERIFY (12) command ...................................................................................................... 138
92 WRITE AND VERIFY (16) command ...................................................................................................... 139
93 WRITE AND VERIFY (32) command ...................................................................................................... 140
94 WRITE LONG (10) command ................................................................................................................. 141
95
COR_DIS bit, WR_UNCOR bit, and PBLOCK bit ............................................................................................. 142
96 WRITE LONG (16) command ................................................................................................................. 144
97 WRITE SAME (10) command ................................................................................................................. 145
98
LBDATA bit and PBDATA bit ........................................................................................................................ 146
99 WRITE SAME (16) command ................................................................................................................. 147
100 WRITE SAME (32) command ............................................................................................................... 148
101 XDREAD (10) command ....................................................................................................................... 149
102 XDREAD (32) command ....................................................................................................................... 150
103 XDWRITE (10) command ..................................................................................................................... 151
104 XDWRITE (32) command ..................................................................................................................... 152
105 XDWRITEREAD (10) command ........................................................................................................... 153
106 XDWRITEREAD (32) command ........................................................................................................... 154
107 XPWRITE (10) command ...................................................................................................................... 155
108 XPWRITE (32) command ...................................................................................................................... 156
109 Diagnostic page codes for direct-access block devices ........................................................................ 158

25 November 2009 T10/1799-D Revision 21
Working Draft SCSI Block Commands – 3 (SBC-3) xix
110 Translate Address Input diagnostic page .............................................................................................. 159
111 Translate Address Output diagnostic page ........................................................................................... 160
112 Log page codes and subpage codes for direct-access block devices .................................................. 162
113 Background Scan Results log page ...................................................................................................... 163
114 Background Scan Results log page parameter codes .......................................................................... 164
115 Background Scan Status parameter format .......................................................................................... 164
116
BACKGROUND SCAN STATUS field ............................................................................................................. 165
117 Background Scan parameter format ..................................................................................................... 166
118
REASSIGN STATUS field ........................................................................................................................... 167
119 Format Status log page parameter codes ............................................................................................. 169
120 Non-volatile Cache log page ................................................................................................................. 170
121 Non-volatile Cache log parameters ....................................................................................................... 170
122 Remaining Non-volatile Time parameter data ....................................................................................... 170
123
REMAINING NON-VOLATILE TIME field ........................................................................................................ 171
124 Maximum Non-volatile Time parameter data ........................................................................................ 171
125
MAXIMUM NON-VOLATILE TIME field .......................................................................................................... 171
126 Solid State Media log page ................................................................................................................... 172
127 Solid State Media log page parameter codes ....................................................................................... 172
128 Percentage Used Endurance Indicator parameter format ..................................................................... 173
129 Thin Provisioning log page .................................................................................................................... 174
130 Thin Provisioning log page parameter codes ........................................................................................ 174
131 Threshold Resource Count log parameter format ................................................................................. 175
132 Mode page codes and subpage codes for direct-access block devices ............................................... 176
133
DEVICE-SPECIFIC PARAMETER field for direct-access block devices ......................................................... 177
134 Short LBA mode parameter block descriptor ........................................................................................ 178
135 Long LBA mode parameter block descriptor ......................................................................................... 179
136 Background Control mode page ........................................................................................................... 181
137 Caching mode page .............................................................................................................................. 183
138
DEMAND READ RETENTION PRIORITY field ................................................................................................. 184
139
WRITE RETENTION PRIORITY field ............................................................................................................. 185
140 Read-Write Error Recovery mode page ................................................................................................ 187
141 Combined error recovery bit descriptions ............................................................................................. 189
142 Thin Provisioning mode page ................................................................................................................ 193
143 Threshold descriptor format .................................................................................................................. 194
144 Threshold type field ............................................................................................................................... 194
145 Threshold arming field ........................................................................................................................... 194
146 Threshold resource field ........................................................................................................................ 194
147 Verify Error Recovery mode page ......................................................................................................... 195
148 XOR Control mode page ....................................................................................................................... 196
149 Direct-access block device VPD page codes ........................................................................................ 197
150 Block Device Characteristics VPD page ............................................................................................... 197
151
MEDIUM ROTATION RATE field .................................................................................................................. 198
152
NOMINAL FORM FACTOR field ................................................................................................................... 198
153 Block Limits VPD page .......................................................................................................................... 198
154 Thin Provisioning VPD page ................................................................................................................. 201
A.1 Variable length command service action code assignments ................................................................. 203
A.2 SERVICE ACTION IN (16) service actions ............................................................................................ 203
A.3 SERVICE ACTION OUT (16) service actions ........................................................................................ 204
D.1 Sense information for locked or encrypted SCSI target devices ........................................................... 211

T10/1799-D Revision 21 25 November 2009
xx Working Draft SCSI Block Commands – 3 (SBC-3)
Figures
Page
1 SCSI document relationships ........................................................................................................................ 1
2 Example state diagram ............................................................................................................................... 11
3 Logical blocks and physical blocks examples ............................................................................................. 16
4 Logical block to physical block alignment examples ................................................................................... 17
5 Examples of the relationship between mapped and umapped LBAs and physical blocks .......................... 18
6 Armed decreasing threshold operation ....................................................................................................... 21
7 Armed increasing threshold operation ........................................................................................................ 21
8 Logical block provisioning state machine .................................................................................................... 22
9 Power condition state machine for logical units implementing the START STOP UNIT command ............ 38
B.1 Update write operation (storage array controller supervised) ................................................................ 206
B.2 Regenerate operation (storage array controller supervised) ................................................................. 207
B.3 Rebuild operation (storage array controller supervised) ........................................................................ 208
剩余234页未读,继续阅读
254 浏览量
926 浏览量
176 浏览量
2024-11-03 上传
2024-11-03 上传
2024-11-03 上传
314 浏览量
652 浏览量
2024-11-25 上传

gaoshengke99
- 粉丝: 0
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- Java初学者必备课件与源码资料包
- 如何打造更美观的装饰公司网站
- Jupyter Notebook中的数据优化实践技巧
- Spring MVC整合腾讯云Qcloud实现文件上传
- PR去台标插件:提升视频编辑效率的好工具
- 一站式FLV转码工具:支持多格式输出
- 淘宝客与炒股程序源码免费下载
- VC技术实现BMP图片剪切操作详解
- 医院医疗设备管理及预防性维护策略研究
- 探索DIY OpenAPS工具:构建开放源代码人造胰腺系统
- Helen专版旁注扫描工具:VIP专属黑阔助力信息安全
- 实现3D图片切换与翻转效果的jar包封装教程
- Java基础实现RSA加密解密及签名校验教程
- 实现级联下拉列表绑定地区功能的JS教程
- 汇编语言单片机电子时钟设计与仿真
- GLEW库正式支持OpenGL 4.3 规范的64位版本发布
安全验证
文档复制为VIP权益,开通VIP直接复制

扫码关注,限时领取CSDN余额