]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement automatic online expansion of GELI providers - if the underlying
authorpjd <pjd@FreeBSD.org>
Wed, 3 Apr 2019 23:57:37 +0000 (23:57 +0000)
committerpjd <pjd@FreeBSD.org>
Wed, 3 Apr 2019 23:57:37 +0000 (23:57 +0000)
commitc118ff293a7615ba0fd62f5ab0a12a054eb56b01
tree0f0a851e23d31d69bed71bead96b591edd22c7fb
parent60f9cddb6ae8719132567696611282f2c736ddb5
Implement automatic online expansion of GELI providers - if the underlying
provider grows, GELI will expand automatically and will move the metadata
to the new location of the last sector.

This functionality is turned on by default. It can be turned off with the
-R flag, but it is not recommended - if the underlying provider grows and
automatic expansion is turned off, it won't be possible to attach this
provider again, as the metadata is no longer located in the last sector.

If the automatic expansion is turned off and the underlying provider grows,
GELI will only log a message with the previous size of the provider, so
recovery can be easier.

Obtained from: Fudo Security
lib/geom/eli/geli.8
lib/geom/eli/geom_eli.c
sys/geom/eli/g_eli.c
sys/geom/eli/g_eli.h
sys/geom/eli/g_eli_ctl.c
sys/geom/eli/g_eli_key_cache.c