Actions
Bug #5472
openzpool.cache not updated for root pools
Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2014-12-23
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
Not sure if this one due to a restriction on illumos not present in FreeBSD but we've found on a number of occasions that zpool.cache is out of date for root pools.
The reason for this is that spa_config_update doesn't call spa_config_sync if the pool is the root pool.
This causes various issues and inconsistencies when running tools which depend on the contents of zpool.cache such as zdb reporting out of date information about the pool.
I've just committed the attached patch to FreeBSD which fixes this issue, with no perceived side effects.
Files
No data to display
Actions