HomeFreeBSD

Increase default udev wait time

Description

Increase default udev wait time

When creating a new pool, or adding/replacing a disk in an existing
pool, partition tables will be automatically created on the devices.
Under normal circumstances it will take less than a second for udev
to create the expected device files under /dev/. However, it has
been observed that if the system is doing heavy IO concurrently udev
may take far longer. If you also throw in some cheap dodgy hardware
it may take even longer.

To prevent zpool commands from failing due to this the default wait
time for udev is being increased to 30 seconds. This will have no
impact on normal usage, the increase timeout should only be noticed
if your udev rules are incorrectly configured.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1646

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Oct 11 2013, 9:24 PM
Parents
rGb3c49d3df824: Linux 3.11 compat: Rename LZ4 symbols
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG11cb9d773f48: Increase default udev wait time (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Oct 22 2013, 5:25 PM