Date: Tue, 27 Oct 2020 14:02:44 +0000 From: Steve O'Hara-Smith <steve@sohara.org> To: xpetrl <xpetrl@beepc.ch> Cc: freebsd-questions@freebsd.org Subject: Re: move zfs geli encrypt mirror to unencrypted Message-ID: <20201027140244.e16da5e379dc4001c5810c51@sohara.org> In-Reply-To: <f149d8b0-b2c2-f1ac-110e-f9fd0eb1070f@beepc.ch> References: <66e2f2da-af22-766a-cc7a-78c29735e39f@beepc.ch> <20200916153611.abaaa06edad1738c9c4c381e@sohara.org> <f149d8b0-b2c2-f1ac-110e-f9fd0eb1070f@beepc.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Oct 2020 14:44:50 +0100 xpetrl <xpetrl@beepc.ch> wrote: > > xpetrl <xpetrl@beepc.ch> wrote: > > > >> Hello, > >> > >> We have a server with 4 disks, 2 zpool are zfs mirror: > >> > >> - base system unencrypted, partitions (da*p2) > >> - data storage, geli encrypted, partitions (da*p4) > >> > >> We now want to "move" the data storage (encrypt) to unencrypted > >> partition. > > > > Do you still want the encrypted partitions ? If not the simplest > > thing to do would be to detach the encrypted devices (daNp4.eli) one at > > a time and attach the unencrypted device (daNp4) in its place, wait for > > the resilver and repeat for the other devices in the zvol. > > > > Detached one drive daNp4.eli, then I didn't found how to attach daNp4: > > zpool attach encrypt 3680521480316264201 /dev/da3p4 I presume encrypt is the pool name, but what is 3680521480316264201 ? If you post the output of zpool status I'll be able to work out the right command line to use. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201027140244.e16da5e379dc4001c5810c51>
