I'm setting up my desktop was hoping to be able to dual boot Arch Linux with FreeBSD under the same ZFS pool. is it possible to install FreeBSD into an existing dataset if I already have Arch Linux installed? I was looking at this Gentoo link and wondering if something similar was possible.
I plan to set up a mirror of two 480GB SSDs for my root and home directories on FreeBSD and Linux, as well as have a mirror of two 2TB HDDs in another vdev. Currently I only have one of the SSDs and I was wondering if it would be okay too start the setup on the single SSD and then attach the other SSD to turn it into a mirror later.
I was also wondering about what would be a proper setup to be able to use a single pool with more than one operating system. Here's what I'm thinking, would it make sense to do something like this?
LINUX and FREEBSD are different datasets
I was also wondering about the bootloader. I'm going to be setting this up using UEFI and I guess grub seems to be the bootloader with the most support on both operating systems. I've been seeing some things about how using as ZFS boot partition can cause problems so I was planning on using an ext2 partition on the first SSD, then partition the rest then mirror that partition with the other SSD.
So the disks would be
Then mirror SSD1 ZFS partition with SSD2 ZFS partition.
Is it okay to mirror an entire drive with the partition of the SSD? Is there a better place for me to put the boot loader so that I can mirror two entire drives? Or does not really matter and I will just be losing that little bit of space as a partition is partition.
I plan to set up a mirror of two 480GB SSDs for my root and home directories on FreeBSD and Linux, as well as have a mirror of two 2TB HDDs in another vdev. Currently I only have one of the SSDs and I was wondering if it would be okay too start the setup on the single SSD and then attach the other SSD to turn it into a mirror later.
I was also wondering about what would be a proper setup to be able to use a single pool with more than one operating system. Here's what I'm thinking, would it make sense to do something like this?
LINUX and FREEBSD are different datasets
Code:
# SSD Mirror:
pool/LINUX/
pool/FREEBSD/
# other vdev 2TB mirror
pool/data
# ext2 partition on first SSD with grub
/boot
I was also wondering about the bootloader. I'm going to be setting this up using UEFI and I guess grub seems to be the bootloader with the most support on both operating systems. I've been seeing some things about how using as ZFS boot partition can cause problems so I was planning on using an ext2 partition on the first SSD, then partition the rest then mirror that partition with the other SSD.
So the disks would be
Code:
SSD1
- ext2 partition
-ZFS partition
SSD2
-ZFS partition
Then mirror SSD1 ZFS partition with SSD2 ZFS partition.
Is it okay to mirror an entire drive with the partition of the SSD? Is there a better place for me to put the boot loader so that I can mirror two entire drives? Or does not really matter and I will just be losing that little bit of space as a partition is partition.