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

spl.spl_hostid does not set the hostid #31

Closed
Perseid opened this issue Jan 29, 2015 · 1 comment
Closed

spl.spl_hostid does not set the hostid #31

Perseid opened this issue Jan 29, 2015 · 1 comment

Comments

@Perseid
Copy link

Perseid commented Jan 29, 2015

Hi,

(at least) since the 3.18.4-1 kernel update (zfs-git 0.6.3_r170_gd958324f_3.18.4_1-1) the spl.spl_hostid kernel option does not work to set the hostid. A constant hostid is valuable for root partitions, as they cannot be properly exported during shutdown (and booting will fail if the hostid has changed since last import if the import is not forced via the zfs_force=1 kernel option).

I was under the impression that it did work on the previous kernel, as I had no problems on all boots since my Arch installation two weeks ago, but maybe the hostid is less volatile than I thought. Also the Installing Arch Linux on ZFS wiki page describes setting the kernel parameter as a valid alternative to creating a /etc/hostid file.

Best regards.

demizer added a commit that referenced this issue May 29, 2016
According to

openzfs/spl@acf0ade
openzfs/zfs#2794

the hostid handling is not needed anymore. If /etc/hostid does not
exist, then spl treats it as 0 and continues operation.

Closes #60
Closes #31
demizer added a commit that referenced this issue May 29, 2016
According to

openzfs/spl@acf0ade
openzfs/zfs#2794

the hostid handling is not needed anymore. If /etc/hostid does not
exist, then spl treats it as 0 and continues operation.

Closes #60
Closes #31
demizer added a commit that referenced this issue Jun 11, 2016
According to

openzfs/spl@acf0ade
openzfs/zfs#2794

the hostid handling is not needed anymore. If /etc/hostid does not
exist, then spl treats it as 0 and continues operation.

Closes #60
Closes #31
demizer added a commit that referenced this issue Jun 13, 2016
According to

openzfs/spl@acf0ade
openzfs/zfs#2794

the hostid handling is not needed anymore. If /etc/hostid does not
exist, then spl treats it as 0 and continues operation.

Closes #60
Closes #31
demizer added a commit that referenced this issue Jul 2, 2016
According to

openzfs/spl@acf0ade
openzfs/zfs#2794

the hostid handling is not needed anymore. If /etc/hostid does not
exist, then spl treats it as 0 and continues operation.

Closes #60
Closes #31
demizer added a commit that referenced this issue Sep 4, 2016
According to

openzfs/spl@acf0ade
openzfs/zfs#2794

the hostid handling is not needed anymore. If /etc/hostid does not
exist, then spl treats it as 0 and continues operation.

Closes #60
Closes #31
demizer added a commit that referenced this issue Sep 10, 2016
Init scripts have been refactored to improve readability. The most
important aspect of this refactor is that automated testing has been
implemented using Qemu. Eventually we will get to the point of
automatically building new archzfs packages as soon as a new kernel is
released to the arch testing repo, after that the tests will be used to
determine if the archzfs packages can be pushed out to aur and
archzfs.com.

Closes #22
Closes #31
Closes #38
Closes #48
@demizer
Copy link
Contributor

demizer commented Sep 10, 2016

archzfs no longer does anything with hostid.

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