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

tony blue

Well-Known Member
Dec 26, 2017
81
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!