Problems moving existing pool to encrypted devices

Dag-Erling Smørgrav des at des.no
Thu Aug 30 00:48:40 PDT 2007


Craig Boston <cb at severious.net> writes:
> Dag-Erling Smørgrav <des at des.no> writes:
> > # zpool offline pool01 /dev/ad2
> > # geli init [...] /dev/ad2
> > # zpool replace pool01 /dev/ad2 /dev/ad2.eli
> This actually may not work either, because the encrypted device is 1
> sector smaller than the original...

Ah, you're right.  There is no other option than to either replace all
disks, one by one, with larger ones, or to dump the data, rebuild the
array from scratch and restore the data.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list