Hi,
I'm heavily using geli to encrypt many disks in advanced ZFS setups. As a hardware change could also change the device numbers I always use labels to identify disks or partitions.
At boot geli tastes the devices (e.g. da0p3) before any label (e.g. gpt/os-0-zroot). If a system has 20 or more disks it is very painful to startup the machine because you have to press many times (e.g. 20x3=60) "enter" to skip the wrong passphrase questions.
Simple example with only 2 disks:
Enter passphrase for da0p3: GEOM_ELI: Wrong key for da0p3. Tries left: 2. Enter passphrase for da0p3: GEOM_ELI: Wrong key for da0p3. Tries left: 1. Enter passphrase for da0p3: GEOM_ELI: Wrong key for da0p3. No tries left. Enter passphrase for da1p3: GEOM_ELI: Wrong key for da1p3. Tries left: 2. Enter passphrase for da1p3: GEOM_ELI: Wrong key for da1p3. Tries left: 1. Enter passphrase for da1p3: GEOM_ELI: Wrong key for da1p3. No tries left. Enter passphrase for gpt/os-0-zroot:
With the patch it is possible to tell geli which providers should be tasted and nothing has to be skipped manually.
Result at boot:
Enter passphrase for gpt/os-0-zroot:
I use this patch on more than 40 boxes since the release of FreeBSD 10.0. However I do not use every label type which is supported by the patch.
Regards,
Pascal