dm-writeboost + MD + LUKS? #279
|
Looking for a way to improve write speeds on my home NAS. I have two HDDs setup in software mirror RAID (mdraid) with LUKS encryption on top of that. Is dm-writeboost capable of working with such configured drives? And if yes - which device do I point as the backing device, the encrypted one (/dev/dm-0), or the decrypted one (/dev/mapper/md127)? |
Answered by
akiradeveloper
Jan 25, 2026
Replies: 1 comment 5 replies
|
What is your configuration? Is this correct?
|
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you don't want decrypted data to be found on SSD cache device, you have to stack LUKS on top of everything. Otherwise, my recommendation is stacking writeboost on the very top. Here are the reasons: