Applicable Products
- QuTS hero h5.3.0 or later
- High Availability Manager
Background
QNAP NAS devices support disk roaming, which allows users to move disks to different slots while the system is powered off. After restarting, the system can still detect and mount the storage pool that the moved disks belong to, even though their locations have changed.
However, if your NAS devices are in a high-availability (HA) cluster, performing disk roaming only on one node device may cause High Availability Manager to detect disk slot inconsistencies between the two nodes. These inconsistencies may affect cluster health and stability.
Scenarios
The effect of disk roaming on the HA cluster depends on where you moved your disks on one node relative to the other node.
There are two major disk roaming scenarios. Let’s assume you powered off the passive node and moved two disks that belong to the same storage pool to different disk slots:
| Scenario | Active Node | Passive Node | Description |
|---|
| Swapped slots | Slot 1: Disk A (400 GB) Slot 2: Disk B (200 GB) | Slot 1: Disk B (200 GB) Slot 2: Disk A (400 GB) | The two disks on the passive node swapped slots compared to the corresponding disks on the active node, but the same two slots are still occupied. |
| Different slots | Slot 1: Disk A (400 GB) Slot 2: Disk B (200 GB) | Slot 3: Disk A (400 GB) Slot 4: Disk B (200 GB) | The two disks on the passive node were moved to different slots than the corresponding disks on the active node. |
The effects of each scenario on the HA status are as follows:
| Scenario | HA Status | Details |
|---|
| Swapped slots | Good | The storage pool and data synchronization still work as expected. However, future actions involving the disk slots may be affected (see important note in next section). |
| Different slots | Warning | Disk slot mismatch is detected. The storage pool and data synchronization still work as expected. However, cluster health is affected, and future actions involving the disk slots may be affected (see important note in next section). |
Solution
In both scenarios above, the HA cluster will continue to operate and sync data between the two nodes normally.
However, we highly recommend that the corresponding disks are always installed in matching disk slots between the two nodes. This ensures the long-term health and stability of the HA cluster.
You can resolve the disk slot inconsistency by doing one of the following:
- Perform a switchover, shut down the passive node, and then move the corresponding disks on the original active node to the same slots as those on the original passive node.
- Move the disks on the passive node back to their original disk slots.
Important
If you leave the disk slot inconsistency in place, you may fail to perform future storage actions involving those disks and disk slots.
For example, if you remove the storage pool and try to create a new one using the same disks while a scenario of swapped slots or different slots is still present between the two nodes, High Availability Manager will recheck the hardware configuration of both nodes and detect the inconsistency, preventing the system from creating the new storage pool.
Further Reading
How do I replace a hard drive with a larger capacity in an HA cluster?
適用產品
- QuTS hero h5.3.0 or later
- High Availability Manager
背景
QNAP NAS 設備支援磁碟漫遊,允許使用者在系統關機時將磁碟移動到不同的插槽。重新啟動後,系統仍然可以偵測並掛載移動磁碟所屬的 儲存空間 儲存池,即使它們的位置已經改變。
然而,如果您的 NAS 設備處於高可用性 (HA) 叢集 中,僅在一個節點設備上執行磁碟漫遊可能會導致 High Availability Manager 偵測到兩個節點之間的磁碟插槽不一致。這些不一致可能會影響 叢集 的健康和穩定性。
情境
磁碟漫遊對 HA 叢集 的影響取決於您在一個節點上移動磁碟相對於另一個節點的位置。
有兩種主要的磁碟漫遊情境。假設您關閉了被動節點,並將屬於同一個 儲存空間 儲存池的兩個磁碟移動到不同的磁碟插槽:
| 情境 | 主動節點 | 被動節點 | 說明 |
|---|
| 交換插槽 | 插槽 1:磁碟 A (400 GB) 插槽 2:磁碟 B (200 GB) | 插槽 1:磁碟 B (200 GB) 插槽 2:磁碟 A (400 GB) | 被動節點上的兩個磁碟與主動節點上的相應磁碟交換了插槽,但仍然佔據相同的兩個插槽。 |
| 不同插槽 | 插槽 1:磁碟 A (400 GB) 插槽 2:磁碟 B (200 GB) | 插槽 3: 磁碟 A (400 GB) 插槽 4: 磁碟 B (200 GB) | 被動節點上的兩個磁碟被移動到與主動節點上的相應磁碟不同的插槽。 |
每個情境對 HA 狀態的影響如下:
| 情境 | HA 狀態 | 詳細資訊 |
|---|
| 交換插槽 | 良好 | 儲存空間 池和資料同步仍按預期運作。 然而,未來涉及磁碟插槽的操作可能會受到影響(請參閱下一節的重要說明)。 |
| 不同插槽 | 警告 | 檢測到磁碟插槽不匹配。 儲存空間 池和資料同步仍按預期運作。 然而,叢集 健康受到影響,未來涉及磁碟插槽的操作可能會受到影響(請參閱下一節的重要說明)。 |
解決方案
在上述兩種情境中,HA 叢集 將繼續正常運行並在兩個節點之間同步資料。
然而,我們強烈建議始終在兩個節點之間的匹配磁碟插槽中安裝相應的磁碟。這確保了 HA 叢集 的長期健康和穩定性。
您可以透過以下方法之一解決磁碟插槽不一致問題:
- 執行切換,關閉被動節點,然後將原主動節點上的相應磁碟移動到與原被動節點相同的插槽。
- 將被動節點上的磁碟移回其原始磁碟插槽。
重要
如果您保持磁碟插槽不一致,未來可能無法執行涉及這些磁碟和磁碟插槽的 儲存空間 操作。
例如,如果您移除 儲存空間 池並嘗試使用相同的磁碟創建新池,而兩個節點之間仍存在交換插槽或不同插槽的情境,High Availability Manager 將重新檢查兩個節點的硬體配置並檢測不一致,從而阻止系統創建新的 儲存空間 池。
進一步閱讀
如何在 HA 叢集 中用更大容量的硬碟替換?