Bug 194528

Summary: After fresh install, zpool.cache references disabled /dev/gptid devices, breaking zdb
Product: Base System Reporter: Marcus Reid <marcus>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Some People    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Marcus Reid 2014-10-22 08:58:22 UTC
Since kern.geom.label.disk_ident.enable and kern.geom.label.gptid.enable are disabled on the system after the zpool is created, zpool.cache references non-existent devices.  This breaks (at least) zdb.  It can be fixed by running 'zpool reguid zroot' but the problem is not easy to track down when you first encounter it.
Comment 1 Marcus Reid 2015-02-21 01:46:53 UTC
This was fixed when a change was made for the zroot zpool.cache to be updated under conditions that it did not before.