[Bug 241083] zfs: zpool import seems to probe all snapshots

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 5 16:53:06 UTC 2019


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

Alan Somers <asomers at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asomers at FreeBSD.org

--- Comment #1 from Alan Somers <asomers at FreeBSD.org> ---
Here are a few suggestions:

1) Did you set the cachefile property on the second pool to "none"?  If so,
that's the main reason why import is taking so long, because ZFS needs to probe
every geom provider.  If you set the cachefile property to default then your
pool will be imported at boot time, but the import will happen quickly.

2) What is the setting of vfs.zfs.vol.recursive?  If it's non-zero, that might
be contributing to your problem.

3) Are you exposing the zvols as GEOM providers or simple block devices?  I
think setting vfs.zfs.vol.mode to 2 or 3 should help you.  (1=geom, 2=dev,
3=none).  Of course, ctld won't work if you set it to 3.

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


More information about the freebsd-fs mailing list