Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple ZFS pools #29

Open
SWBSD opened this issue May 6, 2015 · 5 comments
Open

Multiple ZFS pools #29

SWBSD opened this issue May 6, 2015 · 5 comments

Comments

@SWBSD
Copy link

SWBSD commented May 6, 2015

When will beadm support multiple ZFS pools? My setup has two pools:

bootdir (with /boot on it)
zroot (with / on it)

Both are encrypted with geli.

Will beadm ever support multiple pools for a ZFS root setup?

@vermaden
Copy link
Owner

vermaden commented May 7, 2015

Both are encrypted with geli.

From what I know its not possible to boot from GELI encrypted ZFS on FreeBSD ...

... if its now possible, then why use two pools for that?

One of the Google Summer of Code accepted projects for 2015 is support for BEs in bootloader:

Change gptzfsboot to dynamically discover BEs during bootup
https://www.google-melange.com/gsoc/project/details/google/gsoc2015/prasadjoshi/5676830073815040

Till then any work on beadm is pointless IMHO.

Also here is a fork that supports what You want:
https://bitbucket.org/aasoft/beadm/src/d0efcdfc5f05cb84d8b319a0f31d7e09f56eb295/beadm?at=mydev

Regards,
vermaden

@SWBSD
Copy link
Author

SWBSD commented May 7, 2015

What I should have said was the bootdir pool is NOT encrypted and the zroot pool IS encrypted. I basically boot off the unencrypted /boot (a USB pendrive) and after entering the geli password it then boots the zroot pool. Only /boot is on the unencrypted USB pendrive. Everything else for root is on the encrypted pool (zroot).

Are you saying I can now have a single ZFS on root pool that is encrypted with geli and that it will boot?

Is it better to wait for gptzfsboot to be developed for multiple BEs during bootup rather than use the beadm fork?

I am basically looking for a way to use BE with my setup (ie: one unencrypted pool and on encrypted pool for my ZFS on root).
I didn't even know this was being worked on! Will it work with geli and multiple pools?

@vermaden
Copy link
Owner

vermaden commented May 8, 2015

IMHO use this fork.

IMHO FreeBSD should allow to boot directly from GELI encrypted ZFS root without any workarounds.

Regards,
vermaden

@rakor
Copy link

rakor commented Jan 30, 2016

Installing FreeBSD using its installer (bsdinstall) with zfs and geli you'll get exactly this setup. So it would be nice to have this standard-setup being supported. :)

Will you address this problem in near future?

@rvstaveren
Copy link

could efibootmgr be of any use here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants