I have several spinning disks in my computer, adding up to a combined 2TB, which I used to have as my /home
partition with a small SSD as /
Then, I got a 1TB nvme drive, and I wanted to use a chunk of it for my new /
and the rest for /home
as well, but now I don't know how to combine them seamlessly.
Googling around I usually find 3 kinds of answers and none really seem to fit:
- Mounting the SSD and HDD in different mountpoints: This is the most common answer, and would let me keep using the nvme at full speed and not lose storage, but now I would need to shuffle the data around as I use or stop using it.
- Just grouping them all under a single lvm: In this case, I would keep capacity but I would miss on the nvme speeds.
- Using the nvme to cache the HDD: It's also recommended often to use things like lvmcache or bcache to speed up the HDD using the nvme. But this usually assumes the nvme drive is really small compared to the HDD, and in my case it would mean missing on a whole third of my total storage.
Is it possible to combine an SSD nvme drive and an HDD volume under a single volume, and have the OS move the data between them as needed, without losing much or any total capacity? Or am I stuck using one of the methods described above?