Open xiro-codes opened 1 month ago
Be more precise. (The original post just said "how" with no additional information)
Simpler info i just want to do the stuff described here https://man.archlinux.org/man/lvmcache.7
First off, please do additional research on your own instead of just blindly trusting an LLM to make a good decision for you. Instead of using LVM and putting an ext4 filesystem on top of it, using ZFS or btrfs which implement caching directly might be the better option.
If you're sure that you want to use LVM for this, I'd say your best starting point is this example. Take a look at the lvm_pv and lvm_vg types to see what your options are. You might have to call lvconvert
semi-manually by setting postCreateHook
, we don't have a way to do this sort of thing yet, see #421
sorry this is the llm prompt and response, tldr i need to add a line to lvm.conf how to do go about that with disko
sudo pvcreate /dev/sda sudo pvcreate /dev/sdb sudo pvcreate /dev/sdc sudo pvcreate /dev/sdd
sudo vgcreate hybrid-storage /dev/sda /dev/sdb /dev/sdc /dev/sdd
sudo lvcreate hybrid-storage -n root
sudo mkfs.ext4 /dev/mapper/hybrid--storage-root sudo mount /dev/mapper/hybrid--storage-root /mnt/hybrid-storage
hybrid-storage {
... other configuration options here ...