Hello. I'm going to be converting my current setup to ZFS in the very near future. Is it possible to use LUKS in conjunction with ZFS? I'm currently running 3 drives in spanning mode, so I'm going to add an additional 5 drives and set those five up with ZFS Raid-Z2. Then I'll migrate my data with rsync or something and once that process completes, wipe the 3 drives running in spanning and add them to the ZFS pool. Will this work? I'll be using (8) 8TB drives in total for this setup.
ZFS + LUKS
-
- OMV 3.x
- elastic
-
-
Technically it will work since zfs can use a block device that LUKS creates. Not sure about boot issues due to timing since LUKS won't be unlocked at boot. Try it in a VM.
-
There may be another possibility. I understand that ZFS now has native encryption but I have not tried it myself.
-
I understand that ZFS now has native encryption but I have not tried it myself.
I don't think the Debian packages have that compiled in since it is still experimental. Someone correct me if I am wrong.
-
The pr has been merged but distros haven’t pushed packages at least not Debian. You can try an build your own zfs packages. The plugin of course doesn’t have support for decrypting this.
https://github.com/zfsonlinux/zfs/pull/5769
Takes a while to load the page is a big thread.
-
Hello. I'm going to be converting my current setup to ZFS in the very near future. Is it possible to use LUKS in conjunction with ZFS? I'm currently running 3 drives in spanning mode, so I'm going to add an additional 5 drives and set those five up with ZFS Raid-Z2. Then I'll migrate my data with rsync or something and once that process completes, wipe the 3 drives running in spanning and add them to the ZFS pool. Will this work? I'll be using (8) 8TB drives in total for this setup.
You cannot add some disks to a previous created pool. ZFS RAIDZ2 is not like RAID5. You can make a first RAIZ2 pool with your 5 disks, and later another pool (RAIDZ1 or RAIDZ2) with the 3 other disks. After, I think you could merge those two pool togeter, but with the lost of some disks compare to a 8 disks pool.
If you want an 8 disks pool, you have to create it at once. From ZFS dev submit last year, this should be added in the next 2 years.So I think you have to do it like I'm dong it at the moment. Extract all your datas to external disks, create your ZFS pool, and copy back the datas. Long way home...
-
You cannot add some disks to a previous created pool. ZFS RAIDZ2 is not like RAID5. You can make a first RAIZ2 pool with your 5 disks, and later another pool (RAIDZ1 or RAIDZ2) with the 3 other disks. After, I think you could merge those two pool togeter, but with the lost of some disks compare to a 8 disks pool.If you want an 8 disks pool, you have to create it at once. From ZFS dev submit last year, this should be added in the next 2 years.
So I think you have to do it like I'm dong it at the moment. Extract all your datas to external disks, create your ZFS pool, and copy back the datas. Long way home...
Thanks for this bit of info. I wasn't aware of this unfortunately I might just delete my current pool and just make the one giant ZFS pool. Pain in the rear end, but it'll only be a one time thing. All of my data is backed up elsewhere so no big deal other than some time lost. Will give it a go this weekend.
Also, guys please tell me I'll be OK running ZFS with non ECC Ram...
-
I run mine without ECC memory without a problem... ECC are for "serious" NAS
-
Ah I kind of figured such. I'd buy the ECC and use my current ram towards a new PC build, but RAM is too expensive right now...
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!