Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-01-2014, 11:22 AM
|
#1
|
LQ Newbie
Registered: May 2014
Distribution: Slackware 14.1
Posts: 6
Rep:
|
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
|
|
|
05-01-2014, 02:44 PM
|
#2
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
i'm not sure about performance issues, but i suggest using lvm then doing partitioning
|
|
|
05-01-2014, 03:12 PM
|
#3
|
LQ Newbie
Registered: May 2014
Distribution: Slackware 14.1
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
05-08-2014, 05:17 AM
|
#4
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
05-08-2014, 05:22 AM
|
#5
|
Member
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211
Rep:
|
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.
|
|
|
05-08-2014, 06:13 AM
|
#6
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
You should read this post too.
|
|
|
05-09-2014, 11:17 AM
|
#7
|
LQ Newbie
Registered: May 2014
Distribution: Slackware 14.1
Posts: 6
Original Poster
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 11:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|