Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to use the performance of RAID-0 and flexibility of LVM for managing storage.

I have created RAID-0 using two disk of equal size and then created a PV and included in VG. Then I have created LV of desired size.

I understand that if any device in RAID array fails the complete array will also fail. I am planning to use this stack in my production, so are there any other downside of using RAID-0 with LVM ?

share|improve this question
    
Do you need another? If you really need the performance, why not RAID-10? –  LukeR Jan 10 '12 at 5:23
    
RAID-10 will mirror the data apart from providing performance and in my environment only performance is required. The data can be generated any time so mirroring is not required. –  Supratik Jan 10 '12 at 5:39

2 Answers 2

up vote 3 down vote accepted

Nope. Outside of the obligatory 'RAID-0 is unsafe' warnings using LVM for it's flexibility is still a good idea.

share|improve this answer

You're using RAID-0. Adding LVM on top of it won't change anything when one of the disks fails. Using it for flexibility is a good idea.

Just remember to put RAID0 volumes in different volume group than the rest of LVM volumes (if you have any) as LVM group becomes unavailable and requires manual assembly when any of the member disks becomes unavailable.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.