Comment regler – zfs-import-cache.service fails on startup
J’ai mis a jour ZFS on Linux a version 0.6.3 sur mon serveur CentOS 7.
Après redémarrage mon « pool » n’était plus disponible.
Dan les logs javais:
Oct 24 10:26:33 hs kernel: SPL: using hostid 0x00000000 Oct 24 10:26:34 hs zpool: cannot import 'tank': pool may be in use from other system Oct 24 10:26:34 hs zpool: use '-f' to import anyway Oct 24 10:26:34 hs systemd: zfs-import-cache.service: main process exited, code=exited, status=1/FAILURE Oct 24 10:26:34 hs systemd: Failed to start Import ZFS pools by cache file. Oct 24 10:26:34 hs systemd: Unit zfs-import-cache.service entered failed state.
Un recherche sur Internet a montrer que il y a des autres avec même problème.
Source originale: https://github.com/zfsonlinux/zfs/issues/2575.
Pour régler mon problème j’ai du généré un hostid:
dd if=/dev/urandom of=/etc/hostid bs=4 count=1
Laisser un commentaire
Vous devez vous connecter pour publier un commentaire.