|Summary:||Openzfs 2.0 integration issue - zdb can't find zpool.cache|
|Product:||Base System||Reporter:||Jeremy Faulkner <gldisater>|
|Component:||kern||Assignee:||freebsd-bugs (Nobody) <bugs>|
|Severity:||Affects Only Me||CC:||emaste, freqlabs, lwhsu, markj, mmacy|
Description Jeremy Faulkner 2020-08-13 14:45:53 UTC
On FreeBSD zpool.cache defaults to /boot/zfs/zpool.cache but openzfs 2.0 looks in /etc/zfs/zpool.cache
Comment 1 Matt Macy 2020-08-13 23:23:17 UTC
I've updated ZPOOL_CACHE for FreeBSD. Presumably this doesn't cause other problems.
Comment 2 Andriy Gapon 2020-08-14 07:37:42 UTC
I believe that /etc/zfs is better location for a variety of reasons. I think that we should support /boot/zfs as a fallback during the migration, but we should write new zpool.cache to /etc/zfs and eventually completely migrate to that location.
Comment 3 Ryan Moeller 2020-08-14 20:04:48 UTC
(In reply to Andriy Gapon from comment #2) That's my preference as well. We'll try that out.