Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to install a software raid-0 array on a Ubuntu 12.04 server with mdadm through commandline (SSH).

The drive setup is as follows:

  • SDA = OS SSD
  • SDB = HDD for raid 0
  • SDC = HDD for raid 0
share|improve this question
1  
Please be aware that RAID0 is a very bad idea on a server in general. What have you tried? Is this a new installation or an existing one? What installation medium are you using? (for 12.04 you'll need the alternate installer I believe) On an existing setup, you can just create an array using mdadm. –  gertvdijk Dec 19 '12 at 15:58

2 Answers 2

Why you don't use LVM (Logical Volume Management) to do this :

1-Create a physical volume on the first hard drive, and another physical volume on the second hard drive.

2-Create a new volume group, assigning both physical volumes to it.

3-Create a new logical volume in that volume group.

share|improve this answer

You can setup RAID 0 array from this tutorial how ever the chunk size while telling mdadm is not provided in the tutorial and will use from the default setting from your config file but you can do it yourself just by adding --chunk=128 on the command

share|improve this answer
    
Thank you...... –  Aurigae Dec 19 '12 at 16:33
    
askubuntu.com/questions/231000/… --> who reads / tries the linked tutorial might want to read this too... –  Aurigae Dec 21 '12 at 18:14

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.