The default filesystem of my machine is lvm (Ubuntu 22.04). I would like to spin up LXD/LXC virtual machines to run some Apache projects like Hadoop and Spark. When setting up Hadoop there is a step where I need to format the filesystem within the VM to hdfs and I don't know how that would affect the system if my storage is DIR and not a system like zfs. Furthermore, I cannot manually assign a custom size to a DIR storage, but I can on ZFS.
ZFS seems the superior option but the problem is my native filesystem is lvm not zfs. Is it possible to have zfs storage despite lvm filesystem underneath or do I need to change my entire filesystem to zfs?
When I run
lxd init
the setup does offer to me to make my backend storage zfs [default=zfs].
Any insight on ZFS/LVM coexistence is greatly appreciated. I am not very fluent in this topic and I don't want to break my machine :)
Asked by Mnemosyne
(161 rep)
Mar 15, 2023, 06:31 PM
Last activity: Mar 16, 2023, 11:54 AM
Last activity: Mar 16, 2023, 11:54 AM