[Bug 255261] Slow unmount of (ZFS) filesystem at reboot time

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 20 16:14:27 UTC 2021


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

--- Comment #1 from Peter Eriksson <pen at lysator.liu.se> ---
I probably should have mentioned some more details:

FreeBSD 12.2-RELEASE-p6
149354 ZFS filesystems

# zpool list
NAME      SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH 
ALTROOT
DATA      582T   272T   310T        -         -     7%    46%  1.00x  ONLINE  -
FILUR00  65.5T   107G  65.4T        -         -     0%     0%  1.00x  ONLINE  -
FILUR02   196T  72.6T   124T        -         -    11%    36%  1.00x  ONLINE  -
FILUR03   196T  78.2T   118T        -         -    11%    39%  1.00x  ONLINE  -
RUNUR01  65.5T  11.8M  65.5T        -         -     0%     0%  1.00x  ONLINE  -
SUSPECT  9.06T  2.79M  9.06T        -         -     0%     0%  1.00x  ONLINE  -
UNUSED    196T  5.38M   196T        -         -     0%     0%  1.00x  ONLINE  -
zroot     444G  9.03G   435G        -         -    21%     2%  1.00x  ONLINE  -

At the reboot time when it was really slow it unmounted around 6-10 filesystems
per second -> estimated reboot time around 4-5 hours... (Needless to say I
hard-rebooted it with an "ipmitool power reset" after an hour :-)

(It hasn't been this slow before, but we don't reboot these servers very
often).

Anyway, a more verbose vfs_unmount() would be a good thing even with a more
sane amount of filesystems - in my opinion.

(And preferably a faster zfs unmount operation :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list