Skip to content

Conversation

@akaramimotlagh
Copy link
Contributor

we need to generate hostid before creating initramfs image, otherwise, you may receive the following warning when importing your pool as root:

$ sudo 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
	  sda3      ONLINE       0     0     0

errors: No known data errors

we need to generate hostid before creating initramfs image, otherwise, you may receive the following warning when importing your pool as root:
```
$ sudo 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
	  sda3      ONLINE       0     0     0

errors: No known data errors
```
Copy link
Member

@gmelikov gmelikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, looks reasonable!

@gmelikov gmelikov merged commit 015070a into openzfs:master Oct 7, 2025
1 of 2 checks passed
wommy pushed a commit to wommy/openzfs-docs that referenced this pull request Nov 11, 2025
we need to generate hostid before creating initramfs image, otherwise, you may receive the following warning when importing your pool as root:
```
$ sudo 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
	  sda3      ONLINE       0     0     0

errors: No known data errors
```
wommy pushed a commit to wommy/openzfs-docs that referenced this pull request Nov 11, 2025
we need to generate hostid before creating initramfs image, otherwise, you may receive the following warning when importing your pool as root:
```
$ sudo 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
	  sda3      ONLINE       0     0     0

errors: No known data errors
```
wommy pushed a commit to wommy/openzfs-docs that referenced this pull request Nov 11, 2025
we need to generate hostid before creating initramfs image, otherwise, you may receive the following warning when importing your pool as root:
```
$ sudo 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
	  sda3      ONLINE       0     0     0

errors: No known data errors
```
wommy pushed a commit to wommy/openzfs-docs that referenced this pull request Nov 11, 2025
we need to generate hostid before creating initramfs image, otherwise, you may receive the following warning when importing your pool as root:
```
$ sudo 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
	  sda3      ONLINE       0     0     0

errors: No known data errors
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants