Re: Replacing a REMOVED drive in DEGRADED zpool
Date: Thu, 21 Aug 2025 13:13:32 UTC
On 8/20/2025 11:23 PM, Matthias Fechner wrote: > Hi Robert, > > Am 21.08.2025 um 03:55 schrieb Robert: >> 1. Run `zpool offline zdb1 ada0p3` >> 2. Shut down and pull/insert replacement >> 3. Boot up and run `gpart backup ada1 > gpart.ada1` then `gpart >> restore ada0 < gpart.ada1` >> 4. Run `zpool replace zdb1 ada0p3 ada0p3` > > I have written for this some notes for myself: > https://wiki.idefix.fechner.net/freebsd/zfs/#replace-a-failed-disk > > I do not think you must offline it, you should be able to use replace > command or attach (I would check the man page to verify that for the > version you use). Thanks, there is some great information inĀ your document. And detach would not be necessary either? It can be replaced in its current status of REMOVED?