Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2015 08:56:14 -0700
From:      javocado <javocado@gmail.com>
To:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Resize geli provider (md)
Message-ID:  <CAP1HOmT98FJeN5VK7RRfp%2B6ja08%2BFb-8Y0N=YVmAogi-F5YGUA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP1HOmT98FJeN5VK7RRfp%2B6ja08%2BFb-8Y0N=YVmAogi-F5YGUA>