-5

I'm trying to do a fresh install of Debian Squeeze on a server and set it up with RAID 5, or RAID 10 if possible (4 disks). I'm having difficulty finding detailed instructions on how to do this. I'm hoping that someone could help me out with instructions on setting up RAID on a linux box.

6
  • Why was this voted down 1? Are people no longer allowed to ask questions when they don't know something?
    – Brett
    Aug 24, 2011 at 17:40
  • 1
    As it says in our FAQ this site is for professional sysadmins, who done their homework and know how to do the basics. I didn't downvote you though.
    – Chopper3
    Aug 24, 2011 at 17:53
  • Open the controller's BIOS and follow the instructions found in the controller's manual.
    – mailq
    Aug 24, 2011 at 17:53
  • 3
    Probably because asking for detailed (i.e. do it all for me) instructions is pretty much the ServerFault equivalent of "plz give me teh codez". I'm guessing you mean software RAID? Typically you'd install to one disk, then create the array in the OS's disk management to mirror it across the rest of the disks.
    – tombull89
    Aug 24, 2011 at 17:54
  • 3
    I didn't down vote the question, but essentially you have provided no details of your setup and what you're trying to accomplish. Are you trying to do hardware or software RAID? What controller (make, model)? Either way, yes, RAID-10 on 4 disks is possible. If you're using hardware RAID, you would first setup the RAID-10 array sing the (manufacturer) provided configuration software, and then install Debian as usual. If doing software RAID, I think you can setup the RAID volumes during the install when partitioning the disks . I know you can with SuSE, but I've not installed Debian.
    – Kendall
    Aug 24, 2011 at 17:56

1 Answer 1

1

Assuming you want to setup the software RAID. Do a standard install, up to the point where you see the disk partitioning. Choose manual, setup a small partition (1GB) at the start of a drive or two the /boot partition, which cannot be on a RAID5/10. Create partitions for the rest of the space on each drive and set it for RAID usage. From the menu choose the option to configure the raid, then configure the RAID. Once you are done configuring the RAID you should probably setup LVM on top of that so you can easily partition things out as needed.

1
  • On the other hand he could use BTRFS as it has the software RAID and LVM features included without additional software. But he didn't even state what he wants to do with the RAID, if it is for production, and ...
    – mailq
    Aug 24, 2011 at 21:12

Not the answer you're looking for? Browse other questions tagged .