I have an ultrabook with two discs, an HDD with 500GB
and an SSD with 32GB
.
My SSD is partitioned for /boot
, /
and /efi
, and my HDD is for SWAP
and /media/userdata
(mainly, media).
I was thinking of have /home
on a logical partition between the HDD and SSD (should be /dev/sda4
and /dev/sdb2
), but I think the HDD io would impact in my performance (for programs startup, user configurations, etc.).
So, is it possible to make LVM write large files (> 4MB
, by example, or according to file type) to HDD, and small ones (or every .hidden
file/dir) to SSD?
bcache
, recently merged in the kernel, which will use ssd for caching automatically.bcache
seems a good approach, but as I can see, the cache device starts atzero
, so every first-read is from HDD. So it may not help to apps startup.