Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
root@compton:~# zpool replace raid1tb /dev/disk/by-id/ata-ST1000DM003-1CH162_S1DC4Z31-part1 /dev/sdc -f
root@compton:~# zpool status
pool: raid1tb
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Sat Mar 11 15:06:37 2017
11.2M scanned out of 570G at 1.12M/s, 145h13m to go
11.2M resilvered, 0.00% done
config:
NAME STATE READ WRITE CKSUM
raid1tb DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
ata-ST1000DM003-1CH162_S1DC4YR7 ONLINE 0 0 0
replacing-1 UNAVAIL 0 0 0
16718265551661695588 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-ST1000DM003-1CH162_S1DC4Z31-part1
sdc ONLINE 0 0 0 (resilvering)
errors: No known data errors
root@compton:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment