LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-19-2016, 09:53 PM   #1
OHPRG Project Director
Member
 
Registered: Sep 2016
Location: Southern California
Distribution: What ever will load on the machine I happen to be working on....
Posts: 49

Rep: Reputation: Disabled
Raid 5 Configuration


If I am in the wrong forum for this please excuse me and re-direct....

I am installing Debian 8 (latest & greatest STABLE)

Computer: Generic Box
Intel CPU
2140 @ 1.6 GHZ
Intel EM64T Capable
MultiPlexing enabled
Sys Bus 800MHz
Sys Mem 667 MHz

L2 Cache 1024
Total 2048
Dual chan Mem
1024 in each slot matched

Following these instructions to install the RAID 5 with 4x 80GB HDD
One HDD (the "spare" is a different brand than the others, this should not matter...):

https://debian-administration.org/ar...Etch_Installer


Creating RAID Volumes
Start the Debian Etch netinst as with a normal install.

At the Partition Disks menu choose Partitioning method: Manual

Delete any existing partitions so only "FREE SPACE" is listed.

Select the first drive and do the following:



Create new partition:

New partition size: 1G (or the size you want root to be)
Type for the new partition: Primary
Location for the new partition: Beginning
Use as: physical volume for RAID
Done setting up the partition
This will create your RAID1 bootable section.



Then:

Create new partition
New partition size: <the remaining space on the drive>
Type for the new partition: Primary
Location for the new partition: Beginning
Use as: physical volume for RAID
Done setting up the partition
This will create your RAID5.



Partition the remaining three disks in the same way.



Now each partition on the drives will show up as partitioned as "K Raid"
==========================================================================================



+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

NOTE: DO NOT HIT THE <ESC> while setting down your iced tea....not good...!!

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Configure Software RAID
There is now an option to Configure Software Raid on your partitioning screen - select this.

At the next screen say "Yes" to write the changes to the storage devices and configure RAID.

Choose: Create MD device

Multidisk device type: RAID1
Number of active devices for the RAID1 array: 3
Number of spare devices for the Raid1 array: 1
Now you will choose the devices to use. Since you created the 1G partitions first, you will want

sda1, sdb1, sdc1
The next screen will ask you which device you should use for the spare, choose sdd1


Now you will want to choose Create MD device again.

Multidisk device type: RAID5
Number of active devices for the RAID5 array: 3
Number of spare devices for the Raid1 array: 1
Now you will choose the devices to use. The first three should be the ones you wish to use as

active.
The next screen will ask you which device you should use for the spare, select the only remaining

option which should be sdd2
Now: Finish

You will be sent back to the partitioning screen.
==========================================================================================



Partition RAID1

Select the partition on your newly created Raid1 volume, it will say: "Use as: do not use" -

select this line, hit enter and make it an ext3 / (root) partition


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

QUESTION: Do you arrow down a line or so and hit enter and select /(root)..?

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Done setting up this partition

Create Physical LVM Volume
Select the partition on your newly created RAID5 volume, it will say: "Use as: do not use" -

select this line, hit enter and make it a "physical volume for LVM"

Done setting up the partition

Once this is completed the RAID5 volume will show up as partitioned as "K LVM"
==========================================================================================




Configure LVM
There is now an option to Configure the Logical Volume Manager on your partitioning screen -

select this.

At the next screen say "Yes" to write the changes to the storage devices and configure LVM.

In the LVM Configuration screen you will first need to Create Volume Group:

We name this Group the same name as the server itself.
Choose device - should only be one choice: /dev/md1



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

QUESTION: I have: [ ] /dev/mdo (1097MB; ext3)
[ ] /dev/md1 (157665MB)

<Selecting /dev/md1 as instructed....>
<Just wondering why I have 2 choices.>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Here is where I got hung up and went to bed.....came back at it the next day (today) and decided to run GPARTED and wack everything and go at it again.....(GParted has just booted as I type this)....

Any thoughts or advice would be appreciated....!!!

Thanks
Alan
 
Old 10-19-2016, 11:21 PM   #2
OHPRG Project Director
Member
 
Registered: Sep 2016
Location: Southern California
Distribution: What ever will load on the machine I happen to be working on....
Posts: 49

Original Poster
Rep: Reputation: Disabled
https://ubuntuforums.org/showthread.php?t=884556
 
  


Reply



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
Help With RAID Configuration carlosinfl Linux - Server 1 01-25-2011 09:05 AM
problems adding disks/ raid configuration - intel embedded hardware raid birdmanpdx Linux - Hardware 0 09-23-2010 02:17 PM
RAID Configuration carlosinfl Linux - General 6 10-01-2009 12:21 AM
Copying RAID configuration to another system with no RAID?? ojha_riddhish Linux - Server 4 04-10-2009 04:58 AM
raid 5 configuration Eppo Linux - Software 1 05-16-2007 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:39 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