Resize geli provider (md)

javocado javocado at gmail.com
Sun Apr 19 15:56:17 UTC 2015


I have a md-backed geli mount which I created as follows:

dd if=/dev/zero of=geli.img bs=1m count=102400
mdconfig -f geli.img -u 123
geli init /dev/md123 (blank pass)
geli attach /dev/md123
newfs /dev/md123.eli
mkdir encrypted
mount /dev/md123.eli encrypted

And I wish to expand it's size. The method I've been using is to create new
larger device and copy data over, but I'm hoping there's a better way to
expand in place (without the loss of the existing data). Any advice?

Thanks!


More information about the freebsd-fs mailing list