ZFS - Mismatch between pool hostid and system hostid on imported pool.

tony blue

Well-Known Member
Dec 26, 2017
83
2
48
52
Hello,

a zpool status always gives the following error:

zpool status
pool: rpool
state: ONLINE
status: Mismatch between pool hostid and system hostid on imported pool.
This pool was previously imported into a system with a different hostid,
and then was verbatim imported into this system.
action: Export this pool on all systems on which it is imported.
Then import it to correct the mismatch.

see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
nvme-eui.0000000623080456caf25b038a000956-part3 ONLINE 0 0 0
nvme-eui.0000000623080456caf25b038a00063f-part3 ONLINE 0 0 0
nvme-eui.0000000623080456caf25b039a000724-part3 ONLINE 0 0 0

errors: No known data errors

Unfortunately, I cannot carry out the solution described in the issue of exporting the zpool from all other systems in which it was once imported because these systems no longer exist. Unfortunately, the solution with "zpool import rpool -f" doesn't work either, because the rpool contains my Proxmox system and is loaded automatically when I boot.

Also the solution of https://forum.proxmox.com/threads/s...m-hostid-on-imported-pool.122735/#post-533604

root@pve-tempo:~# zpool set multihost=on rpool
root@pve-tempo:~# zpool set multihost=off rpool

only means that the error message is not currently displayed. But after a reboot it will be displayed again.



How do I get this error message solved permanently?


Thank you


Tony

P. S. Please excuse my bad english - but I am not a native speaker.
 
Hello,

a zpool status always gives the following error:

zpool status
pool: rpool
state: ONLINE
status: Mismatch between pool hostid and system hostid on imported pool.
This pool was previously imported into a system with a different hostid,
and then was verbatim imported into this system.
action: Export this pool on all systems on which it is imported.
Then import it to correct the mismatch.

see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
nvme-eui.0000000623080456caf25b038a000956-part3 ONLINE 0 0 0
nvme-eui.0000000623080456caf25b038a00063f-part3 ONLINE 0 0 0
nvme-eui.0000000623080456caf25b039a000724-part3 ONLINE 0 0 0

errors: No known data errors

Unfortunately, I cannot carry out the solution described in the issue of exporting the zpool from all other systems in which it was once imported because these systems no longer exist. Unfortunately, the solution with "zpool import rpool -f" doesn't work either, because the rpool contains my Proxmox system and is loaded automatically when I boot.

Also the solution of https://forum.proxmox.com/threads/s...m-hostid-on-imported-pool.122735/#post-533604

root@pve-tempo:~# zpool set multihost=on rpool
root@pve-tempo:~# zpool set multihost=off rpool

only means that the error message is not currently displayed. But after a reboot it will be displayed again.



How do I get this error message solved permanently?


Thank you


Tony

P. S. Please excuse my bad english - but I am not a native speaker.

Try this to make it persistent:

Code:
rm /etc/hostid
zgenhostid
zpool set multihost=on rpool
zpool set multihost=off rpool
zpool status rpool
 
  • Like
Reactions: macpip and takeokun
Try this to make it persistent:

Code:
[CODE]rm /etc/hostid
zgenhostid
zpool set multihost=on rpool
zpool set multihost=off rpool
zpool status rpool[/CODE]
Thank you: SOLVED
(No need to
rm /etc/hostid
zgenhostid )