Project

General

Profile

Actions

Bug #5472

open

zpool.cache not updated for root pools

Added by Steven Hartland over 8 years ago.

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

zfs-zpool-cache.patch (598 Bytes) zfs-zpool-cache.patch Steven Hartland, 2014-12-23 09:57 AM

No data to display

Actions

Also available in: Atom PDF