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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 5 18:12:09 UTC 2019


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

--- Comment #2 from Martin Birgmeier <d8zNeCFG at aon.at> ---
The settings are ("hal.5" is the second pool):

[0]# zpool get cachefile hal.5
NAME   PROPERTY   VALUE      SOURCE
hal.5  cachefile  -          default
[0]# 

But I guess since I usually have it exported when unused any traces of it are
cleared from the cache, leading to a re-scan of all devices on the next import?

[0]# sysctl vfs.zfs.vol.recursive
vfs.zfs.vol.recursive: 0
[0]# 

[0]# sysctl vfs.zfs.vol.mode
vfs.zfs.vol.mode: 1
[0]# 

I did not know about this setting at all. Where can I read about it? 3 won't
work since I am exporting most of them as iSCSI block devices via ctld. Do you
think setting it to 2 would stop scanning them during zpool import? If it is
"dev" as you say, and the import looks at all devs, this would not help I
assume?

Thanks for assisting with this.

-- Martin

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


More information about the freebsd-fs mailing list