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
This is a feature request for mpt2sas users that see drives coming online only several seconds after the driver loaded:
Since I'm using ZFS as root file system, I had to change /usr/share/initramfs/scripts/zfs to include a sleep statement before wait_for_udev. However, since that file is not marked as a configuration file, changes are overwritten when upgrading the package.
Looking at the issues, it seems that there are several places where sleep statements can be used / should be used.
Would it be possible to factor the delay out into a configuration file that resides in /etc? Then all scripts could include a "sleep $ZFS_DRIVE_DELAY" line and the delays would survive upgrading the packages.
The text was updated successfully, but these errors were encountered:
Add a new `/etc/default/zfs` option:
* `ZFS_INITRD_PRE_MOUNTROOT_SLEEP`, which wastes an arbitrary amount
of time in the initrd environment before wait_for_udev is called.
This option is primarily a kludge for bad mpt2sas hardware that can go dumb
during system initialization. Thirty seconds should be enough for most
affected computers, but five minutes might be required in the worst case.
Closes: dajhorn/pkg-zfs#71
This is a feature request for mpt2sas users that see drives coming online only several seconds after the driver loaded:
Since I'm using ZFS as root file system, I had to change /usr/share/initramfs/scripts/zfs to include a sleep statement before wait_for_udev. However, since that file is not marked as a configuration file, changes are overwritten when upgrading the package.
Looking at the issues, it seems that there are several places where sleep statements can be used / should be used.
Would it be possible to factor the delay out into a configuration file that resides in /etc? Then all scripts could include a "sleep $ZFS_DRIVE_DELAY" line and the delays would survive upgrading the packages.
The text was updated successfully, but these errors were encountered: