LinuxQuestions.org
Review your favorite Linux distribution.
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 02-14-2012, 05:10 PM   #1
debian newbie
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Rep: Reputation: 0
Setting up New server with Squeeze - need help with RAID1


Hi,
This will end up being a server to host a moodle environment, so please let me know if I am setting these drives up the best way?

I have a new system and am booting off debian-6.0.4-amd64-netinst.iso (which I have burned and booting off of). I get to the point of partitioning the drives, I have 2-2TB SATA drives. I am not sure what I am doing wrong, but this is what I try.
Create a new partition -
2gb - begining - physical volume for RAID
8gb - end - physical volume for RAID
10gb - beginning ""
750gb - ""
750gb - ""
480gb - ""
(respectively these would be: /boot, swap, /root, /var, /usr. /home)
I then do the same to the other hard drive, exactly. Now I go up to Configure Software RAID. Write changes, YES. Now I select Create MD Device.
RAID1
2 drives
0 spare drives
Select /dev/sda1 (2gbRAID) and also /dev/sdb1 (2gb RAID)I keep doing this until all partitions match up, click Finish. Now I select Finish partitioning and write changes, comes back there is no Root File System and to correct this. So I go back, Go to RAID1 device#1 and select the 10gb drive:
Use as Ext4 journaling file system and change the mount point to /root.
Do I need to setup the other RAID devices as /boot, etc? If so, how do I get the boot flag to ON?
Is Ext4 the way to go with the file system??

I know this is long, but I have not been able to get this system to boot properly!!

Thanx in advance, and please I am not very debian smart, so use small words

Lisa
 
Old 02-15-2012, 12:58 AM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Hi,

It's not easy on Debian...
Take a look this video on youtube. I hope it will help you out.
http://www.youtube.com/watch?v=19mqWyGidVY

Laz
 
Old 02-15-2012, 07:12 AM   #3
ba.page
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Scientific,Debian
Posts: 35

Rep: Reputation: 7
I think you're going about it backwards.
You have to define the md array members first, start the array, then partition it.
That can all be done using a live cd that has the mdadm packages installed.
The only question remains (and I will look into this): can debian netinst recognize the array on boot up?
I'll try to get back to you today.
 
Old 02-20-2012, 09:52 AM   #4
debian newbie
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Thanx for the help,

I still am unable to get this working. I watched the video and did as they did, except I want more partitions. So I partition the drives, then Configure the RAID1, and then it says there is no root or boot or etc. So I go back and select the RAID that will be root and boot and etc. Try to write and it comes up with errors, I try to fix them but have no luck!

So, am I trying to create too many partitions?
If this is going to be a Moodle server what partitions do I really need?
Can anyone tell me what I am doing wrong??

Thanx again,

Lisa
 
  


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
LXer: Setting Up Network RAID1 With DRBD On Debian Squeeze LXer Syndicated Linux News 0 08-23-2011 05:00 AM
LXer: How To Set Up Software RAID1 On A Running LVM System (Debian Squeeze) LXer Syndicated Linux News 0 06-15-2011 07:30 AM
LXer: How To Set Up Software RAID1 On A Running System (Incl. GRUB2 Configuration) (Debian Squeeze) LXer Syndicated Linux News 0 06-09-2011 04:40 PM
Problems upgrade debian lenny to squeeze (RAID1) lopinhos Linux - Server 1 04-18-2011 10:58 AM
Setting up a RAID1 config (Disk Mirroring) ajpalm Linux - Newbie 1 11-18-2002 03:42 AM

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

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