This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:storage:zfs_replace_drive [2022/08/08 08:54] gcooper |
computing:storage:zfs_replace_drive [2023/07/05 11:39] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ZFS Failed Disk Replacement ====== | ====== ZFS Failed Disk Replacement ====== | ||
+ | |||
+ | **Hot Spares**: https:// | ||
+ | |||
+ | **Hot Spares**: https:// | ||
https:// | https:// | ||
Line 43: | Line 47: | ||
</ | </ | ||
- | <note tip> | + | <note tip> |
+ | </ | ||
+ | < | ||
zpool replace -f " | zpool replace -f " | ||
- | </note> | + | </file> |
<note tip>'' | <note tip>'' | ||
Line 58: | Line 64: | ||
< | < | ||
zpool attach < | zpool attach < | ||
- | # Wait for it to resilver, which adds redundancy | + | # Wait for it to resilver, which adds redundancy, then |
zpool detach < | zpool detach < | ||
</ | </ | ||
Line 64: | Line 70: | ||
==== Spares ==== | ==== Spares ==== | ||
- | Usually a spare can replace a faulted disk but remains a spare. | + | Usually a spare can replace a faulted disk but **remains a spare**. The idea behind this is that you replace the faulted disk, then replace the spare with the new and the spare remains a spare. |
If you want to remove the spare property, first remove then replace. | If you want to remove the spare property, first remove then replace. |