没有合适的资源?快使用搜索试试~ 我知道了~
首页SCSI Block Commands - SBC-5 Working Draft Explained
SCSI Block Commands - SBC-5 Working Draft Explained
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
![](https://csdnimg.cn/release/wenkucmsfe/public/img/starY.0159711c.png)
"SCSI Block Commands – 5 (SBC-5) - R0.pdf"
SCSI(小型计算机系统接口)是一种广泛应用于存储设备的数据传输协议,它允许不同类型的硬件设备,如硬盘、磁带驱动器、光驱等,与主机系统进行通信。SCSI Block Commands (SBC) 是SCSI协议的一个子集,专门处理块设备操作,如读写数据到存储介质上。SBC-5是这个标准的第五个修订版,它定义了如何在SCSI环境中执行块级命令。
SBC-5 标准草案由美国国家标准协会的 T10 技术委员会负责,该委员会致力于国际信息技术标准的制定。尽管这个文档是工作草案,未被正式批准,但它包含了最新的技术进展和修改建议。T10技术委员会有权对内容进行修改,而此版本仅用于审查和评论目的。只有INCITS(国际信息技术标准委员会)的成员、其下属的技术委员会和任务组可以在参与标准化活动时复制此文档,但必须保留版权通知,且禁止商业用途的复制。
文档中的主要关注点可能包括:
1. **命令集扩展**:SBC-5可能会引入新的命令或扩展已有的命令,以适应不断发展的存储技术需求,比如支持更高级别的错误恢复机制、更高效的I/O调度策略等。
2. **性能优化**:可能涉及提高SCSI协议的数据传输速率,减少延迟,以及改进服务质量(QoS)。
3. **安全性增强**:可能涵盖加密和认证机制,以保护存储在块设备上的数据的安全。
4. **错误处理和恢复**:SBC-5可能会细化错误报告和处理机制,提供更强大的错误恢复策略,以确保数据完整性。
5. **设备管理**:可能包含新的设备状态报告和管理功能,使得管理员可以更有效地监控和控制存储设备。
6. **兼容性**:SBC-5将保持向后兼容,确保新标准能够与旧的SCSI设备和软件协同工作。
7. **协议效率**:可能涉及优化协议开销,减少不必要的交换,从而提升整体系统性能。
SBC-5的T10技术编辑是William Martin,来自Samsung Semiconductor, Inc。他负责协调和整理这个标准的编写工作,并处理相关的技术问题和反馈。
ISO/IEC14776-324:20引用号可能指的是与SCSI协议相关的ISO标准,这部分内容可能详细规定了SBC-5的某些技术细节或与其他标准的关联。
总而言之,SBC-5是SCSI协议的重要更新,它旨在通过增加新功能、优化现有功能,以适应不断变化的存储技术和市场需求。对于存储设备制造商、操作系统开发者以及数据中心管理者来说,理解和掌握SBC-5的内容至关重要。
![](https://csdnimg.cn/release/download_crawler_static/24417610/bg10.jpg)
T10/BSR INCITS 571 Revision 0 8 April 2021
xvi Working Draft SCSI Block Commands – 5 (SBC-5)
H.3.3.6 SYNCHRONIZE CACHE (16) command.................................................................................. 400
H.3.3.7 WRITE SAME (16) command................................................................................................... 400
H.3.4 SBC Base 2016 feature set mode pages ....................................................................................... 401
H.3.4.1 Mode parameter block descriptor ............................................................................................. 401
H.3.4.2 Caching mode page.................................................................................................................. 401
H.3.4.3 Control mode page ................................................................................................................... 401
H.3.4.4 Informational Exceptions Control mode page........................................................................... 401
H.3.4.5 Read-Write Error Recovery mode page ................................................................................... 401
H.3.5 SBC Base 2016 feature set VPD pages......................................................................................... 401
H.3.5.1 Block Device Characteristics VPD page................................................................................... 401
H.3.5.2 Block Limits VPD page ............................................................................................................. 402
H.3.5.3 Extended INQUIRY Data VPD page......................................................................................... 402
H.4 Basic Provisioning 2016 feature set..................................................................................................... 402
H.4.1 Basic Provisioning 2016 feature set overview................................................................................ 402
H.4.2 SBC Basic Provisioning 2016 feature set model additional requirements ..................................... 403
H.4.3 Basic Provisioning 2016 feature set commands ............................................................................ 403
H.4.3.1 GET LBA STATUS (16) command ........................................................................................... 403
H.4.3.2 READ CAPACITY (16) command............................................................................................. 403
H.4.3.3 WRITE SAME (16) command................................................................................................... 403
H.4.4 SBC Basic Provisioning 2016 feature set VPD pages ................................................................... 403
H.4.4.1 Block Limits VPD page ............................................................................................................. 403
H.4.4.2 Logical Block Provisioning VPD page....................................................................................... 403
H.5 Drive Maintenance 2016 feature set .................................................................................................... 404
H.5.1 Drive Maintenance 2016 feature set overview ............................................................................... 404
H.5.2 Drive Maintenance 2016 feature set commands............................................................................ 405
H.5.2.1 READ BUFFER (10) command ................................................................................................ 405
H.5.2.2 READ DEFECT DATA (12) command...................................................................................... 405
H.5.2.3 REASSIGN BLOCKS command............................................................................................... 405
H.5.2.4 SANITIZE command................................................................................................................. 405
H.5.2.5 SEND DIAGNOSTIC command................................................................................................ 406
H.5.2.6 WRITE BUFFER command ...................................................................................................... 406
H.5.3 Drive Maintenance 2016 feature set VPD pages ........................................................................... 406
H.5.3.1 Block Device characteristics VPD page.................................................................................... 406
H.5.4 Drive Maintenance 2016 feature set log pages.............................................................................. 406
H.5.4.1 Background Scan Results log page.......................................................................................... 406
H.5.4.2 Read Error Counters log page.................................................................................................. 406
H.5.4.3 Start-Stop Cycle Counter log page ........................................................................................... 407
H.5.4.4 Temperature log page .............................................................................................................. 407
Annex I (informative) Using storage element depopulation .......................................................................... 408
Annex J (informative) Rebuild assist using the GET LBA STATUS command ............................................. 409
J.1 Overview............................................................................................................................................... 409
J.2 Discovery process ................................................................................................................................ 409
Annex K (informative) Direct access block devices with shared resources .................................................. 411
K.1 Overview .............................................................................................................................................. 411
K.2 Downloading and activating microcode................................................................................................ 411
K.3 Caching ................................................................................................................................................ 411
K.4 Power management ............................................................................................................................. 411
K.5 Mode page considerations ................................................................................................................... 412
K.6 Log page considerations ...................................................................................................................... 412
K.7 Command considerations .................................................................................................................... 413
K.8 Commands with a high probability of affecting more than one logical unit .......................................... 413
K.8.1 The FORMAT UNIT command ....................................................................................................... 413
K.8.2 The REMOVE ELEMENT AND TRUNCATE command................................................................. 413
K.8.3 The SANITIZE command ............................................................................................................... 414
![](https://csdnimg.cn/release/download_crawler_static/24417610/bg11.jpg)
8 April 2021 T10/BSR INCITS 571 Revision 0
Working Draft SCSI Block Commands – 5 (SBC-5) xvii
K.8.4 The START STOP UNIT command................................................................................................ 414
K.8.5 The SEND DIAGNOSTIC command and RECEIVE DIAGNOSTIC RESULTS command............. 414
K.8.6 The WRITE BUFFER command and READ BUFFER command .................................................. 414
K.9 Common Mandatory SCSI Commands................................................................................................ 414
Annex L (informative) Bibliography ............................................................................................................... 415
![](https://csdnimg.cn/release/download_crawler_static/24417610/bg12.jpg)
T10/BSR INCITS 571 Revision 0 8 April 2021
xviii Working Draft SCSI Block Commands – 5 (SBC-5)
Tables
Page
Table 1 — Direct access block device type mode topics and references ........................................................ 2
Table 2 — Numbering convention examples ................................................................................................. 15
Table 3 — Comparison of decimal prefixes and binary prefixes .................................................................... 16
Table 4 — Direct access block device type model topics .............................................................................. 17
Table 5 — Logical block provisioning states supported by logical block provisioning type ............................ 26
Table 6 — WRITE SAME command and unmap operations ......................................................................... 29
Table 7 — Threshold resource value, threshold type value, and threshold arming value for logical block
provisioning thresholds ............................................................................................................................... 32
Table 8 — Threshold resource value, threshold type value, and threshold arming value for logical block
provisioning percentages ........................................................................................................................... 33
Table 9 — Logical block data returned by a read operation from a mapped LBA ......................................... 37
Table 10 — Logical block data returned by a read operation from an unmapped LBA ................................. 38
Table 11 — Defect lists (i.e., PLIST and GLIST) ........................................................................................... 46
Table 12 — Address descriptor formats ......................................................................................................... 47
Table 13 — SBC-4 commands that are allowed in the presence of various reservations ............................. 52
Table 14 — Example error conditions ............................................................................................................ 55
Table 15 — Sense data field usage for direct access block devices ............................................................. 56
Table 16 — Block commands sense data descriptor format .......................................................................... 57
Table 17 — User data segment referral sense data descriptor format .......................................................... 58
Table 18 — User data segment referral descriptor format ............................................................................. 59
Table 19 — Target port group descriptor ....................................................................................................... 60
Table 20 — Direct access block device sense data descriptor format ........................................................... 60
Table 21 — Summary of states in the SSU_PC state machine ..................................................................... 65
Table 22 — Logical block data format with a single protection information interval ....................................... 80
Table 23 — An example of the logical block data for a logical block with more than one protection
information interval ..................................................................................................................................... 81
Table 24 — Content of the first
LOGICAL BLOCK REFERENCE TAG field ............................................................. 83
Table 25 — Content of subsequent LOGICAL BLOCK REFERENCE TAG fields for a logical block in the Data-In
Buffer and/or Data-Out Buffer .................................................................................................................... 83
Table 26 — CRC polynomials ........................................................................................................................ 84
Table 27 — CRC test cases ........................................................................................................................... 85
Table 28 — Commands that require uninterrupted sequences ..................................................................... 92
Table 29 — Performing an ORWRITE set operation ..................................................................................... 97
Table 30 — ROD token type values ............................................................................................................. 100
Table 31 — Block device zero ROD token format ....................................................................................... 100
Table 32 — Performing atomic write operations with overlapping LBAs during current operations ............ 103
Table 33 — Transfer limits for commands ................................................................................................... 112
Table 34 — Commands for direct access block devices ............................................................................. 120
Table 35 — BACKGROUND CONTROL command .................................................................................... 124
Table 36 —
BO_CTL field .............................................................................................................................. 125
Table 37 — COMPARE AND WRITE command ......................................................................................... 126
Table 38 — FORMAT UNIT command ........................................................................................................ 127
Table 39 — FORMAT UNIT command address descriptor support requirements ....................................... 128
Table 40 —
FFMT field description ................................................................................................................ 129
Table 41 — FORMAT UNIT parameter list .................................................................................................. 129
Table 42 — Short parameter list header ...................................................................................................... 130
Table 43 — Long parameter list header ....................................................................................................... 130
Table 44 —
FMTPINFO field and PROTECTION FIELD USAGE field ..................................................................... 131
Table 45 — Initialization pattern descriptor .................................................................................................. 134
Table 46 —
INITIALIZATION PATTERN TYPE field .............................................................................................. 135
Table 47 — FORMAT WITH PRESET command ........................................................................................ 136
Table 48 — GET LBA STATUS (16) command ........................................................................................... 137
Table 49 —
REPORT TYPE field ..................................................................................................................... 138
Table 50 — GET LBA STATUS parameter data .......................................................................................... 138
![](https://csdnimg.cn/release/download_crawler_static/24417610/bg13.jpg)
8 April 2021 T10/BSR INCITS 571 Revision 0
Working Draft SCSI Block Commands – 5 (SBC-5) xix
Table 51 —
COMPLETION CONDITION field ...................................................................................................... 139
Table 52 — LBA status descriptor format .................................................................................................... 140
Table 53 —
PROVISIONING STATUS field ......................................................................................................... 140
Table 54 —
ADDITIONAL STATUS field ............................................................................................................ 141
Table 55 — GET LBA STATUS (32) command ........................................................................................... 142
Table 56 — GET PHYSICAL ELEMENT STATUS command ..................................................................... 143
Table 57 —
FILTER field ................................................................................................................................ 144
Table 58 —
REPORT TYPE field ..................................................................................................................... 144
Table 59 — GET PHYSICAL ELEMENT STATUS parameter data ............................................................. 145
Table 60 — Physical element status descriptor format ................................................................................ 146
Table 61 —
PHYSICAL ELEMENT TYPE field ..................................................................................................... 146
Table 62 —
PHYSICAL ELEMENT HEALTH field ................................................................................................. 147
Table 63 — GET STREAM STATUS command .......................................................................................... 148
Table 64 — GET STREAM STATUS parameter data .................................................................................. 149
Table 65 — Stream status descriptor format ............................................................................................... 150
Table 66 — ORWRITE (16) command ........................................................................................................ 151
Table 67 —
ORPROTECT field - checking protection information from the read operations ........................... 152
Table 68 — ORPROTECT field - checking protection information from the Data-Out Buffer ........................... 155
Table 69 — ORWRITE (32) command ........................................................................................................ 157
Table 70 —
BMOP field .................................................................................................................................. 158
Table 71 — POPULATE TOKEN command ................................................................................................ 159
Table 72 — POPULATE TOKEN parameter list .......................................................................................... 160
Table 73 — Block device range descriptor .................................................................................................. 162
Table 74 — PRE-FETCH (10) command ..................................................................................................... 163
Table 75 — PRE-FETCH (16) command ..................................................................................................... 164
Table 76 — PREVENT ALLOW MEDIUM REMOVAL command ................................................................ 165
Table 77 —
PREVENT field ............................................................................................................................ 165
Table 78 — READ (10) command ............................................................................................................... 166
Table 79 — RDPROTECT field ........................................................................................................................ 167
Table 80 — READ (12) command ............................................................................................................... 171
Table 81 — READ (16) command ............................................................................................................... 172
Table 82 — Duration limit descriptor
DLD bits .............................................................................................. 172
Table 83 — READ (32) command ............................................................................................................... 173
Table 84 — READ CAPACITY (10) command ............................................................................................ 175
Table 85 — READ CAPACITY (10) parameter data .................................................................................... 175
Table 86 — READ CAPACITY (16) command ............................................................................................ 176
Table 87 — READ CAPACITY (16) parameter data .................................................................................... 177
Table 88 —
P_TYPE field and PROT_EN bit .................................................................................................... 177
Table 89 —
LOGICAL BLOCKS PER PHYSICAL BLOCK EXPONENT field ............................................................... 178
Table 90 — READ DEFECT DATA (10) command ..................................................................................... 179
Table 91 — REQ_PLIST bit and REQ_GLIST bit ............................................................................................... 179
Table 92 — READ DEFECT DATA (10) parameter data ............................................................................. 180
Table 93 — READ DEFECT DATA (12) command ..................................................................................... 181
Table 94 — READ DEFECT DATA (12) parameter data ............................................................................. 182
Table 95 — REASSIGN BLOCKS command ............................................................................................... 184
Table 96 — REASSIGN BLOCKS parameter list ......................................................................................... 184
Table 97 — REASSIGN BLOCKS short parameter list header ................................................................... 185
Table 98 — REASSIGN BLOCKS long parameter list header ..................................................................... 185
Table 99 — Reassign LBA if the
LONGLBA bit is set to zero ......................................................................... 185
Table 100 — Reassign LBA if the LONGLBA bit is set to one ........................................................................ 186
Table 101 — RECEIVE ROD TOKEN INFORMATION reference ............................................................... 187
Table 102 — RECEIVE ROD TOKEN INFORMATION parameter data for POPULATE TOKEN ............... 188
Table 103 — RECEIVE ROD TOKEN INFORMATION parameter data for WRITE USING TOKEN .......... 190
Table 104 — REMOVE ELEMENT AND TRUNCATE command ................................................................ 191
Table 105 — REPORT PROVISIONING INITIALIZATION PATTERN command ....................................... 192
Table 106 — REPORT REFERRALS command ......................................................................................... 193
Table 107 — REPORT REFERRALS parameter data ................................................................................. 194
![](https://csdnimg.cn/release/download_crawler_static/24417610/bg14.jpg)
T10/BSR INCITS 571 Revision 0 8 April 2021
xx Working Draft SCSI Block Commands – 5 (SBC-5)
Table 108 — RESTORE ELEMENTS AND REBUILD command ................................................................ 195
Table 109 — SANITIZE command ............................................................................................................... 196
Table 110 — SANITIZE service action codes .............................................................................................. 197
Table 111 — OVERWRITE service action parameter list ............................................................................ 198
Table 112 —
TEST field ................................................................................................................................. 198
Table 113 — START STOP UNIT command ............................................................................................... 200
Table 114 — POWER CONDITION and POWER CONDITION MODIFIER field ......................................................... 201
Table 115 — STREAM CONTROL command ............................................................................................. 204
Table 116 —
STR_CTL field ........................................................................................................................... 204
Table 117 — STREAM CONTROL parameter data ..................................................................................... 205
Table 118 — SYNCHRONIZE CACHE (10) command ................................................................................ 206
Table 119 — SYNCHRONIZE CACHE (16) command ................................................................................ 207
Table 120 — UNMAP command .................................................................................................................. 208
Table 121 — UNMAP parameter list ............................................................................................................ 209
Table 122 — UNMAP block descriptor ........................................................................................................ 210
Table 123 — Data-Out Buffer contents for the VERIFY (10) command ...................................................... 211
Table 124 — VERIFY (10) command .......................................................................................................... 211
Table 125 —
VRPROTECT field with the BYTCHK field set to 00b – checking protection information from the
verify operations ....................................................................................................................................... 213
Table 126 —
VRPROTECT field with the BYTCHK field set to 01b or 11b – checking protection information
from the verify operations ......................................................................................................................... 216
Table 127 —
VRPROTECT field with the BYTCHK field set to 01b or 11b – checking protection information
from the Data-Out Buffer .......................................................................................................................... 218
Table 128 —
VRPROTECT field with the BYTCHK field set to 01b or 11b – compare operation requirements . 220
Table 129 — VERIFY (12) command .......................................................................................................... 224
Table 130 — VERIFY (16) command .......................................................................................................... 225
Table 131 — VERIFY (32) command .......................................................................................................... 226
Table 132 — WRITE (10) command ............................................................................................................ 227
Table 133 —
WRPROTECT field ..................................................................................................................... 228
Table 134 — WRITE (12) command ............................................................................................................ 231
Table 135 — WRITE (16) command ............................................................................................................ 232
Table 136 — WRITE (32) command ............................................................................................................ 233
Table 137 — WRITE AND VERIFY (10) command ..................................................................................... 234
Table 138 — WRITE AND VERIFY (12) command ..................................................................................... 235
Table 139 — WRITE AND VERIFY (16) command ..................................................................................... 236
Table 140 — WRITE AND VERIFY (32) command ..................................................................................... 237
Table 141 — WRITE ATOMIC (16) command ............................................................................................. 238
Table 142 — WRITE ATOMIC (32) command ............................................................................................. 239
Table 143 — WRITE LONG (10) command ................................................................................................. 240
Table 144 —
WR_UNCOR bit ......................................................................................................................... 240
Table 145 — WRITE LONG (16) command ................................................................................................. 241
Table 146 — WRITE SAME (10) command ................................................................................................. 243
Table 147 —
UNMAP bit, ANCHOR bit, and ANC_SUP bit relationships ............................................................ 243
Table 148 — WRITE SAME (16) command ................................................................................................. 244
Table 149 — WRITE SAME (32) command ................................................................................................. 246
Table 150 — WRITE SCATTERED (16) command ..................................................................................... 247
Table 151 — Data-Out Buffer contents for the WRITE SCATTERED (16) command ................................. 249
Table 152 — LBA range descriptor .............................................................................................................. 250
Table 153 — WRITE SCATTERED (32) command ..................................................................................... 251
Table 154 — Data-Out Buffer contents for the WRITE SCATTERED (32) command ................................. 252
Table 155 — LBA range descriptor .............................................................................................................. 253
Table 156 — WRITE STREAM (16) command ............................................................................................ 254
Table 157 — WRITE STREAM (32) command ............................................................................................ 255
Table 158 — WRITE USING TOKEN command ......................................................................................... 256
Table 159 — WRITE USING TOKEN parameter list ................................................................................... 257
Table 160 — Parameters for direct access block devices ........................................................................... 260
Table 161 — Address descriptors ................................................................................................................ 261
剩余440页未读,继续阅读
2018-03-11 上传
2019-09-20 上传
2023-08-31 上传
2023-07-20 上传
2023-06-20 上传
2023-06-06 上传
2023-05-31 上传
2023-03-31 上传
2023-04-03 上传
![](https://profile-avatar.csdnimg.cn/default.jpg!1)
wang_sandking
- 粉丝: 274
- 资源: 9
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- 多模态联合稀疏表示在视频目标跟踪中的应用
- Kubernetes资源管控与Gardener开源软件实践解析
- MPI集群监控与负载平衡策略
- 自动化PHP安全漏洞检测:静态代码分析与数据流方法
- 青苔数据CEO程永:技术生态与阿里云开放创新
- 制造业转型: HyperX引领企业上云策略
- 赵维五分享:航空工业电子采购上云实战与运维策略
- 单片机控制的LED点阵显示屏设计及其实现
- 驻云科技李俊涛:AI驱动的云上服务新趋势与挑战
- 6LoWPAN物联网边界路由器:设计与实现
- 猩便利工程师仲小玉:Terraform云资源管理最佳实践与团队协作
- 类差分度改进的互信息特征选择提升文本分类性能
- VERITAS与阿里云合作的混合云转型与数据保护方案
- 云制造中的生产线仿真模型设计与虚拟化研究
- 汪洋在PostgresChina2018分享:高可用 PostgreSQL 工具与架构设计
- 2018 PostgresChina大会:阿里云时空引擎Ganos在PostgreSQL中的创新应用与多模型存储
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)