LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2014, 11:22 AM   #1
rmathes
LQ Newbie
 
Registered: May 2014
Distribution: Slackware 14.1
Posts: 6

Rep: Reputation: Disabled
Slackware 14.1 Software Raid 1+0 questions


Hi all.

I am trying to setup a raid on my development machine and I would like to know what my best options are for raid.

My pc specs are
8 Gigabytes of ram
AMD CPU 3.5 8 Core

Hard drives are the following:
4 1 terabyte 6gb sec sata drives

What I am trying to accomplish is a performance setup with redundancy. I don't know a lot about raid but from what I have read I should use raid 10. With that said I am just wondering how this would map on on the drive.

This is what I plan to do and just want to make sure I am heading the right direction

Partition the drives with boot 100mb fd00 type /dev/sda1,sdb1,sdc1,sdd1

Partition the rest of the space for root / fd00 type

Using mdadm I will create a raid 1 setup for boot /boot /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 100mb

I will create a raid 10 setup for root / /dev/md1 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 with the rest of the space

Do i need to save space for swap? Create a third raid 1?
/dev/md2 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
 
Old 05-01-2014, 02:44 PM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
i'm not sure about performance issues, but i suggest using lvm then doing partitioning
 
Old 05-01-2014, 03:12 PM   #3
rmathes
LQ Newbie
 
Registered: May 2014
Distribution: Slackware 14.1
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hey thanks for the response. I will have to read up on lvm I am only familiar with regular partitions so I will check into that options as well.
 
Old 05-08-2014, 05:17 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Moved: This thread is more suitable in <Slackware> and has been moved accordingly to help your thread/question get the exposure it deserves.

RAID 10 is indeed a good option when using 4 disks. When you want to use LVM do first set up the RAID, then the LVM on top of it.
You do not need to set up an extra RAID for swap, if you give set up swap an all four disks the kernel will automatically figure out how to get the best performance and will create its own RAID for it.
 
Old 05-08-2014, 05:22 AM   #5
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Rep: Reputation: 57
Hi,

I recommends LVM as well.

It allows you to resize your partitions on-the-fly and to make snapshots of your FS.

When it comes to RAID, you will have to check the documentation of mdadm.
 
Old 05-08-2014, 06:13 AM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229
You should read this post too.
 
Old 05-09-2014, 11:17 AM   #7
rmathes
LQ Newbie
 
Registered: May 2014
Distribution: Slackware 14.1
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks all for your very helpfull advice I am on the new slackware workstation now with the raid 10 lvm setup and it is awesome!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Two basic software RAID 1 questions chrismurphy Linux - Newbie 1 02-05-2011 04:22 PM
USB software RAID questions cferron Slackware 3 08-26-2007 03:07 PM
software raid 5 + LVM and other raid questions slackman Slackware 5 05-09-2007 02:58 PM
Questions about software RAID 3.14159 Linux - General 0 04-18-2005 02:37 PM
Software Raid 5 questions musicman_ace Linux - General 1 07-25-2004 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration