https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244656

--- Comment #1 from Peter Eriksson <p...@lysator.liu.se> ---
Oh, after many hours it seems to have finished:

# zpool status DATA2
  pool: DATA2
 state: ONLINE
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(7) for details.
  scan: resilvered 152K in 0 days 06:07:55 with 0 errors on Sat Mar  7 19:20:01
2020
config:
..
          diskid/DISK-7PH8GJTG    AVAIL   

errors: No known data errors

(The reason it didn't have all features enabled was that I upgraded this server
from 11.3-p6 till 12.1-p2 as one of way to try to fix the problem...


# zpool list
NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH
ALTROOT
DATA2   435T   390T  44.8T        -         -    23%    89%  1.00x  ONLINE  -
DATA3   145T  75.5T  69.5T        -         -    11%    52%  1.00x  ONLINE  -
zroot   113G  35.5G  77.5G        -         -    56%    31%  1.00x  ONLINE  -


and now zfs commands don't hang any more...

Now, a wild guess is that it was busy destroying defered-destroyed snapshots. 

Since before I restarted this server we had many thousands of those "deleted"
with "zfs destroy -d FS@SNAPSHOT". Hmm.. I wonder if it would be possible to
make this more visible somehow - perhaps a "destroyed-snapshots" counter via a
sysctl or something? And/or have some way to pause the snapshot-deletion thread
(similar to "zfs scrub -p").

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to