[Bug 229829] [zfs] scrubbing prevents shutdown and slows down startup

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 19 11:10:07 UTC 2018


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

--- Comment #2 from Martin Birgmeier <d8zNeCFG at aon.at> ---
Scenarios, continued:
- server up, scrub of pool is continuing
- gstat is running
- 2 VirtualBox VMs are running
- another VirtualBox VM is accessing a zvol via iSCSI (ctl)

Result:
- The machine freezes: not immediately, but process after process gets stuck

Scenario continued:
- After 30 minutes watching this, perform hard reset
- Start single user
- "fsck -p" -> cleans UFS root fs
- issue "zpool export pool" in order to start multiuser without the pool being
imported

Result:
- The scrubbing starts again immediately, no command prompt

Scenario continued:
- Issue "ifconfig <interface> inet <hostname>" into console buffer
- Issue "ifconfig <interface> inet6 <hostname>" into console buffer
- On another machine, wait until ping succeeds

Result:
- First ping after ca. 20 minutes (see previous scenarios)
- Console shows that 20G gmirror for swap has been rebuilt
- pool is exported

I am running with https://reviews.freebsd.org/D7538 applied because otherwise
the system was slowly filling all swap space and swapping continuously, even
with no activity.

Something is very wrong in FreeBSD 11.2 with ZFS, swapping, and memory
management. I did not have these problems with 11.1.

-- Martin

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


More information about the freebsd-fs mailing list