LVM RAID5 + SSD CACHE Setup?
After testing out Stratis-storage and not liking the thin provisioning aspect of it, I have decided to switch to LVM RAID5 + XFS + LVM SSD Cache. I have the following configuration:
/dev/sd[efgh] 2TB HDDs
/dev/sdi 500GB SSD
So I want to convert the HDDs to a RAID5 Array, format it XFS, and then add the SSD as caching drive (498 GB data/2GB metadata). Can anyone provide me step-by-step instructions on doing this?
Edited 18 Apr 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 100% up
- Kind
- Text
- ID
- beh30l
4 comments
I've done it once before, and let me tell you: it's a real pain to maintain. I would strongly encourage you to consider ZFS instead. It has all those features and then some, but it's dead simple to manage by comparison.
RAID5 is your worse possible choice. The larger the individual drives, the greater the odds of bit corruption. Run either RAID10 or ZFS.
If you're going to be using XFS anyway, why not simply use ZFS, which is XFS with storage abstract built-in?
https://www.schotty.com/Cheatsheets/LVM_Cheatsheet/