Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 16:14:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 255261] Slow unmount of (ZFS) filesystem at reboot time
Message-ID:  <bug-255261-3630-TfZyhLppkc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255261-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255261-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255261

--- Comment #1 from Peter Eriksson <pen@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  HEALT=
H=20
ALTROOT
DATA      582T   272T   310T        -         -     7%    46%  1.00x  ONLIN=
E  -
FILUR00  65.5T   107G  65.4T        -         -     0%     0%  1.00x  ONLIN=
E  -
FILUR02   196T  72.6T   124T        -         -    11%    36%  1.00x  ONLIN=
E  -
FILUR03   196T  78.2T   118T        -         -    11%    39%  1.00x  ONLIN=
E  -
RUNUR01  65.5T  11.8M  65.5T        -         -     0%     0%  1.00x  ONLIN=
E  -
SUSPECT  9.06T  2.79M  9.06T        -         -     0%     0%  1.00x  ONLIN=
E  -
UNUSED    196T  5.38M   196T        -         -     0%     0%  1.00x  ONLIN=
E  -
zroot     444G  9.03G   435G        -         -    21%     2%  1.00x  ONLIN=
E  -

At the reboot time when it was really slow it unmounted around 6-10 filesys=
tems
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 :-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255261-3630-TfZyhLppkc>