[zfs-discuss] Failed to Import Pool via Cache File
Gregor Kopka (@zfs-discuss)
zfs-discuss at kopka.net
Mon Dec 18 12:26:32 EST 2017
Most likely the zpool.cache in your initramfs contains pools that are
only available after the system had come up fully (like being on
additional crypted containers).
Solution is to bring the system into a state that it only has the
pool(s) that are available while booting it (so only these are accounted
in /etc/zpool.cache), then update the initramfs with the
/etc/zpool.cache from the running system.
Am 18.12.2017 um 15:17 schrieb Dominic Robinson via zfs-discuss:
> So I’ve started seeing a message appear in the journal recently,
> saying something along the lines of failed to import pool via cache file.
> This error doesn’t actually appear to prevent the pool(s) importing on
> boot though, it has been synonymous with a massively increased boot time.
> I’ve tried the usual candidates:
> - Deleting the cache file and rebuilding it with an export/import.
> - Regenerating the initramfs
> Haven’t managed to solve the issue.
> Could anyone advise?
> For reference - this is a CentOS 7.4 install on a zfs root, on top of
> a dm-crypt container. I also have an additional storage pool, that is
> again made up of disks using do-crypt containers.
> Sent from my iPhone
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zfs-discuss