I’d like to install LXD on an Intel NUC provisioned with two ssd drives—OS on the primary drive. LXD install gives me several choices for storage backend. Which would be best choice?
For example, can I mirror ZFS across the two drives and if so, how?
Hi LRP,
You can create a zfs mirror like that, sudo zpool create test mirror /dev/sd<x> /dev/sd<y> and then create a storage to use that test pool. lxc storage create zpool zfs source=test, I prefer zpool which is the storage name you can name it whatever you want.
Regards.
I suppose you are talking about lxd init part. So the zfs part need to be defined before. In the lxc initialization part you can enter the pool name that I suggested before.
Regards.