Re: Replacing a REMOVED drive in DEGRADED zpool
- Reply: Robert : "Re: Replacing a REMOVED drive in DEGRADED zpool"
- In reply to: Robert : "Replacing a REMOVED drive in DEGRADED zpool"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Aug 2025 03:23:18 UTC
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). I hope that helps. Matthias