> Documentation index for agents: /hcp/3.3/en/llms.txt

# Replace a disk

You replace a failed pool disk together with vStack support: you find the disk in the Center web interface and on the node, light its LED in the rack, and replace it physically.

## Before you begin

- You need the **Cluster master** role: only this role can see node disks.
- You have SSH access to the nodes with `root` privileges to view the pool state.
- You have a new disk of the same type, SSD or NVMe, and not smaller than the failed one.
- You have opened a request with vStack support.
- If the node page has no **Disks** section, find the disk on the node — step 2 — and in the rack by the serial number on its label.

## 1. Find the degraded pool

1. In the left menu, select **Provider Data Center** → the cluster name → **Storage Resources**. The **Pools** table opens.
2. Find a pool whose **Health** is **Warning** or **Critical**. **Warning** means the pool runs with incomplete redundancy; **Critical** means the node reported that the pool is unavailable.
3. Look at **Resilvering**. **Yes** means the pool is already restoring data, for example to a spare disk: wait until it finishes and check **Health** again.
4. Write down the pool name and the **Current node**.

If the pool is **Critical**, do not replace disks yourself; contact support immediately — [Pool health — Critical](/hcp/3.3/en/troubleshooting/pool-health-critical/index.md).

## 2. Identify the disk on the node

A pool is built from the disks of all nodes, so the failed disk may be in a node other than the current node of the pool.

1. Connect over SSH to the current node of the pool and run `zpool status <pool>`.
2. Find the row of the disk in the `FAULTED`, `REMOVED`, `UNAVAIL` or `OFFLINE` state. A name like `diskid/DISK-node3_da2` means disk `da2` on node 3.
3. Connect to the node from the disk name and run `vstack-nodeside disk list`. Write down the serial number and the size of this device from the `SN` and `SIZE` columns. If the device is not in the list, the node no longer sees it — write down the device name.

These commands only read the state — [View the cluster state on a node](/hcp/3.3/en/os-cluster/cluster-state/index.md).

## 3. Find the disk in the rack

1. Select **Provider Data Center** → the cluster name → **Server Nodes** and click the number of the node from step 2.
2. Expand the **Disks** section. Find the row of the disk whose **Status** is **Error** and click it — the **Disk** panel opens on the right.
3. Compare the **Serial number** and **Pool** in the **ZFS membership** block with the values you wrote down. If there is no row with **Error**, open the rows one by one and look for the disk by its serial number.
4. Turn on the **Locate** switch in the **LED on panel** block. The LED on the disk bay lights up.

If **The disk is not in an enclosure** appears under the block, you cannot light the disk LED: find the disk by the serial number on its label.

## 4. Replace the disk together with support

1. Give support the pool name, the node number, the device, the serial number and the slot.
2. Wait until support removes the failed disk from the pool.
3. Pull out the disk with the lit LED and check the serial number on its label.
4. Insert the new disk into the same slot and notify support.
5. Wait until support adds the new disk to the pool.

> **Caution**
>
> Check the serial number before you pull out a disk. A degraded pool with redundancy 1 cannot withstand the removal of a healthy disk.

## Check the result

1. Turn off the **Locate** switch in the **Disk** panel.
2. In the **Disks** section, the new disk's **Status** is **OK** and its **Role** is **In pool**.
3. In the **Pools** table, the pool's **Resilvering** is **Yes** while the pool restores data to the new disk. When it changes to **No**, **Health** should return to **Normal**.
4. On the current node of the pool, `zpool status <pool>` shows `state: ONLINE` and `errors: No known data errors`.

If **Warning** remains after the restore finishes — [Pool health — Warning](/hcp/3.3/en/troubleshooting/pool-health-warning/index.md).

## More

- The node first automatically tries to bring the failed disk back into service. If the disk fails again and a spare disk is set up on the node, the node replaces the failed disk with the spare one, and the pool starts restoring data automatically. You still need to replace the failed disk as described on this page.

## What not to do

- **Do not pull out a disk** until support has removed it from the pool, and do not replace more than one disk at a time.
- **Do not run `zpool replace`, `clear`, `online` or `offline`** on the node.
- **Do not reboot the node** to bring a disk back into service: while the node reboots, each pool loses one more disk.
- **Do not use the disk actions in the Disk panel.**

## Next

- [View a node: hardware, disks, performance](/hcp/3.3/en/cluster/view-node/index.md)
- [View pool state and capacity](/hcp/3.3/en/storage/view-pools/index.md)
- [Storage redundancy and disk recovery](/hcp/3.3/en/mechanics/storage-redundancy/index.md)

API methods: `pd-list`, `pd-led` — in the [API reference](/hcp/3.3/en/api/methods/index.md).
