2

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
  • Does it make sense to have mirror ? Yes off-course, for the added security that you don't loos data if a disk breaks. Is it best practice to use partitions for ZFS pools: No - use full disks. But in this case, I don't think that it will break anything.
    – Soren A
    Commented Mar 26, 2021 at 10:14

1 Answer 1

2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .