Bug 194528 - After fresh install, zpool.cache references disabled /dev/gptid devices, breaking zdb
Summary: After fresh install, zpool.cache references disabled /dev/gptid devices, brea...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 08:58 UTC by Marcus Reid
Modified: 2015-02-21 01:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.