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) クラスター にある場合、1 つのノードデバイスでのみディスクローミングを行うと、High Availability Manager が 2 つのノード間でディスクスロットの不一致を検出する可能性があります。これらの不一致はクラスターの健全性と安定性に影響を与える可能性があります。
シナリオ
HA クラスター におけるディスクローミングの影響は、1 つのノードでディスクを他のノードに対してどこに移動したかによって異なります。
ディスクローミングには 2 つの主要なシナリオがあります。パッシブノードの電源をオフにし、同じストレージプールに属する 2 つのディスクを異なるディスクスロットに移動したと仮定します:
| シナリオ | アクティブノード | パッシブノード | 説明 |
|---|
| スロットの交換 | スロット 1: ディスク A (400 GB) スロット 2: ディスク B (200 GB) | スロット 1: ディスク B (200 GB) スロット 2: ディスク A (400 GB) | パッシブノードの 2 つのディスクは、アクティブノードの対応するディスクと比較してスロットを交換しましたが、同じ 2 つのスロットが依然として占有されています。 |
| 異なるスロット | スロット 1: ディスク A (400 GB) スロット 2: ディスク B (200 GB) | スロット 3: ディスク A (400 GB) スロット 4: ディスク B (200 GB) | パッシブノードの 2 つのディスクは、アクティブノードの対応するディスクとは異なるスロットに移動されました。 |
各シナリオが HA ステータスに与える影響は次のとおりです:
| シナリオ | HA ステータス | 詳細 |
|---|
| スロットの交換 | 良好 | ストレージ プールとデータ同期は期待通りに動作します。 しかし、将来のディスクスロットに関する操作に影響を与える可能性があります(次のセクションの重要な注意を参照してください)。 |
| 異なるスロット | 警告 | ディスクスロットの不一致が検出されました。 ストレージ プールとデータ同期は期待通りに動作します。 しかし、クラスター の健康状態に影響を与え、将来のディスクスロットに関する操作に影響を与える可能性があります(次のセクションの重要な注意を参照してください)。 |
解決策
上記の両方のシナリオで、HA クラスター は通常通りに動作し、2つのノード間でデータを同期し続けます。
しかし、対応するディスクが常に2つのノード間で一致するディスクスロットにインストールされていることを強くお勧めします。これにより、HA クラスター の長期的な健康と安定性が確保されます。
次のいずれかの方法でディスクスロットの不一致を解決できます:
- スイッチオーバーを実行し、パッシブノードをシャットダウンしてから、元のアクティブノードの対応するディスクを元のパッシブノードと同じスロットに移動します。
- パッシブノードのディスクを元のディスクスロットに戻します。
重要
ディスクスロットの不一致をそのままにしておくと、将来の ストレージ に関する操作が失敗する可能性があります。
例えば、ストレージ プールを削除し、同じディスクを使用して新しいプールを作成しようとすると、2つのノード間でスロットの交換や異なるスロットのシナリオが存在する場合、High Availability Manager は両ノードのハードウェア構成を再確認し、不一致を検出して新しい ストレージ プールの作成を防ぎます。
さらに読む
HA クラスター で大容量のハードドライブに交換するにはどうすればよいですか?