Reactivate a temporarily missing disk


Well-Known Member
Mar 25, 2017
How to reactivate a temporarily missing disk in a mirred pool?

zpool status
  pool: data1
 state: DEGRADED
status: One or more devices could not be used because the label is missing or
        invalid.  Sufficient replicas exist for the pool to continue
        functioning in a degraded state.
action: Replace the device using 'zpool replace'.
  scan: scrub repaired 0B in 00:25:48 with 0 errors on Sun Jun 11 00:49:49 2023

        NAME                                                                    STATE     READ WRITE CKSUM
        data1                                                                   DEGRADED     0     0     0
          mirror-0                                                              DEGRADED     0     0     0
            dm-uuid-part2-CRYPT-LUKS1-xxxxx1  ONLINE       0     0     0
            15349308663512205183                                                UNAVAIL      0     0     0  was /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-xxx2

The disk /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-xxx2 is present and can be read from but zfs does not attach it to the pool.

zpool offline/online with the disk does not work.

Even "zpool replace data1 15349308663512205183 /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-xxx2" fails with the error

cannot open '/dev/disk/by-id/dm-uuid-CRYPT-LUKS1-xxx2': Device or resource busy
cannot replace 15349308663512205183 with /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-c57b7fd1a5c04fe09e6aee663bc5287d-data-c3: /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-xxx2 is busy, or device removal is in progress

Why does zfs assign a new id to the drive and how can this be undone?
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!