Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Oct 2019 16:53:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 241083] zfs: zpool import seems to probe all snapshots
Message-ID:  <bug-241083-3630-p4SXmaHPcp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241083-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241083-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=241083

Alan Somers <asomers@FreeBSD.org> changed:

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

--- Comment #1 from Alan Somers <asomers@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.


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