Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

第 4 章 存储

LVM 缓存

As of Red Hat Enterprise Linux 7.1, LVM cache is fully supported. This feature allows users to create logical volumes with a small fast device performing as a cache to larger slower devices. Please refer to the lvm(7) manual page for information on creating cache logical volumes.
注:使用缓存逻辑卷(LV)有以下限制:
  • 缓存 LV 必须是顶层设备。不能在精简池 LV、RAID LV 映像以及其他子 LV 类型中使用。
  • The cache LV sub-LVs (the origin LV, metadata LV, and data LV) can only be of linear, stripe, or RAID type.
  • 生成缓存 LV 后就无法更改其属性。要更改缓存属性,请删除该缓存,并使用所需属性重新生成缓存。

使用 libStorageMgmt API 进行存储阵列管理

Since Red Hat Enterprise Linux 7.1, storage array management with libStorageMgmt, a storage array independent API, is fully supported. The provided API is stable, consistent, and allows developers to programmatically manage different storage arrays and utilize the hardware-accelerated features provided. System administrators can also use libStorageMgmt to manually configure storage and to automate storage management tasks with the included command-line interface. Please note that the Targetd plug-in is not fully supported and remains a Technology Preview. Supported hardware:
  • NetApp 过滤器(数据库 7-模式)
  • Nexenta(仅限于 nstor 3.1.x)
  • SMI-S,适用于以下销售商:
    • HP 3PAR
      • OS 发行本 3.2.1 或者之后的版本
    • EMC VMAX 和 VNX
      • Solutions Enabler V7.6.2.48 或者之后的版本
      • SMI-S Provider V4.6.2.18 热补套件或者之后的版本
    • HDS VSP Array 非内置供应商
      • Hitachi Command Suite v8.0 或者之后的版本
有关 libStorageMgmt 详情请参考 《存储管理指南》的相关章节

LSI Syncro 支持

Red Hat Enterprise Linux 7.1 包含 megaraid_sas 驱动程序中代码用于启用 LSI Syncro CS 高可用直接附加组件(HA-DAS)适配器。尽管在以前启用的适配器中完全支持 megaraid_sas 驱动程序,但在 Syncro CS 中使用这个驱动程序仍处于技术预览阶段。对这个适配器的支持将直接由 LSI、您的系统集成商或者系统销售商提供。我们鼓励在 Red Hat Enterprise Linux 7.1 中部署 Syncro CS 的用户为 Red Hat 和 LSI 提供反馈意见。有关 LSI Syncro CS 解决方案的详情请参考 http://www.lsi.com/products/shared-das/pages/default.aspx

DIF/DIX 支持

DIF/DIX 是 SCSI 标准的新增内容,同时在 Red Hat Enterprise Linux 7.1 中也是技术预览。DIF/DIX 将通常使用的 512 字节磁盘块大小从 512 字节增大到 520 字节,添加了数据完整性字段(DIF)。DIF 在进行写入操作时为主机总线适配器(HBA)计算的数据块保存 checksum 值。该存储设备在收到 checksum 后确认,并同时保存该数据和 checksum。相反,当执行读取操作时,可在收到 HBA 后,由该存储设备确认 checksum。
详情请参考《存储管理指南》中的《启用了 DIF/DIX 的块设备》一节。

改进的 device-mapper-multipath 语法错误检查和输出

改进了 device-mapper-multipath 工具,让 multipath.conf 文件更可靠。这样 multipath.conf 就可以控制那些无法解析的行,device-mapper-multipath 会报告错误并忽略这些行以避免错误解析。
另外在 multipathd show paths format 命令中添加了以下通配符表达式:
  • %N 和 %n 分别用于主机和目标光纤世界范围节点名称。
  • %R 和 %r 分别用于主机和目标光纤世界范围端口名称。
现在更方便将多路径与具体光纤主机、目标及其端口关联,让用户更有效地管理器存储配置。