SlackwareThis 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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.