Skip to content

Instantly share code, notes, and snippets.

@psy0rz
Created May 28, 2015 23:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psy0rz/8c045fc6501ef938526f to your computer and use it in GitHub Desktop.
Save psy0rz/8c045fc6501ef938526f to your computer and use it in GitHub Desktop.
psy@fs1:~# zpool scrub -s fs1
psy@fs1:~# zpool status fs1
pool: fs1
state: DEGRADED
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(5) for details.
scan: scrub canceled on Fri May 29 01:06:56 2015
config:
NAME STATE READ WRITE CKSUM
fs1 DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
c5t2d0 ONLINE 0 0 0
c5t1d0 ONLINE 0 0 0
c5t0d0 ONLINE 0 0 0
c5t5d0 ONLINE 0 0 0
c5t3d0 ONLINE 0 0 0
replacing-5 DEGRADED 0 0 0
c5t4d0/old ONLINE 0 0 0
c5t4d0 FAULTED 0 0 0 corrupted data
errors: No known data errors
psy@fs1:~# zpool online fs1 c5t4d0
warning: device 'c5t4d0' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present
psy@fs1:~# zpool status fs1
pool: fs1
state: DEGRADED
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(5) for details.
scan: scrub in progress since Fri May 29 01:07:21 2015
62.8M scanned out of 13.0T at 6.28M/s, 602h1m to go
0 repaired, 0.00% done
config:
NAME STATE READ WRITE CKSUM
fs1 DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
c5t2d0 ONLINE 0 0 0
c5t1d0 ONLINE 0 0 0
c5t0d0 ONLINE 0 0 0
c5t5d0 ONLINE 0 0 0
c5t3d0 ONLINE 0 0 0
replacing-5 DEGRADED 0 0 0
c5t4d0/old ONLINE 0 0 0
c5t4d0 FAULTED 0 0 0 corrupted data
errors: No known data errors
psy@fs1:~# zpool offline fs1 c5t4d0
psy@fs1:~# zpool status fs1
pool: fs1
state: DEGRADED
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(5) for details.
scan: scrub in progress since Fri May 29 01:07:21 2015
126M scanned out of 13.0T at 5.74M/s, 658h42m to go
0 repaired, 0.00% done
config:
NAME STATE READ WRITE CKSUM
fs1 DEGRADED 0 0 0
raidz2-0 DEGRADED 0 0 0
c5t2d0 ONLINE 0 0 0
c5t1d0 ONLINE 0 0 0
c5t0d0 ONLINE 0 0 0
c5t5d0 ONLINE 0 0 0
c5t3d0 ONLINE 0 0 0
replacing-5 DEGRADED 0 0 0
c5t4d0/old ONLINE 0 0 0
c5t4d0 OFFLINE 0 0 0
errors: No known data errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment