存储笔记5 直连式存储与SCSI

直连式存储与SCSI简介

 讨论DAS的好处
 描述DAS的要素
 讨论DAS管理注意事项
 讨论DAS面临的挑战

DAS?

Uses block level protocol for data access
,使用块级协议获取数据

  • 内部
    • 主机提供
      • 磁盘分区 disk partitioning
      • 卷管理 Volume management
      • 文件系统布局 file system layout
    • 通过Server和OS单独管理,直连存储
  • 外部
    • 基于列阵管理 —— Array based management
    • 降低 数据管理 存储设备的TCO total cost of ownership

DAS 连接选项

  • ATA(IDE) SATA
    • 主要用于内部总线 internal bus
  • SCSI
    • 并行 parallel(多用于内部总线
    • 串行 serial(外部
  • FC
    • 高速网络技术
  • ESCON FICON
    • 用于外部大型机

DAS优劣

优势

  1. 适用于本地数据提供 ideal for local data provisioning
  2. 小型环境可以快速部署 quick deployment for small environments
  3. simple to deploy
  4. 可靠 reliability
  5. 低成本支出 low capital expense
  6. 不复杂 low complexity

劣势

  • 扩展性不足 limited scalability
    • 主机连接端口数 number of connectivity ports to hosts
    • 可寻址磁盘数 number addressable disks
    • 距离限制 distance limitation
  • 内部DAS维护所需时间(较长) downtime required for maintenance with internal DAS
  • 共享资源能力有限 limited ability to share resources
    • 阵列前端端口与存储空间 array front-end port, storage space
    • 导致存储池使用过度或存储池孤岛 result in islands of over and under utilized storage pool

Lesson: Introduction to SCSI

发展

  • SCSI 1
    • 电缆长度,信号特性,命令传输模式 Defined cable length, signaling characteristics, commands, & transfer mode
    • 8位窄总线,最大传输数据速率 5MB/s
  • SCSI 2
    • 通用命令集 Common Command Set
    • 性能、可靠性、附加功能(additional features
  • SCSI 3
    • 最新
    • 包含不同且相关的标准(而不是一个大型文件)Comprised different but related standards

SCSI 设备

SCSI通信包括

  1. 启动器设备 initiator device
    1. 向SCSI目标发出命令的设备 issue commands to target devices
    2. 如SCSI主机适配器 host adaptor
  2. 目标设备
    1. 执行initiator发出的命令
    2. 如:SCSI 外围设备peripheral devices
  3. 设备请求包含命令描述快 Command Descriptor Block CDB
  4. CDB结构
    1. 8位
    2. 操作码 operation code
    3. 命令特定参数 command specific parameter
    4. 控制参数 control parameter
  5. SCS Id端口
    1. 目标端口,启动器端口
    2. 根据端口组合对设备分类
    3. 如 target/initiator设备包含了 target/initiator port并且可以根据IO操作所扮演的角色切换
    4. 满足多个设备的服务请求 —— 可以有多个端口

SCSI 寻址

initiator ID: [0, 15], 通常为7
target ID: [0, 15]
LUN: 指定可通过目标寻址设备的数字 —— Logical Unit Number,也就是逻辑单元号

Lesson Summary

Key points covered in this lesson:
 SCSI – 3 Architecture 三层架构
 SCSI device model 设备模式
 SCSI addressing 如何寻址

Key points covered in this module:

  • DAS can be internal or external
  • Multiple hosts cannot share same storage ports
  • DAS is made up of a CPU, connectivity, and storage devices
  • DAS connectivity uses block-level access protocols
  • SCSI – 3 architecture
  • Parallel SCSI addressing
  • SCSI Command mode

猜你喜欢

转载自blog.csdn.net/JamSlade/article/details/131156024