Score:0

How to combine an SSD with two HDDs in a RAID1-ish hybrid setup?

in flag

Coming from Linux SSD as HDD cache, I'd like to set up an SSD (or rather a partition thereon) as cache for basically a RAID1 of two HDDs. But since the data might remain cached on the SSD for while, I was wondering it is possible to set up the HDDs such that they first behave more like RAID0, i.e. the data from the SSD is written striped for better speed, and only afterwards RAID1-synced between the two.

Is that even sensible let only feasible and if so, how? If not, what would be a good setup with 1 SSD and 2 HDDs to benefit from both speed and redundancy if the total capacity is acceptably limited to 1x HDD? I'm using btrfs if this is helpful or a hurdle.

Score:0
br flag

I never like the idea of delayed synching but either way what you need is bcache - sounds ideal for what you want to do.

Nikita Kipriyanov avatar
za flag
I doubt it is possible to marry BTRFS-based RAID and bcache for caching. Especially when there is a single SSD and so you basically are restricted to write-through or write-around cache.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.