[OpenIndiana-discuss] ZFS help
Jeff Woolsey
jlw at jlw.com
Sat Mar 11 22:25:23 UTC 2017
# uname -a
SunOS bombast 5.11 illumos-2816291 i86pc i386 i86pc
# cat /etc/release
OpenIndiana Hipster 2016.10 (powered by illumos)
OpenIndiana Project, part of The Illumos Foundation (C) 2010-2016
Use is subject to license terms.
Assembled 30 October 2016
# # zpool status cloaking
pool: cloaking
state: ONLINE
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 11:42:37 2017
8.25M scanned out of 358G at 962/s, (scan is slow, no estimated time)
5.31M resilvered, 0.00% done
config:
NAME STATE READ WRITE CKSUM
cloaking ONLINE 97 0 0
mirror-0 ONLINE 582 0 0
c5d0s6 ONLINE 0 0 582 (resilvering)
8647373200783277078 UNAVAIL 0 0 0 was /dev/dsk/c5d0s3
errors: 120 data errors, use '-v' for a list
# zpool reopen cloaking
cannot reopen 'cloaking': pool I/O is currently suspended
# zpool detach cloaking /dev/dsk/c5d0s3
cannot detach /dev/dsk/c5d0s3: pool I/O is currently suspended
# zpool detach cloaking 8647373200783277078
cannot detach 8647373200783277078: pool I/O is currently suspended
# zpool detach cloaking randomtrash
cannot detach randomtrash: no such device in pool
#
How can I get rid of the UNAVAIL disk slice so that this pool doesn't
try to resilver (From what, pray tell?) all the time. I don't know
where that ugly number came from--this system only has SATA disks. I
have a new mirror slice just waiting for it as soon as it stops doing
this. zpool clear just hangs. Meanwhile, despite its assertions of
ONLINE,
# zfs list -r cloaking
cannot open 'cloaking': pool I/O is currently suspended
# zpool remove cloaking 8647373200783277078
cannot remove 8647373200783277078: only inactive hot spares, cache, top-level, or log devices can be removed
# zpool offline cloaking 8647373200783277078
cannot offline 8647373200783277078: pool I/O is currently suspended
#
I'm of the opinion that the data is mostly intact (unless zpool has been
tricked into resilvering a data disk from a blank one (horrors)).
# zpool export cloaking
hangs.
--
Jeff Woolsey {{woolsey,jlw}@jlw,first.last@{gmail,jlw}}.com
Nature abhors straight antennas, clean lenses, and empty storage.
"Delete! Delete! OK!" -Dr. Bronner on disk space management
Card-sorting, Joel. -Crow on solitaire
More information about the openindiana-discuss
mailing list