I'm thinking of buying a couple of disks to put in a striped array for performance. I already have a raid-1 array with mdadm.
Are there are management or performance benefits of using mdadm raid-0 over using LVM striping?
Im thinking along the lines of "LVM might be a better choice because I can have my striping (by adding another disk to the LV) and also have the added bonus of it being more 'manageable' than raid, because I can grow or shrink the LV".
Is my idea full of holes? Are there well known issues; performance wise or manageability wise of using an LVM as a striped array for performance?
Comments welcome
--andrew
Are there are management or performance benefits of using mdadm raid-0 over using LVM striping?
I haven't used LVM striping so take my answer with a grain of salt. In
my reading on the web about the two I came to the conclusion that MD's
raid-0 code is a bit better tested then LVM's. For that reason, and
because I believe in one tool for each job, I went with MD to handle
the RAID.
Im thinking along the lines of "LVM might be a better choice because I can have my striping (by adding another disk to the LV) and also have the added bonus of it being more 'manageable' than raid, because I can grow or shrink the LV".
If you run LVM on top of raid you can have both. :-) All my servers
run this config and it makes things easy to move around as needed, in
fact a couple of times it saved my data (and my bacon). And with newer
versions of mdadm, you can create some interesting raid configs that
LVM has no chance of creating.
So why striping? Aside from faster speeds, raid-0 is anything but redundant.
--
Drew
"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
If you run LVM on top of raid you can have both. :-) All my servers
run this config and it makes things easy to move around as needed, in
fact a couple of times it saved my data (and my bacon). And with newer
versions of mdadm, you can create some interesting raid configs that
LVM has no chance of creating.
So why striping? Aside from faster speeds, raid-0 is anything but redundant.
--
Drew
I need the speed, pure and simple. It's going to be used as a scratch volume. I already have a mirrored raid array with mdadm for my "real" data and backups, but I need something faster just to store temporary files on.
--andrew