Hi all.  New to the list, first submission.

I've been using zfs on linux for a number of years now, and have been very much 
satisfied as to the performance and reliability.

Earlier today we had a power outage, and the Linux PC (come poor man's NAS) 
went down hard.

When the power came back up, it booted OK, but when the zfs import ran as part 
of the start up scripts, it came back with:

"invalid or corrupt cache file contents: invalid or missing cache file"

and both zpools on that host were not able to be imported.

executing a 'zpool import -m <poolname>" did the trick, and all the data is 
safe, thank goodness.  But even after shutting down cleanly and rebooting, the 
same error persists.

Hmm.

I performed the following:
zpool set cachefile=none <zpool>
mv /etc/zfs/zfs.cache /etc/zfs/zfs.cache.bad
zpool set cachefile=/etc/zfs/zpool.cache <zpool>
reboot

Also, in the system message log you can see:
zed: zfs_unavail_pool: examining '<zpool>' (state 7)

But that didn't seem to clear the error either.  Are there any other things 
that I should try to eliminate this error?

I've Googled around quite a bit, but haven't found anything that appears to 
work to correct this issue. 

Hint, pointers and references greatly appreciated.  Thanks in advance.
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Tb21f7ae74f9f2635-M23eca30644f62d2788ca011b
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to