You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
[ 0.513135] dracut Warning: ZFS: No hostid found on kernel command line or /etc/hostid.
[ 0.513205] dracut Warning: ZFS: Pools may not import correctly.
/lib/dracut-lib.sh
4
5 # Let the command line override our host id.
6 spl_hostid=$(getarg spl_hostid=)
7 if [ -n"${spl_hostid}" ] ;then
8 info "ZFS: Using hostid from command line: ${spl_hostid}"
9 zgenhostid -f "${spl_hostid}"
10 elif [ -f"/etc/hostid" ] ;then
11 info "ZFS: Using hostid from /etc/hostid: $(hostid)"
12 else
13 warn "ZFS: No hostid found on kernel command line or /etc/hostid."
14 warn "ZFS: Pools may not import correctly."
15 fi
I would imagine /etc/hostid which does exist wouldn't be available before pools are imported so it would have to be provided by the kerenl command line I think?
The text was updated successfully, but these errors were encountered:
So /boot/efi/ is the fat EFI partition. in /boot/efi/EFI/void is the initial initramfs, which according to lsinitrd doesn't contain /etc/hostid which is why this message shows up.
[ 0.513135] dracut Warning: ZFS: No hostid found on kernel command line or /etc/hostid.
[ 0.513205] dracut Warning: ZFS: Pools may not import correctly.
Looking at https://fossies.org/linux/zfs/contrib/dracut/90zfs/parse-zfs.sh.in
It looks like it does something like this
I would imagine /etc/hostid which does exist wouldn't be available before pools are imported so it would have to be provided by the kerenl command line I think?
The text was updated successfully, but these errors were encountered: