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

Add the setting: Wait X seconds for all drives to be displayed before importing the pool. #25

Open
6ax opened this issue May 7, 2018 · 1 comment

Comments

@6ax
Copy link

6ax commented May 7, 2018

https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS

At the bottom of the page see section: MPT2SAS

Most LSI cards are perfectly compatible with ZoL. If your card has this glitch, try setting ZFS_INITRD_PRE_MOUNTROOT_SLEEP=X in /etc/default/zfs. The system will wait X seconds for all drives to appear before importing the pool.

Same from archzfs:
mkinitcpio -H zfs

To change the seconds of time to wait for ZFS devices to show up at boot:

    zfs_wait=30

Tnx.

@dasJ
Copy link
Owner

dasJ commented May 25, 2018

But shouldn't that be fixed by the udev settle which happens before the pool import?

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