Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何在 Data Domain Virtual Edition (DDVE) 新增或移除儲存裝置

Summary: DDVE 一開始部署時,它只配置了兩個磁碟:開機/作業系統磁碟和 NVRAM 磁碟。此時不會新增任何資料磁碟。 若要將資料引入 DDVE,必須先從 Hypervisor 將進一步的資料磁碟新增至虛擬機器 (VM)。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

若要新增資料磁碟,請在 Hypervisor 中開啟 VM 設定面板,然後在「New Devices」標籤下選取「Add a New Hard Disk」相應地設置大小,請記住第一個數據磁碟的最小大小必須為 200 GB,後續磁碟必須為 100 GB 或更大。

 

DDVE 僅支援生產系統的完全佈建。
編輯虛擬機器設定的 VMware GUI 頁面螢幕擷取畫面。硬碟 2 為 10 GB。硬碟 3 為 200 GB。磁碟 3 的「磁碟模式」設定會反白顯示,指出已選取「獨立-持續」模式。「獨立-持續」下的文字顯示「變更會立即永久寫入磁碟。永久磁碟不受快照影響。

 

注意:需要獨立持久設置。這可以防止其他任何東西在操作過程中抓住磁碟。例如,虛擬機管理程式不會在虛擬機管理程式級別的快照中包含此磁碟。

 

如果未勾選此方塊,系統可能會遇到 DDVE 無法開機的問題,因為需要針對根分割區執行檔案系統一致性檢查。

 

將儲存裝置新增至 Hypervisor 後,請前往 DDVE 本身。

 

以下是將容量新增至所需層,然後建立或擴展 DDVE 檔案系統的範例。

 

從 CLI (UI 也可新增儲存裝置),執行下列命令: storage show all。這會顯示呈現給 DDVE 的可新增儲存裝置。在此範例中,會顯示 100 GiB,並顯示為裝置 8:

# storage show all
Device        Device   Device
Group                  Size
-----------   ------   ---------
dg0           7        250.0 GiB
-----------   ------   ---------

Spindle   Devices   Count   Total Size
Group
-------   -------   -----   ----------
1         7         1       250.0 GiB
-------   -------   -----   ----------

Current active tier size: 0.2 TiB
Active tier maximum capacity: 0.5 TiB



Storage addable devices:
Device        Device   Device
Type                   Size
-----------   ------   ---------
(unknown)     8        100.0 GiB
-----------   ------   ---------

Capacity License:
License    Total      Used       Remaining
--------   --------   --------   ---------
CAPACITY   0.45 TiB   0.22 TiB   0.23 TiB
--------   --------   --------   ---------

 

接著,若要將儲存裝置新增至 DDVE 作用層,請使用命令 storage add dev8

# storage add dev8

Checking storage requirements...done
Adding dev8 to the active tier...done

Updating system information...done

dev8 successfully added to the active tier.

 

現在當 storage show all 再次執行時,我們看到 100 GiB 磁碟已從可新增移至使用層中可供使用:

# storage show all
Device        Device   Device
Group                  Size
-----------   ------   ---------
dg0           7        250.0 GiB
(available)   8        100.0 GiB
-----------   ------   ---------

Spindle   Devices   Count   Total Size
Group
-------   -------   -----   ----------
1         7-8       2       350.0 GiB
-------   -------   -----   ----------

Current active tier size: 0.3 TiB
Active tier maximum capacity: 0.5 TiB




Capacity License:
License    Total      Used       Remaining
--------   --------   --------   ---------
CAPACITY   0.45 TiB   0.31 TiB   0.15 TiB
--------   --------   --------   ---------

 

最後,若要新增容量至檔案系統,請執行下列命令 filesys expand,這會增加文件系統的大小。

 

注意:如果尚未建立檔案系統,且要在 DDVE 中新增第一個最小大小 200 GB 的磁碟,請使用命令「filesys create」來取代 filesys expand 命令。

 

# filesys expand
The filesystem will be expanded approximately by 95.85 GiB
        Are you sure? (yes|no) [no]: yes

ok, proceeding.

########################################### [100%]
The approximate size of the filesystem is 318.91 GiB.

 

然後檢查檔案系統狀態。如果不在連線狀態,請使用以下命令叫出: filesys enable

# filesys status
The filesystem is enabled and running.

 

注意:
  • 預設會設定一個 SCSI 控制器。
  • 每個控制器的 vSphere 磁碟數量上限為 15 個,Hyper-V 為 64 個。
  • 如果環境需要的磁碟數量超過上限,DDVE 系統可新增額外的 SCSI HBA 控制器,但 HBA 控制器 類型不得從 第一個 HBA 控制器的類型變更。如果意外變更,請關閉虛擬機器電源,並還原原始設定。

 

範例:如果命令 disk show hardware 顯示磁碟數量為 15 且 DDVE 部署在 vSphere 上,僅使用一個 SCSI HBA 控制器無法新增更多磁碟。

# disk show hardware
Disk    Slot        Manufacturer/Model         Firmware   Serial No.                         Capacity    Type
        (pci/idx)
-----   ---------   ------------------------   --------   --------------------------------   ---------   ----
dev1    160:0       VMware  Virtual_disk       n/a        6000c2901098e892c4f75673f4a2d03e   250.0 GiB   SAS
dev2    160:1       VMware  Virtual_disk       n/a        6000c29508c5f8f603adc20a782d5d28   10.0 GiB    SAS
dev3    160:2       VMware  Virtual_disk       n/a        6000c29db79d7c6d15f1984bcbf3ca0e   4.0 TiB     SAS
dev4    160:3       VMware  Virtual_disk       n/a        6000c2921955ebff06a8bbab1f272b58   4.0 TiB     SAS
dev5    160:4       VMware  Virtual_disk       n/a        6000c29214fbca7889f3b8fb6783a353   4.0 TiB     SAS
dev6    160:5       VMware  Virtual_disk       n/a        6000c29ea52fa7d358efc83360327910   4.0 TiB     SAS
dev7    160:6       VMware  Virtual_disk       n/a        6000c29a831a62ab2476e9f49cebc374   4.0 TiB     SAS
dev8    160:9       VMware  Virtual_disk       n/a        6000c29dfa0799767087895ec6acf185   4.0 TiB     SAS
dev9    160:8       VMware  Virtual_disk       n/a        6000c2934323889384e55f0cd335ff12   4.0 TiB     SAS
dev10   160:10      VMware  Virtual_disk       n/a        6000c2940a958c575258fdc156e8a0ea   4.0 TiB     SAS
dev11   160:11      VMware  Virtual_disk       n/a        6000c291018aa8771b1eaa1444003c9a   4.0 TiB     SAS
dev12   160:12      VMware  Virtual_disk       n/a        6000c29cc49b7941cc5e1d4e58b62208   4.0 TiB     SAS
dev13   160:13      VMware  Virtual_disk       n/a        6000c290792e874885af90681d0b54e5   4.0 TiB     SAS
dev14   160:14      VMware  Virtual_disk       n/a        6000c297ff85ec1e03f74d6fe3a3a4d8   4.0 TiB     SAS
dev15   160:15      VMware  Virtual_disk       n/a        6000c29541f230cebe060b3ac13796f2   4.0 TiB     SAS
-----   ---------   ------------------------   --------   --------------------------------   ---------   ----
15 drives present.

 

執行命令,檢查 SCSI HBA 控制器的數目 system show ports

# system show ports
Port   Connection   Link        Firmware   Hardware
       Type         Speed                  Address
----   ----------   ---------   --------   -------------------------
V0     Enet         10.0 Gbps              00:50:56:b8:b1:c1 (ethV0)
V1     Enet         10.0 Gbps              00:50:56:b8:70:92 (ethV1)
V2     SAS          >>> one SCSI Controller
----   ----------   ---------   --------   -------------------------

 

該過程如下:

  1. 一、關閉 DDVE 的電源
  2. 從 vSphere 中,將額外的 SCSI 控制器新增至 DDVE,並確定新增的 SCSI 控制器與現有的控制器具有相同的組態。
    • 範例:如果 SCSI 控制器 0 的類型為「VMware Paravirtual」,請使新的控制器類型相同。
  3. 開啟 DDVE 電源。執行命令 system show ports 表示已新增控制器,因此現在可將超過 15 個磁碟指派給控制器 1 而不是 0,為 vSphere 新增磁碟:

 

# system show ports
Port   Connection   Link        Firmware   Hardware
       Type         Speed                  Address
----   ----------   ---------   --------   -------------------------
V0     Enet         10.0 Gbps              00:50:56:b8:b1:c1 (ethV0)
V1     Enet         10.0 Gbps              00:50:56:b8:70:92 (ethV1)
V2     SAS
V3     SAS
----   ----------   ---------   --------   -------------------------

 

Additional Information

從 DDVE 移除磁碟

一般來說,不應從 DDVE 或 Hypervisor 移除磁碟,因為一旦新增磁碟並讓檔案系統展開,就無法在移除前破壞檔案系統。萬一大小不正確的磁碟意外送達 Hypervisor 內的 DDVE,且檔案系統尚未展開,您可以從 Hypervisor 中移除該磁碟,然後重新建立大小正確的磁碟。

 

舉例來說,如果您在 Hypervisor 中建立低於所需大小的新磁碟,然後嘗試將其新增至 DDVE,您在 DDVE 上會收到錯誤。因此,您必須從 DDVE 和 Hypervisor 中移除磁碟,然後重新開始。
VMware GUI 虛擬機器屬性視窗的螢幕擷取畫面。已選取硬體標籤,並反白顯示硬碟 4,以顯示其詳細資料。右側也反白顯示的是其磁碟檔案,其為「[Datastore2] DDVE-5-7/DDVE-5-7_3.vmdk」,以及其大小為 25 GB。

 

如上所示,磁碟只有 25 GB。嘗試將其新增至 DDVE 會導致錯誤。

# storage add dev4
Checking storage requirements...
**** Could not add storage: disk capacity is below the minimum limit 100 GB.

 

由於檔案系統尚未在磁碟上展開,因此可以從 Hypervisor 中移除和刪除。
VMware GUI 虛擬機器屬性視窗的螢幕擷取畫面。已選取硬體標籤,並反白顯示硬碟 4,以顯示其詳細資料。上面有一個“添加”按鈕和一個“刪除”按鈕,“刪除”突出顯示。

 

按一下「移除」按鈕。
VMware GUI 虛擬機器屬性視窗的螢幕擷取畫面。已選取硬體標籤,並反白顯示硬碟 4,以顯示其詳細資料。它被標記為刪除/已刪除。右側會顯示移除選項,並反白顯示「移除虛擬機器並刪除」。

 

卸下磁碟時的須知事項:

  1. 當使用中的磁碟展開後,切勿移除該磁碟。
  2. 僅移除顯示為自安裝以來未知或可用/可新增的磁碟。
  3. 如果不再需要磁碟,請記得從 Hypervisor 中移除然後刪除。
  4. 可以移除並重新建立 NVRAM 磁碟。請確定其與之前的 SCSI 位址相同。
  5. 如果已從 Hypervisor 移除磁碟,但在 DDVE 上仍顯示為不存在,請將 DDVE 重新開機。
  6. 如果磁碟移除不正確,且 DDVE 檔案系統無法再運作,請聯絡您的支援供應商以取得進一步協助。

 

Article Properties


Affected Product

Data Domain Virtual Edition

Last Published Date

09 May 2024

Version

3

Article Type

How To