]> git.proxmox.com Git - mirror_zfs-debian.git/commit
Add a configurable sleep timer to pre_mountroot.
authorDarik Horn <dajhorn@vanadac.com>
Tue, 15 Jan 2013 02:14:53 +0000 (20:14 -0600)
committerDarik Horn <dajhorn@vanadac.com>
Tue, 15 Jan 2013 02:29:33 +0000 (20:29 -0600)
commita809ec306111bdbeb2b9b0f6dfc617343eba543e
tree4e44d21e20f8870a49c7b9ccabca4c32e0787031
parentac109ee17a89b497ec6cbc048c6edb8b5d9ffc1b
Add a configurable sleep timer to pre_mountroot.

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
debian/tree/zfs-initramfs/usr/share/initramfs-tools/scripts/zfs
debian/zfsutils.zfs.default