Hi, I have 2 block devices: a 256G SSD and an 1TB HDD. I want to do:
*Use the SSD storage for actively accessed and speed demanding files/directories such as runtime files, main system resources; and the HDD for storing sparsely accessed files/directories such as images, notes, or a program that isn’t planned to be used frequently. I’m not sure but it might be done using LVM cache.
*Allocate volume and or storage when needed. I think this is done with thinly-provisioned Logical Volumes (Thin Volumes) and or a file system that supports “sparse files”, but not totally sure. My main point is to be all of this operate automatically when needed caused in case one of my actions.
*Take snapshots of dotfiles and system related vital files. The problem here is I do not know if I should use BTRFS or LVM Snapshots or both?? I think in essence they are both same that they perform CoW snapshots; though, I do not know if I am correct here %100.
How can I accomplish all of this or do they make sense? Besides, I am not sure on which filesystem to choose, so I would appreciate any suggestions on that. Additionaly, if you know any good books/materials on those kind of topics or Linux/Unix; I would like to hear that and check them.
Thx for reading to the end :)