没有合适的资源?快使用搜索试试~ 我知道了~
首页SCSI Block Commands - 4 (SBC-4) Revision 22 Working Draft
SCSI Block Commands - 4 (SBC-4) Revision 22 Working Draft
需积分: 10 9 下载量 147 浏览量
更新于2024-07-09
收藏 4.87MB PDF 举报
"SCSI Block Commands – 4 (SBC-4),2020/9/15,修订版22"
SCSI Block Commands - 4(简称SBC-4)是SCSI(小型计算机系统接口)标准的一部分,用于定义在存储设备与主机之间进行块数据传输的命令集。这个标准由美国国家标准技术研究所下属的信息技术标准委员会(INCITS)的T10技术委员会制定。SBC-4是2020年9月15日发布的修订版22,它是一个工作草案,尚未完成并获得正式批准。这意味着内容可能还会随着T10技术委员会的工作进展而发生变化。
SBC-4标准涵盖了一系列关键的存储技术议题,包括但不限于:
1. **命令结构**:定义了如何向SCSI设备发送块I/O请求,比如读写操作,以及如何处理这些请求的响应。这包括对SCSI命令描述符块(CDBs)的详细说明,这是SCSI命令的核心部分。
2. **错误处理**:规定了在传输过程中出现错误时的恢复策略和错误报告机制,以确保数据的完整性和系统的稳定性。
3. **队列管理**:详细描述了如何管理设备内部的命令队列,以优化I/O操作的顺序和并发性,提高系统性能。
4. **数据保护**:包括了错误检测和纠正机制,如循环冗余校验(CRC)和前向纠错(ECC),以确保数据在传输过程中的准确性。
5. **设备特性**:定义了不同类型的SCSI块设备(如硬盘、固态驱动器等)的特性,包括容量、速度、接口类型等。
6. **服务质量(QoS)**:可能涉及如何根据不同的应用需求分配I/O优先级和带宽,确保关键任务得到及时响应。
7. **多路径I/O(MPIO)**:描述了如何通过多个物理路径连接到同一设备,提供冗余和负载均衡,增加系统的可靠性。
8. **安全和加密**:可能涉及到数据在传输和存储过程中的加密方法,保护数据免受未经授权的访问。
SBC-4标准的修订版22是一个内部工作文档,仅供INCITS、其技术委员会及其相关任务组成员审查和评论。成员可以自由复制此文档用于标准制定活动,但必须包含版权通知。未经许可,任何商业或营利性用途的复制都是严格禁止的。
T10技术编辑威廉·马丁(William Martin)来自三星半导体公司,负责协调和整理SBC-4标准的修订工作。如果有任何问题或反馈,可以联系他以获取更多信息。
最后,SBC-4与国际标准化组织/国际电工委员会的ISO/IEC 14776-3标准系列有关联,后者是更广泛的SCSI规范框架的一部分,涵盖了SCSI协议的其他重要方面。

T10/BSR INCITS 506 Revision 22 15 September 2020
xvi Working Draft SCSI Block Commands – 4 (SBC-4)
5.7 GET LBA STATUS (32) command ....................................................................................................... 141
5.7.1 GET LBA STATUS (32) command overview .................................................................................. 141
5.8 GET PHYSICAL ELEMENT STATUS command ................................................................................. 143
5.8.1 GET PHYSICAL ELEMENT STATUS command overview............................................................. 143
5.8.2 GET PHYSICAL ELEMENT STATUS parameter data ................................................................... 145
5.8.2.1 GET PHYSICAL ELEMENT STATUS parameter data overview .............................................. 145
5.8.2.2 Physical element status descriptor............................................................................................ 146
5.9 GET STREAM STATUS command ...................................................................................................... 147
5.9.1 GET STREAM STATUS command overview ................................................................................. 147
5.9.2 GET STREAM STATUS parameter data ........................................................................................ 149
5.9.2.1 GET STREAM STATUS parameter data overview ................................................................... 149
5.9.2.2 Stream status descriptor ........................................................................................................... 150
5.9.2.3 Stream status descriptor relationships ...................................................................................... 150
5.10 ORWRITE (16) command .................................................................................................................. 150
5.11 ORWRITE (32) command .................................................................................................................. 157
5.12 POPULATE TOKEN command .......................................................................................................... 159
5.12.1 POPULATE TOKEN command overview ..................................................................................... 159
5.12.2 POPULATE TOKEN parameter list............................................................................................... 160
5.12.3 Block device range descriptor....................................................................................................... 162
5.13 PRE-FETCH (10) command............................................................................................................... 163
5.14 PRE-FETCH (16) command............................................................................................................... 164
5.15 PREVENT ALLOW MEDIUM REMOVAL command .......................................................................... 165
5.16 READ (10) command ......................................................................................................................... 166
5.17 READ (12) command ......................................................................................................................... 170
5.18 READ (16) command ......................................................................................................................... 172
5.19 READ (32) command ......................................................................................................................... 173
5.20 READ CAPACITY (10) command ...................................................................................................... 174
5.20.1 READ CAPACITY (10) overview .................................................................................................. 174
5.20.2 READ CAPACITY (10) parameter data ........................................................................................ 175
5.21 READ CAPACITY (16) command ...................................................................................................... 176
5.21.1 READ CAPACITY (16) command overview.................................................................................. 176
5.21.2 READ CAPACITY (16) parameter data ........................................................................................ 177
5.22 READ DEFECT DATA (10) command ............................................................................................... 178
5.22.1 READ DEFECT DATA (10) command overview........................................................................... 178
5.22.2 READ DEFECT DATA (10) parameter data ................................................................................. 180
5.23 READ DEFECT DATA (12) command ............................................................................................... 180
5.23.1 READ DEFECT DATA (12) command overview........................................................................... 180
5.23.2 READ DEFECT DATA (12) parameter data ................................................................................. 182
5.24 REASSIGN BLOCKS command......................................................................................................... 183
5.24.1 REASSIGN BLOCKS command overview.................................................................................... 183
5.24.2 REASSIGN BLOCKS parameter list ............................................................................................. 184
5.25 RECEIVE ROD TOKEN INFORMATION ........................................................................................... 187
5.25.1 RECEIVE ROD TOKEN INFORMATION overview ...................................................................... 187
5.25.2 RECEIVE ROD TOKEN INFORMATION parameter data for POPULATE TOKEN command..... 187
5.25.3 RECEIVE ROD TOKEN INFORMATION parameter data for WRITE USING TOKEN command 190
5.26 REMOVE ELEMENT AND TRUNCATE command ............................................................................ 191
5.27 REPORT PROVISIONING INITIALIZATION PATTERN command ................................................... 192
5.28 REPORT REFERRALS command ..................................................................................................... 192
5.28.1 REPORT REFERRALS command overview ................................................................................ 192
5.28.2 REPORT REFERRALS parameter data ....................................................................................... 194
5.29 RESTORE ELEMENTS AND REBUILD command............................................................................ 194
5.30 SANITIZE command........................................................................................................................... 196
5.30.1 SANITIZE command overview...................................................................................................... 196
5.30.2 SANITIZE command service actions ............................................................................................ 197
5.30.2.1 SANITIZE command service actions overview ....................................................................... 197
5.30.2.2 OVERWRITE service action.................................................................................................... 197
5.30.2.3 BLOCK ERASE service action ................................................................................................ 199

15 September 2020 T10/BSR INCITS 506 Revision 22
Working Draft SCSI Block Commands – 4 (SBC-4) xvii
5.30.2.4 CRYPTOGRAPHIC ERASE service action............................................................................. 199
5.30.2.5 EXIT FAILURE MODE service action ..................................................................................... 199
5.31 START STOP UNIT command........................................................................................................... 200
5.32 STREAM CONTROL command ......................................................................................................... 203
5.32.1 STREAM CONTROL command overview .................................................................................... 203
5.32.2 STREAM CONTROL parameter data ........................................................................................... 205
5.33 SYNCHRONIZE CACHE (10) command............................................................................................ 205
5.34 SYNCHRONIZE CACHE (16) command............................................................................................ 207
5.35 UNMAP command.............................................................................................................................. 208
5.35.1 UNMAP command overview ......................................................................................................... 208
5.35.2 UNMAP parameter list .................................................................................................................. 209
5.36 VERIFY (10) command ...................................................................................................................... 210
5.37 VERIFY (12) command ...................................................................................................................... 224
5.38 VERIFY (16) command ...................................................................................................................... 225
5.39 VERIFY (32) command ...................................................................................................................... 226
5.40 WRITE (10) command........................................................................................................................ 227
5.40.1 WRITE (10) command overview ................................................................................................... 227
5.40.2
RWWP interaction ........................................................................................................................... 230
5.41 WRITE (12) command........................................................................................................................ 231
5.42 WRITE (16) command........................................................................................................................ 232
5.43 WRITE (32) command........................................................................................................................ 233
5.44 WRITE AND VERIFY (10) command ................................................................................................. 234
5.45 WRITE AND VERIFY (12) command ................................................................................................. 235
5.46 WRITE AND VERIFY (16) command ................................................................................................. 236
5.47 WRITE AND VERIFY (32) command ................................................................................................. 237
5.48 WRITE ATOMIC (16) command......................................................................................................... 238
5.49 WRITE ATOMIC (32) command......................................................................................................... 239
5.50 WRITE LONG (10) command............................................................................................................. 240
5.51 WRITE LONG (16) command............................................................................................................. 241
5.52 WRITE SAME (10) command............................................................................................................. 241
5.53 WRITE SAME (16) command............................................................................................................. 244
5.54 WRITE SAME (32) command............................................................................................................. 245
5.55 WRITE SCATTERED (16) command ................................................................................................. 247
5.55.1 WRITE SCATTERED (16) command overview ............................................................................ 247
5.55.2 WRITE SCATTERED (16) command Data-Out Buffer contents................................................... 249
5.56 WRITE SCATTERED (32) command ................................................................................................. 251
5.56.1 WRITE SCATTERED (32) command overview ............................................................................ 251
5.56.2 WRITE SCATTERED (32) command Data-Out Buffer contents................................................... 252
5.57 WRITE STREAM (16) command........................................................................................................ 254
5.58 WRITE STREAM (32) command........................................................................................................ 254
5.59 WRITE USING TOKEN command ..................................................................................................... 256
5.59.1 WRITE USING TOKEN command overview................................................................................. 256
5.59.2 WRITE USING TOKEN parameter list.......................................................................................... 257
6 Parameters for direct access block devices............................................................................................... 260
6.1 Parameters for direct access block devices introduction...................................................................... 260
6.2 Address descriptors.............................................................................................................................. 260
6.2.1 Address descriptor overview........................................................................................................... 260
6.2.2 Short block format address descriptor ............................................................................................ 261
6.2.3 Extended bytes from index address descriptor............................................................................... 261
6.2.4 Extended physical sector format address descriptor ...................................................................... 263
6.2.5 Long block format address descriptor............................................................................................. 264
6.2.6 Bytes from index format address descriptor ................................................................................... 264
6.2.7 Physical sector format address descriptor ...................................................................................... 265
6.3 Diagnostic parameters.......................................................................................................................... 266
6.3.1 Diagnostic parameters overview..................................................................................................... 266
6.3.2 Rebuild Assist Input diagnostic page .............................................................................................. 267

T10/BSR INCITS 506 Revision 22 15 September 2020
xviii Working Draft SCSI Block Commands – 4 (SBC-4)
6.3.3 Rebuild Assist Output diagnostic page ........................................................................................... 268
6.3.4 Translate Address Input diagnostic page........................................................................................ 269
6.3.5 Translate Address Output diagnostic page..................................................................................... 270
6.4 Log parameters .................................................................................................................................... 271
6.4.1 Log parameters overview................................................................................................................ 271
6.4.1.1 Summary of log pages .............................................................................................................. 271
6.4.1.2 Setting and resetting log parameters ........................................................................................ 272
6.4.2 Background Scan log page............................................................................................................. 273
6.4.2.1 Background Scan log page overview ........................................................................................ 273
6.4.2.2 Background Scan Status log parameter.................................................................................... 275
6.4.2.3 Background Scan Results log parameter.................................................................................. 277
6.4.3 Background Operation log page ..................................................................................................... 279
6.4.3.1 Background Operation log page overview ................................................................................ 279
6.4.3.2 Background Operation log parameter ....................................................................................... 280
6.4.4 Format Status log page................................................................................................................... 281
6.4.4.1 Format Status log page overview.............................................................................................. 281
6.4.4.2 Format Data Out log parameter ................................................................................................ 282
6.4.4.3 Grown Defects During Certification log parameter.................................................................... 283
6.4.4.4 Total Blocks Reassigned During Format log parameter............................................................ 284
6.4.4.5 Total New Blocks Reassigned log parameter ........................................................................... 285
6.4.4.6 Power On Minutes Since Format log parameter ....................................................................... 286
6.4.5 Logical Block Provisioning log page ............................................................................................... 287
6.4.5.1 Logical Block Provisioning log page overview........................................................................... 287
6.4.5.2 Available LBA Mapping Resource Count log parameter ........................................................... 289
6.4.5.2.1 Available LBA Mapping Resource Count log parameter overview ...................................... 289
6.4.5.2.2
RESOURCE COUNT field.......................................................................................................... 290
6.4.5.3 Used LBA Mapping Resource Count log parameter ................................................................. 290
6.4.5.4 Available Provisioning Resource Percentage log parameter .................................................... 291
6.4.5.4.1 Available Provisioning Resource Percentage log parameter overview ............................... 291
6.4.5.4.2 resource count field ............................................................................................................. 291
6.4.5.5 De-duplicated LBA Resource Count log parameter .................................................................. 292
6.4.5.6 Compressed LBA Resource Count log parameter .................................................................... 293
6.4.5.7 Total Efficiency LBA Resource Count log parameter ................................................................ 294
6.4.6 LPS Misalignment log page ............................................................................................................ 295
6.4.6.1 Overview ................................................................................................................................... 295
6.4.6.2 LPS Misalignment Count log parameter.................................................................................... 296
6.4.6.3 LPS Misalignment log parameter .............................................................................................. 296
6.4.7 Non-volatile Cache log page........................................................................................................... 297
6.4.7.1 Non-volatile Cache log page overview ...................................................................................... 297
6.4.7.2 Remaining Nonvolatile Time log parameter .............................................................................. 298
6.4.7.3 Maximum Nonvolatile Time log parameter................................................................................ 299
6.4.8 Pending Defects log page............................................................................................................... 300
6.4.8.1 Overview ................................................................................................................................... 300
6.4.8.2 Pending Defect Count log parameter ........................................................................................ 301
6.4.8.3 Pending Defect log parameter................................................................................................... 302
6.4.9 Solid State Media log page ............................................................................................................. 303
6.4.9.1 Solid State Media log page overview ........................................................................................ 303
6.4.9.2 Percentage Used Endurance Indicator log parameter .............................................................. 304
6.4.10 Utilization log page........................................................................................................................ 305
6.4.10.1 Utilization log page overview................................................................................................... 305
6.4.10.2 Workload Utilization log parameter ......................................................................................... 306
6.4.10.3 Utilization Usage Rate Based on Date and Time .................................................................... 307
6.5 Mode parameters ................................................................................................................................. 308
6.5.1 Mode pages overview ..................................................................................................................... 308
6.5.2 Mode parameter block descriptors.................................................................................................. 310
6.5.2.1 Mode parameter block descriptors overview............................................................................. 310
6.5.2.2 Short LBA mode parameter block descriptor ............................................................................ 310

15 September 2020 T10/BSR INCITS 506 Revision 22
Working Draft SCSI Block Commands – 4 (SBC-4) xix
6.5.2.3 Long LBA mode parameter block descriptor ............................................................................. 312
6.5.3 Application Tag mode page ............................................................................................................ 313
6.5.3.1 Overview ................................................................................................................................... 313
6.5.3.2 Application tag descriptor .......................................................................................................... 315
6.5.4 Background Control mode page ..................................................................................................... 316
6.5.5 Background Operation Control mode page .................................................................................... 317
6.5.6 Caching mode page........................................................................................................................ 318
6.5.7 IO Advice Hints Grouping mode page ............................................................................................ 322
6.5.8 Informational Exceptions Control mode page ................................................................................. 325
6.5.9 Logical Block Provisioning mode page ........................................................................................... 329
6.5.9.1 Overview ................................................................................................................................... 329
6.5.9.2 Threshold descriptor format ...................................................................................................... 330
6.5.10 Read-Write Error Recovery mode page........................................................................................ 331
6.5.11 Verify Error Recovery mode page................................................................................................. 335
6.6 Vital product data (VPD) parameters.................................................................................................... 337
6.6.1 VPD parameters overview .............................................................................................................. 337
6.6.2 Block Device Characteristics VPD page ......................................................................................... 337
6.6.3 Block Device Characteristics Extension VPD page ........................................................................ 341
6.6.4 Block Limits VPD page ................................................................................................................... 343
6.6.5 Block Limits Extension VPD page................................................................................................... 346
6.6.6 Format Presets VPD page .............................................................................................................. 348
6.6.6.1 Format Presets VPD page overview ......................................................................................... 348
6.6.6.2 Host aware zones schema type specific information ................................................................ 352
6.6.6.3 Host managed zones schema type specific information ........................................................... 353
6.6.7 Logical Block Provisioning VPD page............................................................................................. 354
6.6.8 Referrals VPD page ........................................................................................................................ 356
6.6.9 Third-party Copy VPD page............................................................................................................ 357
6.6.9.1 Third-party Copy VPD page overview ....................................................................................... 357
6.6.9.2 Block device third-party copy descriptor type codes ................................................................. 357
6.6.9.3 Block Device ROD Limits descriptor ........................................................................................ 358
6.6.10 Supported Block Lengths and Protection Types VPD page ......................................................... 359
6.7 Copy manager parameters................................................................................................................... 361
6.8 Logical block markup descriptors ......................................................................................................... 361
6.8.1 lLogical block markup descriptor overview ..................................................................................... 361
6.8.2 Logical block markup descriptor formats and types........................................................................ 362
6.8.3 Access patterns logical block markup descriptors .......................................................................... 362
6.8.3.1 Access patterns logical block markup descriptor format ........................................................... 362
6.8.3.2 Access patterns logical block markup descriptor usage considerations ................................... 365
Annex A (informative) Numeric order codes ................................................................................................. 366
A.1 Variable length CDBs........................................................................................................................... 366
A.2 SERVICE ACTION IN commands and SERVICE ACTION OUT commands ...................................... 367
Annex B (informative) CRC example in C..................................................................................................... 368
Annex C (informative) Sense information for locked or encrypted logical units ............................................ 370
Annex D (informative) Optimizing block access characteristics.................................................................... 371
D.1 Overview .............................................................................................................................................. 371
D.2 Starting logical block offset .................................................................................................................. 371
D.3 Optimal granularity sizes...................................................................................................................... 371
D.4 Optimal stream granularity sizes.......................................................................................................... 371
D.5 Optimizing transfers ............................................................................................................................. 372
D.5.1 Overview ........................................................................................................................................ 372
D.5.2 Optimizing non-stream transfers .................................................................................................... 372
D.5.3 Optimizing stream transfers ........................................................................................................... 373
D.6 Examples ............................................................................................................................................. 373

T10/BSR INCITS 506 Revision 22 15 September 2020
xx Working Draft SCSI Block Commands – 4 (SBC-4)
Annex E (informative) Logical block provisioning reporting examples .......................................................... 375
E.1 Overview .............................................................................................................................................. 375
E.2 Interpreting log parameter counts ........................................................................................................ 375
E.3 Dedicated resource, threshold set tracked example ............................................................................ 377
E.3.1 Dedicated resource, threshold set tracked example overview ....................................................... 377
E.3.2 Dedicated resource, threshold set tracked example configuration................................................. 377
E.3.3 Dedicated resource, threshold set tracked example sequence...................................................... 378
E.3.4 Dedicated resource, threshold set tracked example initial conditions ............................................ 379
E.3.5 Operations that occur ..................................................................................................................... 379
E.3.6 Dedicated resource, threshold set tracked example final log page values..................................... 380
E.4 Shared resource, logical block tracked example.................................................................................. 380
E.4.1 Shared resource, logical block tracked example overview............................................................. 380
E.4.2 Shared resource, logical block tracked example configuration ...................................................... 381
E.4.3 Shared resource, logical block tracked example time line.............................................................. 381
E.4.4 Shared resource, logical block tracked example initial conditions.................................................. 382
E.4.5 Operations that occur ..................................................................................................................... 382
E.4.6 Shared resource, logical block tracked example final log page values .......................................... 383
E.5 Shared available, dedicated used, logical block tracked example ....................................................... 384
E.5.1 Shared available, dedicated used, logical block tracked example overview .................................. 384
E.5.2 Shared available, dedicated used, logical block tracked example configuration............................ 384
E.5.3 Shared available, dedicated used, logical block tracked example time line ................................... 384
E.5.4 Shared available, dedicated used, logical block tracked example initial conditions ....................... 385
E.5.5 Operations that occur ..................................................................................................................... 385
E.5.6 Shared available, dedicated used, example final log page values ................................................. 386
Annex F (informative) Discovering referrals examples ................................................................................. 387
F.1 Referrals example with no user data segment multiplier...................................................................... 387
F.2 Referrals example with non-zero user data segment multiplier ........................................................... 389
Annex G (informative) IO advice hints usage................................................................................................ 391
G.1 Overview.............................................................................................................................................. 391
G.2 IO Advice Hints Grouping mode page ................................................................................................. 391
G.3 Issuing I/O commands with IO advice hints......................................................................................... 391
G.3.1 Group numbers and I/O commands............................................................................................... 391
G.3.2 Possible constraints on IO advice hints ......................................................................................... 391
G.4 Logical block markup descriptor usage examples ............................................................................... 392
G.4.1 Example usage in tiered storage device implementations ............................................................. 392
G.4.2 Example logical block markup descriptor values for software that sends read commands and write
commands .......................................................................................................................................... 392
Annex H (normative) SBC feature sets ......................................................................................................... 395
H.1 Overview .............................................................................................................................................. 395
H.2 SBC Base 2010 feature set ................................................................................................................. 395
H.2.1 SBC Base 2010 feature set overview............................................................................................. 395
H.2.2 SBC Base 2010 feature set commands ......................................................................................... 397
H.2.2.1 READ CAPACITY (10) command............................................................................................. 397
H.2.2.2 SYNCHRONIZE CACHE (10) command.................................................................................. 397
H.2.2.3 WRITE SAME (10) command................................................................................................... 397
H.3 SBC Base 2016 feature set ................................................................................................................. 397
H.3.1 SBC Base 2016 feature set overview............................................................................................. 397
H.3.2 SBC Base 2016 feature set model ................................................................................................. 399
H.3.3 SBC Base 2016 feature set commands ......................................................................................... 399
H.3.3.1 FORMAT UNIT command ........................................................................................................ 399
H.3.3.2 READ CAPACITY (16) command............................................................................................. 400
H.3.3.3 REPORT SUPPORTED OPERATION CODES command....................................................... 400
H.3.3.4 REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS command ............................... 400
H.3.3.5 REQUEST SENSE command .................................................................................................. 400
剩余446页未读,继续阅读
800 浏览量
469 浏览量
2022-04-12 上传
2024-05-06 上传
158 浏览量
466 浏览量

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

最新资源
- CollabDown-crx插件:提升Bb Collaborate录音下载效率
- Linux服务器通过FUSE挂载硬盘教程
- 学习用Android天气小程序开发指南
- 现代HTML、CSS和XHTML入门指南参考代码
- 基于TCP协议的即时通讯软件源代码分析
- Flex开门关门翻转效果实现指南
- 移动基站扇区图层工具V4.0.0助力网络优化分析
- 高效PDF编辑工具:轻松编辑文字与图片
- React应用入门实践:使用Create React App构建movie_app_2019
- HTC G14驱动程序下载安装指南
- 多功能中英文字符编码转换查询工具
- 全面系统VB6.0基础教程,初学者必读幻灯片
- 虚拟串口软件VSPD6.9:笔记本串口通信新选择
- Eezy Highlighter-crx 插件:网页高亮标注神器
- 掌握Java Web开发必备:Spring框架jar包下载
- VS2010和.NET4环境下完整的电子病历系统开发教程
安全验证
文档复制为VIP权益,开通VIP直接复制

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