Ubuntu server root on ZFS mirror

Is it possible to install Ubuntu Server (root) on a ZFS mirrored pool. E.g.

ssd1

  • partition1
  • partition2

ssd2

  • partition3
  • partition4

Then create a ZFS mirrored pool 'root' with partitions 1+3 and install Ubuntu Server on 'root' Second create a ZFS mirrored pool 'home' with partitions 2+4

Would it make more sense to have root on two separate disks?

1

1 Answer

The above should definitely be possible by following the "Root on ZFS" how-to; the only step which differs is the creation of the pool(s), after all. However, you should be aware of the fact that "non-ZFS partitions" (e.g., EFI) on said discs should be mirrored/kept in sync at all times as well in order to ensure that the system can still be booted if one of them fails; this has already been hinted elsewhere. You might want to check out Saverio Miroddi's "zfs-installer" repository on GitHub.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like