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
>>> could i combine 2x250gb ssd and 2x1tb hdd to use the ssd as a cache for the hdd in linux
Yes, you can combine two 250GB SSDs and two 1TB HDDs to create a storage solution that uses the SSDs
as a cache for the HDDs in Linux. This is known as a "hybrid" storage configuration, where the
faster SSDs are used as a cache for the slower HDDs.
To set this up in Linux, you can use a tool called LVM (Logical Volume Manager) to create a single
logical volume that spans both the SSDs and the HDDs. You can then configure LVM to use the SSDs as
a cache for the HDDs by setting up a "write-through" policy, which writes data to both the SSDs and
the HDDs simultaneously.
Here's an example of how you might set this up using LVM:
1. First, create a physical volume (PV) for each disk. In this example, we'll use /dev/sda and
/dev/sdb for the SSDs, and /dev/sdc and /dev/sdd for the HDDs.
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 ...