Need help with ZFS - replacing a failed drive


New Member
Jul 25, 2022
Bad Kreuznach, Germany
I guess I need help on a zfs related matter. I had a disk failed on my raidz2 system. I removed the disk and put it offline afterwards. Current state of my zfs pool:

root@pve:~# zpool status
  pool: tank
 state: DEGRADED
status: One or more devices has been taken offline by the administrator.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Online the device using 'zpool online' or replace the device with
        'zpool replace'.
  scan: scrub repaired 0B in 03:45:34 with 0 errors on Thu Aug  3 18:07:06 2023

        NAME                                 STATE     READ WRITE CKSUM
        tank                                 DEGRADED     0     0     0
          raidz2-0                           DEGRADED     0     0     0
            ata-ST2000DM001-9YN164_Z2F0GPQR  ONLINE       0     0     0
            ata-ST2000DM001-1CH164_W1F4C8RS  ONLINE       0     0     0
            ata-ST2000DM008-2FR102_ZFL689C5  ONLINE       0     0     0
            ata-ST2000DM008-2FR102_ZFL688AZ  ONLINE       0     0     0
            13319576177592327227             OFFLINE      0     0     0  was /dev/sdf1

I have another disk called "ata-ST2000DM008-2UB102_WFL6G6CL" which I want to be the new disk replacing the OFFLINE one.
When I try to
zpool replace tank 13319576177592327227 ata-ST2000DM008-2UB102_WFL6G6CL

I get the error message:
root@pve:~# zpool replace tank 13319576177592327227 ata-ST2000DM008-2UB102_WFL6G6CL
cannot replace 13319576177592327227 with ata-ST2000DM008-2UB102_WFL6G6CL: ata-ST2000DM008-2UB102_WFL6G6CL is busy, or device removal is in progress
Why is it busy? What is the drive doing? It is not used by another pool (see output of zpool status).

In Proxmox disk manager I see the drive with serial 6CL in the ending as a zfs drive. whenever I wipe the disk a few seconds later it becomes a ZFS file automatically.

What am I missing? anyone can get me right on track on how I can replace the "OFFLINE" disk with my desired replacement disk?

Any help is highly and thankful appreciated.
Thank you
Last edited:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!