Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Basically I'm looking for instructions to setup RAID 0. I'd like to use the installer but don't know where to start. I have 2 x 250 GB SATA drives and I'd like to put them in RAID 0. I'm unsure what kind of partitions I need to setup in the installer.
If this isn't possible then the other way I was thinking was putting an older style hdd on the same controller as the CDROM - installin Debian on that and then via the OS, just enable RAID 0 for the other 2 HDDs that are SATA.
Any help would be appreciated.
Blake
When I wanted to set up RAID0 with Debian, I just sort of jumped in and muddled with the installer's partitioner and figured it out. The most important thing is to realize that you need a seperate /boot partition which is NOT in a RAID. So, for example, you could set things up like this:
After seting up these partitions, you then select the "Configure Software RAID" option near the top. Here, you will create two RAID partitions. For each one, it will ask what type of RAID you want, and which partitions to put into the RAID array. These will be called md0 and md1.
Then you return to the main partitioning screen and you'll notice two new partitions in the list--md0 and md1. You select them and tell it where to mount them (in this case, "/" and "/home" respectively).
Note that you do NOT need to put swap partitions into a RAID array. The OS will automatically stripe swap partitions as if they were a RAID0 array.
whatever I do here, for example select the top 2, then the bottom 2 or 1 and 3, then 2 and 4 to create md0 and md1I get this prompt:
No RAID Partitions available
No unused paritions of the type "Linux Raid Autodetect" are available. Please create such a partition, or delete an already used multidisk device to free its partitions.
I don't know why it's not working. It sounds like you were using the same steps I had used. But I should note that I was using the Debian Etch installer, so maybe the Sarge installer was a bit different. I know that at least part of the partitioner looks a bit different in Sarge vs Etch.
You need to select the filesystem type, and choose space for RAID. It is the same place where you can choose ext3 or reiserfs. Just choose space for RAID, proceed, then when you select the first and 3rd of your choices it will allow you to create a RAID 0 array with them, and the same with 2nd and 4th. Once that is done, you tell the partitioner that the 6 GB space should be formatted as whatever, and the same with the massive 490 GB space.
Also, strongly suggested that you NOT make every partition on the first drive primary. You won't see any difference making one of them logical, and doing it the way you have listed doesn't ever allow you to use the free space on the disk. If you make either the 3 GB or the 245 GB space logical, then the space can eventually be formatted if you need to. If you stick with 4 primary partitions, you can never make a logical partition, and that left over space is thrown away.
I'm guessing not, or else it would have allowed you to setup software RAID on it. Just having identical spaces doesn't allow you to set up RAID0 arrays, the installer needs to know they are space for raid.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.