Skip to content

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.

1 points4 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
1 · 100% up
Kind
Text
ID
beh30l

Author

78
posts
124
comments
16
media
View profile

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.

1 points

RAID5 is your worse possible choice. The larger the individual drives, the greater the odds of bit corruption. Run either RAID10 or ZFS.

1 points

If you're going to be using XFS anyway, why not simply use ZFS, which is XFS with storage abstract built-in?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.