On Mon, 21 Dec 2020 at 17:46, Hugh McIntyre <[email protected]> wrote:
> Is this an issue with zpool.cache or some other saved state, and if so
> is this fixable? There have been other changes since this pool was last
> mounted so I don't think I can just use an old cache file. Are there
> other options, such as rebooting with the cache file nuked?
It might help to start by taking a look in the cache file to see
what's there. I wrote a short program that will load a cache file and
dump the contents. You can download it from:
https://illumos.org/downloads/dumpcache/dumpcache
Make it executable and point it at the cache file; e.g.,
odin # ./dumpcache /etc/zfs/zpool.cache
nvlist version: 0
zones = (embedded nvlist)
nvlist version: 0
version = 0x1388
name = zones
state = 0x0
txg = 0x10640dd
...
If you want to see the source or build it yourself, I've put those
files alongside in the same directory on the server.
Cheers.
--
Joshua M. Clulow
http://blog.sysmgr.org
------------------------------------------
illumos: illumos-discuss
Permalink:
https://illumos.topicbox.com/groups/discuss/Td78764409f7aa671-M6852de8e6735dea388969de8
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription