[RFC] geli - Allow attaching multiple providers

Ben Woods woodsb02 at gmail.com
Sun May 28 05:38:09 UTC 2017


Hi everyone,

I would like to propose a patch to geli to allow multiple providers to be
attached in a single command if they use the same passphrase/keyfiles.

This is helpful when the providers being attached are not used for boot,
and therefore the existing code to first try the cached password when
tasting the providers during boot does not apply.

Multiple providers with the same passphrase and keyfiles can be attached at
the same time during system start-up by adding the following to
/etc/rc.conf:

geli_groups="storage backup"
geli_storage_flags="-k /etc/geli/storage.keys"
geli_storage_devices="ada0 ada1"
geli_backup_flags="-j /etc/geli/backup.passfile -k /etc/geli/backup.keys"
geli_backup_devices="ada2 ada3"

The patch is up for review on phabricator here:
https://reviews.freebsd.org/D9396

Regards,
Ben

--
From: Benjamin Woods
woodsb02 at gmail.com


More information about the freebsd-geom mailing list