VPLEX:如何建立虛擬磁碟區

摘要: 本知識文章概述建立虛擬磁碟區所需的步驟。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

  1. 檢查未請領的儲存磁碟區:
 VPlexcli:/> ll **/storage-volumes

/clusters/cluster-1/storage-elements/storage-volumes:
Name                                      VPD83 ID                                  Capacity  Use        Vendor  IO      Type         Thin     Provision
----------------------------------------  ----------------------------------------  --------  ---------  ------  Status  -----------  Rebuild  Type
----------------------------------------  ----------------------------------------  --------  ---------  ------  ------  -----------  -------  ---------
ESX_4                                     VPD83T3:6006048000028746073753594d303143  8.43G     used       EMC     alive   normal       true     legacy
Symm0737_0001                             VPD83T3:6006048000028746073753594d303031  8.43G     used       EMC     alive   normal       true     legacy
Symm0737_001B                             VPD83T3:6006048000028746073753594d303142  8.43G     claimed    EMC     alive   normal       true     legacy
Symm0737_001D                             VPD83T3:6006048000028746073753594d303144  8.43G     claimed    EMC     alive   normal       true     legacy
Test                                      VPD83T3:6006048000028746073753594d303041  8.43G     claimed    EMC     alive   normal       true     legacy
VPD83T3:6006048000028746073753594d303035  VPD83T3:6006048000028746073753594d303035  8.43G     unclaimed  EMC     alive   traditional  false    legacy

 

  1. 宣告所需的儲存磁碟區:
VPlexcli:/> storage-volume claim --name testA -d VPD83T3:6006048000028746073753594d303035/
Claimed 1 of 1 storage-volumes.

 

  1. 確認已成功宣告儲存磁碟區:
VPlexcli:/> ll /clusters/cluster-1/storage-elements/storage-volumes

/clusters/cluster-1/storage-elements/storage-volumes:
Name                                      VPD83 ID                                  Capacity  Use        Vendor  IO      Type         Thin     Provision
----------------------------------------  ----------------------------------------  --------  ---------  ------  Status  -----------  Rebuild  Type
----------------------------------------  ----------------------------------------  --------  ---------  ------  ------  -----------  -------  ---------
ESX_4                                     VPD83T3:6006048000028746073753594d303143  8.43G     used       EMC     alive   normal       true     legacy
Symm0737_0001                             VPD83T3:6006048000028746073753594d303031  8.43G     used       EMC     alive   normal       true     legacy
Symm0737_001B                             VPD83T3:6006048000028746073753594d303142  8.43G     claimed    EMC     alive   normal       true     legacy
Symm0737_001D                             VPD83T3:6006048000028746073753594d303144  8.43G     claimed    EMC     alive   normal       true     legacy
Test                                      VPD83T3:6006048000028746073753594d303045  8.43G     claimed    EMC     alive   normal       true     legacy
testA                                     VPD83T3:6006048000028746073753594d303035  8.43G     claimed    EMC     alive   normal       false    legacy
 
  1. 從可用的已宣告儲存磁碟區建立延伸區:
VPlexcli:/> extent create testA,Test

 

  1. 確認已成功建立範圍:
VPlexcli:/> ll /clusters/cluster-1/storage-elements/extents

/clusters/cluster-1/storage-elements/extents:
Name                                              StorageVolume       Capacity  Use
------------------------------------------------  ------------------  --------  -------
extent_Test_1                                     Test                8.43G     claimed
extent_testA_1                                    testA               8.43G     claimed

 

  1. 建立本機裝置:
VPlexcli:/> local-device create --name testA_vol --geometry raid-1 --extents /clusters/cluster-1/storage-elements/extents/extent_testA_1,/clusters/cluster-1/storage-elements/extents/extent_Test_1 --force

 

  1. 確認已成功建立本機裝置:
VPlexcli:/> ll -p **/devices

/clusters/cluster-1/devices:
Name                    Operational  Health  Block    Block  Capacity  Geometry  Visibility  Transfer  Virtual Volume
----------------------  Status       State   Count    Size   --------  --------  ----------  Size      --------------------------
----------------------  -----------  ------  -------  -----  --------  --------  ----------  --------  --------------------------
testA_vol                 ok           ok      2209680  4K     8.43G     raid-1    local       128K      -



VPlexcli:/> show-use-hierarchy /clusters/cluster-1/devices/testA_vol/
local-device: testA_vol (8.43G, raid-1, cluster-1)
  extent: extent_Test_1 (8.43G)
    storage-volume: Test (8.43G)
      logical-unit: VPD83T3:6006048000028746073753594d303045
        storage-array: EMC-SYMMETRIX-287460737
  extent: extent_testA_1 (8.43G)
    storage-volume: testA (8.43G)
      logical-unit: VPD83T3:6006048000028746073753594d303035
        storage-array: EMC-SYMMETRIX-287460737

 

  1. 建立虛擬磁碟區:
VPlexcli:/> virtual-volume create -r testA_vol

 

  1. 確認虛擬磁碟區已成功建立:
VPlexcli:/> ll **/virtual-volumes
/clusters/cluster-1/virtual-volumes:
Name                        Operational  Health  Service     Block    Block  Capacity  Locality  Supporting Device       Cache Mode   Expandable  Expandable  Consistency  VPD ID
--------------------------  Status       State   Status      Count    Size   --------  --------  ----------------------  -----------  ----------  Capacity    Group        ----------------------------------------
--------------------------  -----------  ------  ----------  -------  -----  --------  --------  ----------------------  -----------  ----------  ----------  -----------  ----------------------------------------
testA_vol_vol               ok           ok      unexported  2209680  4K     8.43G     local     testA_vol             synchronous  true        0B          -            VPD83T3:6000144000000010b0026af0c08572c2


VPlexcli:/> show-use-hierarchy /clusters/cluster-1/devices/testA_vol/
virtual-volume: testA_vol_vol (8.43G, local @ cluster-1, unexported)   <-----------
  local-device: testA_vol (8.43G, raid-1, cluster-1)
    extent: extent_Test_1 (8.43G)
      storage-volume: Test (8.43G)
        logical-unit: VPD83T3:6006048000028746073753594d303045
          storage-array: EMC-SYMMETRIX-287460737
    extent: extent_testA_1 (8.43G)
      storage-volume: testA (8.43G)
        logical-unit: VPD83T3:6006048000028746073753594d303035
          storage-array: EMC-SYMMETRIX-287460737olumes


虛擬磁碟區目前顯示為未匯出,因為它尚未新增至儲存檢視。

  1. 檢查可用的儲存檢視,以將虛擬磁碟區新增至:
VPlexcli:/> ll **/storage-views

/clusters/cluster-1/exports/storage-views:
Name             Operational  initiator-ports                     virtual-volumes                                                                 port name, enabled, export status
---------------  Status       ----------------------------------  ------------------------------------------------------------------------------  ----------------------------------
---------------  -----------  ----------------------------------  ------------------------------------------------------------------------------  ----------------------------------
DELLPR510-F      ok           DELLPR510-F_HBA0                    (0,device_Symm0737_0008_1_vol,VPD83T3:6000144000000010b0026af0c085706c,8.43G),  P000000003CA00263-A0-FC02,true,ok,
                                                                  (1,ESX_4_vol,VPD83T3:6000144000000010b0026af0c08570e5,16.9G),                   P000000003CA0026A-A0-FC00,true,ok,
                                                                  (5,device_Symm0737_0007_1_vol,VPD83T3:6000144000000010b0026af0c0857071,8.43G)   P000000003CB0026A-B1-FC00,true,ok


                                                                  

  1. 將虛擬磁碟區新增至所需的儲存檢視:
VPlexcli:/> export storage-view addvirtualvolume --view DELLPR510-F --virtual-volumes testA_vol_vol

 

  1. 確認磁碟區已成功建立:
VPlexcli:/> show-use-hierarchy /clusters/cluster-1/devices/testA_vol/
storage-view: DELLPR510-F (cluster-1)
  virtual-volume: testA_vol_vol (8.43G, local @ cluster-1, running)
    local-device: testA_vol (8.43G, raid-1, cluster-1)
      extent: extent_Test_1 (8.43G)
        storage-volume: Test (8.43G)
          logical-unit: VPD83T3:6006048000028746073753594d303045
            storage-array: EMC-SYMMETRIX-287460737
      extent: extent_testA_1 (8.43G)
        storage-volume: testA (8.43G)
          logical-unit: VPD83T3:6006048000028746073753594d303035
            storage-array: EMC-SYMMETRIX-287460737

受影響的產品

VPLEX Series

產品

VPLEX Series, VPLEX VS1, VPLEX VS2, VPLEX VS6
文章屬性
文章編號: 000158420
文章類型: How To
上次修改時間: 04 5月 2026
版本:  6
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。