Score:1

RAID + LUKS + LVM + BCACHE + BTRFS

ck flag

I want build new structure for my data store (NAS - Ubuntu). Data storage will be 4TB at first. Then up to 8TB.

My old structure is simple:

RAID 1 -> LUKS -> FS

I need some wishes to new structure:

  1. Save data (RAID 1 or 10).
  2. Encryption.
  3. Cache SSD + RAID (HDD) and file system with CoW to save data if cache will be broken.
  4. Fast snapshots.
  5. Flexibility to manage volumes.

I don't use LVM, BCACHE, BTRFS before. But IMHO it may suit me.

I'm thinking about this chain:

RAID -> LUKS -> LVM -> BCACHE -> BTRFS

Please tell me is this structure optimally? Is it the best variant for my tasks?

vidarlo avatar
ar flag
Why do you need LVM and RAID? BTRFS supports redundancy *and* subvolumes.
Jo K avatar
ck flag
@vidarlo I believe that my question was closed incorrectly. But because I have little reputation, I could not open it and get an answer to my question.
Jo K avatar
ck flag
@vidarlo I'm not entirely sure if BTRFS is stable and also performs RAID functionality. That's why I decided to use mdadm. Maybe I'm wrong so I'm asking the community tell me the where I can found trouble, tell me way whats read or something else.
Jo K avatar
ck flag
@vidarlo I see. I think this one rules on whole StackExchange. Thanks for the explanation. Unlike the previous member of the community, you can clearly explained my mistake. I will delete the post in a few minutes.
vidarlo avatar
ar flag
Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/143095/discussion-between-vidarlo-and-jo-k).
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.