yes, I met the same issues everytime I start computer

sudo systemctl restart zfs-import-cache.service
above command to check the service status
use below command to import zfs pool and it should be make zfs pool work.

sudo zpool import <ZFS pool name>

On Sun, 28 Oct 2018 at 14:44, eohrnberger via openzfs-developer <
[email protected]> wrote:

> 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 <https://openzfs.topicbox.com/latest>* / openzfs-developer / see
> discussions <https://openzfs.topicbox.com/groups/developer> + participants
> <https://openzfs.topicbox.com/groups/developer/members> + delivery options
> <https://openzfs.topicbox.com/groups/developer/subscription> Permalink
> <https://openzfs.topicbox.com/groups/developer/Tb21f7ae74f9f2635-M23eca30644f62d2788ca011b>
>

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Tb21f7ae74f9f2635-M81c30871b4e460a247f5a247
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to