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,logical colume)有以下限制:
  • 快取 LV 必須是最高層的裝置,不能用於精簡集區(thin-pool)的 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 來進行儲存裝置陣列管理

Red Hat Enterprise Linux 7.1 包括 libStorageMgmt(儲存陣列的獨立 API),完整支援儲存陣列管理。所提供的 API 非常穩定、恆定,能讓設計師用程式管理不同的儲存陣列,並善用所提供的硬體加速功能。系統管理者也可以使用 libStorageMgmt 的命令列介面,來手動配置儲存裝置、自動配置儲存管理任務。請注意 Targetd 外掛程式並不完全受到支援,依然是技術預覽版。
  • NetApp Filer(ontap 7-Mode)
  • 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 hotfix kit 以上
    • HDS VSP Array non-embedded provider
      • Hitachi Command Suite v8.0 以上
欲知更多 libStorageMgmt 的資訊,請參閱《儲存管理指南・外部儲存管理》一章。

支援 LSI Syncro

Red Hat Enterprise Linux 7.1 在 megaraid_sas 驅動程式中包含了程式碼,以啟用 LSI Syncro CS high-availability direct-attached storage(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

LVM 應用程式開發介面

Red Hat Enterprise Linux 7.1 包含了新的 LVM 應用程式開發介面(API)作為技術預覽。此 API 可被使用來查詢和控制 LVM 的特定機能。
詳情請參閱 lvm2app.h 標頭檔。

DIF/DIX 支援

DIF/DIX 乃一項新的 SCSI 標準項目,以及 Red Hat Enterprise Linux 7.1 中的技術預覽。DIF/DIX 將常用的 512 位元組磁碟區塊由 512 增加到了 520 位元組,並新增了資料完整性欄位(Data Integrity Field,DIF)。DIF 會在寫入情況發生時,儲存一個由 Host Bus Adapter(HBA)所計算的資料區塊 checksum 值。儲存裝置接著便會在接收時確認 checksum,並同時儲存資料和 checksum。相反地,當讀取情況發生時,儲存裝置和接收方的 HBA 皆可檢查該 checksum。
For more information, refer to the section Block Devices with DIF/DIX Enabled in the Storage Administration Guide.

增強 DM-Multipath 的語法錯誤檢查與輸出

device-mapper-multipath 工具已經增強,可更有效驗證 multipath.conf 檔案。因此,如果 multipath.conf 包含了任何無法剖析的段落,device-mapper-multipath 會回報錯誤,並忽略這些段落避免誤判。
除此之外,以下萬用字元的表示方法已經加入 multipathd show paths format 指令:
  • %N 與 %n 分別表示主機與目標的 Fibre Channel World Wide Node 名稱。
  • %R 與 %r 分別表示主機與目標的 Fibre Channel World Wide Port 名稱。
現在使用者可以更輕易地將 multipath 與特定的主機、目標及其連接埠建立關連,這讓使用者能更有效地管理儲存配置。