Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/hostid diskless issue #398

Closed
behlendorf opened this issue Sep 14, 2011 · 1 comment
Closed

/etc/hostid diskless issue #398

behlendorf opened this issue Sep 14, 2011 · 1 comment
Milestone

Comments

@behlendorf
Copy link
Contributor

By default installing an /etc/hostid file in the post install script has proven to be a problem for diskless systems which share a common image. This results in all the diskless nodes for a cluster having the same hostid which causes failures with MPI applications. To fix this I suggest that we not automatically create an /etc/hostid on the system itself, Instead extend the dracut module-setup.sh script to dynamically create an /etc/hostid only for the initramfs which matches the default hostid for the system. This should still allow diskless booting and avoid breakage in diskless environments.

@aarcane
Copy link

aarcane commented Sep 29, 2011

1 question:

  1. how to diskless boot on ZFS?
    1 suggestion:
  2. What about a mac->hostid lookup file in the base image. look up the mac of our eth interfaces, get out the first corresponding hostid we find. Smart admins know to only add one MAC per machine

sdimitro pushed a commit to sdimitro/zfs that referenced this issue May 23, 2022
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

No branches or pull requests

2 participants