Metro Node:紀錄磁碟區沒有空間
摘要: 本文討論在創建分散式設備時嘗試創建分散式設備、將遠端鏡像連接到本地設備或嘗試擴展虛擬卷錯誤時,由於在創建分散式設備時日誌記錄卷上的空間不足或沒有空間,因此注意到虛擬卷錯誤。本文提供解決此問題的因應措施。
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
症狀
- 嘗試建立分散式裝置或將遠端鏡像附加到本機裝置時失敗,並顯示以下訊息:
One or more clusters has no room to allocate bitmap log settings for the raid-1 distributed-device. cause: Unable to attach '<device_name>' to device '<device_name>'. cause: Unable to attach mirror '<device_name>' to distributed Device '<device_name>'. cause: Firmware command error. cause: One or more clusters has no room to allocate bitmap log settings for the raid-1 distributed-device.
- 嘗試擴充虛擬磁碟區失敗,並顯示下列訊息:
“Failed to expand virtual-volume ‘VPLEX_SLR_MFS05_F’ Unable to find a logging volume at cluster ‘cluster-1’ with enough free space to expand distributed device ‘dd_VPLEX_SLR-MFS05_F’.”
原因
記錄磁碟區空間不足。
解析度
用戶必須創建具有更高容量的新日誌記錄卷,並將所有分散式設備從現有日誌記錄卷移動到新的日誌記錄卷。
因應措施步驟:
此程序已細分為以下三個部分:
第 A 節:建立容量較高的記錄磁碟區。
B節:移動記錄磁碟區。
C節:銷毀舊的記錄磁碟區。
A節:建立容量較高的
記錄磁碟區1.使用服務帳戶登入資料登入 VPLEX 管理伺服器,然後存取 VPlexcli。
2.使用下列命令,從 VPlexcli 主提示字元檢查未請領的儲存磁碟區 (每 160 TB 的分散式裝置約有 10 GB 的記錄磁碟區空間):
在下面的輸出範例中,在「使用」欄中尋找兩個叢集的「未請領」,如下所示:
注意:針對使用者想要聲明用於新記錄磁碟區的其他所需儲存磁碟區,重複步驟 2 和 3。
4.對於您宣告的儲存磁碟區,請使用下列命令為每個儲存磁碟區建立範圍:
5.使用以下命令,記下在已宣告儲存磁碟區上建立的磁碟區名稱:
6. 接下來,使用以下命令在步驟 4 中創建的區域之上創建新的日誌記錄卷:
範例輸出:
注意:對叢集 2 重複 A 節中的所有步驟。
B節:移動紀錄磁碟區
以下過程將分散式設備的位圖從現有日誌記錄卷 ( c1_old_vol ) 移動到新的日誌記錄卷 ( c1_New_log_vol )。
1.按照部分 A 中的步驟 #7 獲取日誌記錄卷詳細資訊:
3.確認分散式裝置正在使用舊的記錄磁碟 區C1_Logging_vol:
範例輸出:
5. 檢查是否為分散式裝置分配了新的紀錄記錄磁碟區:
範例輸出:
6.檢查原始/舊的紀錄磁碟區是否未被任何分散式裝置使用:
注意:對叢集-2 重複 B 節中的所有步驟。
C節:銷毀舊的紀錄記錄磁碟區
1.若要查看新記錄磁碟區的詳細資料,請從 VPlexcli 執行下列命令:
顯示使用層次結構群集/群集-1/系統卷/<new_logging_volume_name>
2. 使用下列命令銷毀舊的記錄磁碟區:
3.使用下列命令銷毀記錄磁碟區背後的區域:
注意:為叢集 2 重複 C 節中的所有步驟。
因應措施步驟:
此程序已細分為以下三個部分:
第 A 節:建立容量較高的記錄磁碟區。
B節:移動記錄磁碟區。
C節:銷毀舊的記錄磁碟區。
A節:建立容量較高的
記錄磁碟區1.使用服務帳戶登入資料登入 VPLEX 管理伺服器,然後存取 VPlexcli。
2.使用下列命令,從 VPlexcli 主提示字元檢查未請領的儲存磁碟區 (每 160 TB 的分散式裝置約有 10 GB 的記錄磁碟區空間):
ll /**/system-volumes/
在下面的輸出範例中,在「使用」欄中尋找兩個叢集的「未請領」,如下所示:
VPlexcli:/> ll /**/storage-volumes /clusters/cluster-1/storage-elements/storage-volumes: Name VPD83 ID Capacity Use Vendor IO Type Thin Provision Thin ---------------------------------------- ---------------------------------------- -------- --------- ------ Status ----------- Rebuild Type Capable ---------------------------------------- ---------------------------------------- -------- --------- ------ ------ ----------- ------- --------- ------- C1_Log VPD83T3:6006016013xxxxxxxxb4ae275e86e611 10G used DGC alive normal true legacy false C1_VNX1539_DR1_a8f VPD83T3:60060160c9c0xxxxxxxx9be88ac4e711 10G used DGC alive normal true legacy true C1_VNX1539_DR1_aaf VPD83T3:60060160c9c0xxxxxxxxxbe88ac4e711 10G used DGC alive normal true legacy true C1_thin_rebuild_svol VPD83T3:600601601330xxxxxxxxxx0e6986e611 10G used DGC alive normal true legacy false . . VPD83T3:60060160c9c02cxxxxxc47ef8ac4e711 VPD83T3:60060160c9c0xxxxxx0c47ef8ac4e711 10G unclaimed DGC alive traditional false legacy true VPD83T3:60060160c9c02cxxxxxaba254b99e711 VPD83T3:60060160c9c0xxxxxxxaba254b99e711 80G claimed DGC alive normal false legacy false VPD83T3:60060160c9c02cxxxxxxxbe88ac4e711 VPD83T3:60060160c9c0xxxxxxxx9be88ac4e711 10G unclaimed DGC alive traditional false legacy true VPD83T3:60060160c9c02cxxxxxxxbe88ac4e711 VPD83T3:60060160c9c0xxxxxxxxxbe88ac4e711 10G unclaimed DGC alive traditional false legacy true VPD83T3:60060160c9c02cxxxxxxx55a4a99e711 VPD83T3:60060160c9cxxxxxxxxxx55a4a99e711 80G meta-data DGC alive traditional false legacy false3. 從使用者想要宣告儲存磁碟區的每個叢集中,使用下列命令將目錄 (cd) 變更為儲存磁碟區內容層級,並宣告所需的儲存磁碟區 (每 160 TB 的分散式裝置約有 10 GB 的記錄磁碟區空間):
storage-volume claim --name <storage volume name> -d <storage-volume VPD ID>範例輸出:
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> storage-volume claim --name Test_LogA -d VPD83T3:600601601330270xxxxa4e5be611 Claimed 1 of 1 storage-volumes.
注意:針對使用者想要聲明用於新記錄磁碟區的其他所需儲存磁碟區,重複步驟 2 和 3。
4.對於您宣告的儲存磁碟區,請使用下列命令為每個儲存磁碟區建立範圍:
extent create --storage-volumes <name of storage volume>範例輸出:
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> extent create --storage-volumes Test_LogA注意:對其餘已請領的儲存磁碟區重複步驟 4。
5.使用以下命令,記下在已宣告儲存磁碟區上建立的磁碟區名稱:
VPlexcli:/clusters/cluster-1/storage-elements/extents> ll範例輸出:
VPlexcli:/clusters/cluster-1/storage-elements/extents> ll Name StorageVolume Capacity Use ------------------------------------------------- ---------------------------------------- -------- ------- extent_Test_LogA Test_LogA 20G used extent_Test_LogB Test_LogB 20G used . . . </truncated>
6. 接下來,使用以下命令在步驟 4 中創建的區域之上創建新的日誌記錄卷:
logging-volume create -n <name of logging volume> -e <extent1, extent2>
範例輸出:
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> logging-volume create -n c1_New_log -e Test_LogA, Test_LogB7. 使用下列命令列出新建立的記錄磁碟區:
ll /clusters/cluster-1/system-volumes/範例輸出:
VPlexcli:/> ll /clusters/cluster-1/system-volumes/ /clusters/cluster-1/system-volumes: Name Volume Type Operational Health Active Ready Geometry Component Block Block Capacity Slots ------------------------------- -------------- Status State ------ ----- -------- Count Count Size -------- ----- ------------------------------- -------------- ----------- ------ ------ ----- -------- --------- -------- ----- -------- ----- C1__Logging_vol logging-volume ok ok - - raid-1 1 2621440 4K 10G - C1_New_Log_vol logging-volume ok ok - - raid-1 1 2621440 4K 10G - C1_Meta meta-volume ok ok true true raid-1 2 20971264 4K 80G 64000 C1_Meta_backup_2018Apr10_120032 meta-volume ok ok false true raid-1 1 20971264 4K 80G 64000 C1_Meta_backup_2018Apr11_120018 meta-volume ok ok false true raid-1 1 20971264 4K 80G 64000
注意:對叢集 2 重複 A 節中的所有步驟。
B節:移動紀錄磁碟區
以下過程將分散式設備的位圖從現有日誌記錄卷 ( c1_old_vol ) 移動到新的日誌記錄卷 ( c1_New_log_vol )。
1.按照部分 A 中的步驟 #7 獲取日誌記錄卷詳細資訊:
VPlexcli:/clusters/cluster-1/system-volumes> ll2.確認分散式裝置並未使用新的記錄磁碟區 c1_New_Log_vol,方法是確保在「使用」欄下顯示為「free」:
VPlexcli:/clusters/cluster-1/system-volumes/c1_New_log_vol/segments> ll Name Starting Block Block Count Use ------ -------------- ----------- ---- free-0 0 2623200 free
3.確認分散式裝置正在使用舊的記錄磁碟 區C1_Logging_vol:
VPlexcli:/clusters/cluster-1/system-volumes/C1_Logging_vol/segments> ll範例輸出:
VPlexcli:/clusters/cluster-1/system-volumes/C1_Logging_vol/segments> ll /clusters/cluster-1/system-volumes/C1_Logging_vol/segments: Name Starting Block Use ----------------------------------------------------- Block Count ------------------------------------------- ----------------------------------------------------- -------- ------- ------------------------------------------- allocated-device_C1_VNXXX12_DR1_XXf_1 0 80 allocated for device_C1_VNXXX12_DR1_XXf_1 allocated-device_C2_VNXXX12_DR1_X2X_12017Nov20_165905 0 80 allocated for device_C2_VNXXX12_DR1_X2X_12017Nov20_165905 allocated-device_local_source_12018Mar05_063808 0 80 allocated for device_local_source_12018Mar05_063808 allocated-device_remote_target_1 0 80 allocated for device_remote_target_1 free-3204.使用下列命令,為系統中的所有分散式裝置選擇新的紀錄記錄磁碟區:
ds dd set-log --logging-volumes <name of new logging volume> --distributed-devices *
範例輸出:
VPlexcli:/distributed-storage/distributed-devices> ds dd set-log --logging-volumes c1_New_Log_vol --distributed-devices *
5. 檢查是否為分散式裝置分配了新的紀錄記錄磁碟區:
VPlexcli:/clusters/cluster-1/system-volumes/c1_New_Log_vol/segments> ll
範例輸出:
VPlexcli:/clusters/cluster-1/system-volumes/c1_New_Log_vol/segments> ll
/clusters/cluster-1/system-volumes/C1_Logging_vol/segments:
Name Starting Block Use
----------------------------------------------------- Block Count -------------------------------------------
----------------------------------------------------- -------- ------- -------------------------------------------
allocated-device_C1_VNXXX12_DR1_XXf_1 0 80 allocated for device_C1_VNXXX12_DR1_XXf_1
allocated-device_C2_VNXXX12_DR1_X2X_12017Nov20_165905 0 80 allocated for device_C2_VNXXX12_DR1_X2X_12017Nov20_165905
allocated-device_local_source_12018Mar05_063808 0 80 allocated for device_local_source_12018Mar05_063808
allocated-device_remote_target_1 0 80 allocated for device_remote_target_1
free-320
6.檢查原始/舊的紀錄磁碟區是否未被任何分散式裝置使用:
VPlexcli:/clusters/cluster-1/system-volumes/C1_Logging_vol/segments> ll
Name Starting Block Block Count Use
------ -------------- ----------- ----
free-0 0 2623200 free
注意:對叢集-2 重複 B 節中的所有步驟。
C節:銷毀舊的紀錄記錄磁碟區
1.若要查看新記錄磁碟區的詳細資料,請從 VPlexcli 執行下列命令:
show-use-hierarchy /clusters/cluster-1/storage-elements/extents/<name of extent of logging volume>或
顯示使用層次結構群集/群集-1/系統卷/<new_logging_volume_name>
show-use-hierarchy clusters/cluster-1/system-volumes/<new_logging_volume_name>使用範圍名稱的輸出範例:
VPlexcli:/> show-use-hierarchy /clusters/cluster-1/storage-elements/extents/extent_C1_Log_1
logging-volume: c1_New_Log_vol (20G, raid-0, cluster-1)
extent: C1_New_Log_1 (10G)
storage-volume: C1_New_Log(10G)
logical-unit: VPD83T3:600009700002987014xxxx3030354144
storage-array: EMC-SYMMETRIX-123456789
extent: C1_New_Log_2(10G)
storage-volume: New_Log2(10G)
logical-unit: VPD83T3:600009700002987xxxx3533030354145
storage-array: EMC-SYMMETRIX-987654321
2. 使用下列命令銷毀舊的記錄磁碟區:
logging-volume destroy --logging-volume <name of old logging volume>範例輸出:
VPlexcli:/clusters/cluster-1/system-volumes/C1_Log_vol> logging-volume destroy --logging-volume C1_Log_vol Context '/clusters/cluster-1/system-volumes/C1_Log_vol' has been removed.
3.使用下列命令銷毀記錄磁碟區背後的區域:
extent destroy --extents extent <name of extent>範例輸出:
VPlexcli:/clusters/cluster-1/storage-elements/extents/C1_Log_1> extent destroy --extents extent_C1_Log_1 WARNING: The following items will be destroyed: Context ----------------------------------------------------------------------------------- /clusters/cluster-1/storage-elements/extents/extent_C1_Log_1 Do you wish to proceed? (Yes/No) Yes Extent extent_C1_Log_1' is claimed and may be in use, do you wish to destroy it anyway? (Yes/No) Yes Context '/clusters/cluster-1/storage-elements/extents/extent_C1_Log_1' has been removed. Destroyed 1 out of 1 targeted extents.
注意:為叢集 2 重複 C 節中的所有步驟。
受影響的產品
metro node產品
metro node mn-114, metro node mn-215文章屬性
文章編號: 000224388
文章類型: Solution
上次修改時間: 29 4月 2024
版本: 1
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。