LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2005, 09:34 AM   #31
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53

If you are planning to boot from the raid1 or raid3 this
takes more work, and I do not know very well how this work.

If you have 3 HDs what about putting the OS on 1 HD
and all the data on the raid1
You can create the raid once the OS is installed.

The method I alluded to is do a normal install on 1 HD (ignoring all the rest).
Once finished, I think you can duplicate 1 HD to the other,
and/or build the raid from 1 HD that will replicate on the second automatically

for further help from others please post raid card model (controller model)
No of HD and sizes
Whether you are going to boot from the raid or not
 
Old 12-06-2005, 10:00 AM   #32
Mateo1041
Member
 
Registered: Nov 2004
Location: New Prague, MN
Posts: 80

Original Poster
Rep: Reputation: 15
Ok, that makes sense. So just install the OS first and then partition and set up RAID later on. Would I still do the /boot, /var and other partitions right away I'd assume?

Ideally it would be great to boot from the RAID also as I'd think it would be another way to ensure server uptime.

raid card model (controller model)

I'm not sure, but can look into it when I get home today. Would I check by opening the server case?

No of HD and sizes

2 hard-drives, 36.4 GB each.

Whether you are going to boot from the raid or not

I was hoping to if that gives me even more uptime.
 
Old 12-06-2005, 10:07 AM   #33
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
lspci -v to find about the raid card.

Only 2 HDs, yes you do need all the partitions.

You might be able to build OS from scratch directly on raid,
but I think you need special kernel (that can mount the raid during boot),
or a real hardware raid, not fake raid / software raid.

You really need a bit more reading doc that just my little knowledge on the topic

I am pretty you can replicate on HD on the other.
If I find a good link I let you know

Raid1 : law of series if 1 HD goes bang the other is likely to have same manufacturer fault,
so some dvd backups are still on the card, but less frequent maybe.

Uptime? Only time to buy another HD and replace the faulty one if it happens.
 
Old 12-06-2005, 04:15 PM   #34
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
seen this, only mainly relevant point is that ubuntu **seem** clever enough
to install on a raid1 from scratch
http://lists.ubuntulinux.org/archive...ay/033744.html
 
Old 12-06-2005, 09:22 PM   #35
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
For hardware RAID with Debian you may want to take a look at the

Debian on Dell Hardware project.
It's a customized Debian iso that is setup to support the hardware RAID controllers in several popular servers.
http://wiki.osuosl.org/display/LNX/D...n+Dell+Servers

You can pick up a used server off of Ebay for pretty cheap..

If you are building your own server I would recommend looking at the 3Ware Hardware RAID cotrollers they are well supported under Linux.


You can also consult The Linux Documentation Projects: Software RAID How-To, if you just want to setup software raid using regular IDE drives and the standard controllers..

http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html
 
Old 12-06-2005, 09:31 PM   #36
Mateo1041
Member
 
Registered: Nov 2004
Location: New Prague, MN
Posts: 80

Original Poster
Rep: Reputation: 15
It looks like I will need to do a software RAID setup. I opened the case and SCSI cables were connected directly to the motherboard.

Thanks for the links and help. The http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html guide looks promising. I'm assuming I simply need to set the server up on one of the hard-drives and then configure the RAID once I have a command prompt and everything is installed?
 
Old 12-07-2005, 02:49 AM   #37
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
to add to the previous posts, here goes
RAID1 on Debian Sarge (It is a step by step guide)
http://www.epimetrics.com/topics/one...e_topic_id=120

I think ubuntu has raid support already compiled in the kernel.

Anyway the guide explains what I talked about before, which was that one drive
can be built from the other. Extract:
<<We'll then copy over the contents of all the /dev/hdax partitions to /dev/hdcx, then boot to the new RAID1 device, add back /dev/hda, and let the RAID1 system rebuild /dev/hda>>

I do not mean to be grumpy, but I did say
"There is a great howto software raid in the tldp"
Could you not google for that? You had to wait for the link?
Google howto raid tldp
give the right link at the top!

This is 2-way process, people are keen to teach and help.
At the same time sometimes they hope to learn from the feedback, or from solving problems.
Some people are really really kind and will give full answer.
I am less like that, teach how to fish is essential in my opinion.
[ok you might not have much time... But I think expecting some homework is fair.]

Anyway I am grumpy actually. Do not take offense. It was just a comment

[PS Another solution, instead of raid, you could just have a cron job of some kind
that just do a dd from one drive to another every so often,
see lq thread "learn the dd command"]

Last edited by Emmanuel_uk; 12-07-2005 at 02:56 AM.
 
Old 12-07-2005, 06:10 PM   #38
Mateo1041
Member
 
Registered: Nov 2004
Location: New Prague, MN
Posts: 80

Original Poster
Rep: Reputation: 15
Actually, I've seen that link quite a few times now...but the problem is I don't quite understand it. For some reason I can't install raidtools2 like the link requires with the "sudo apt-get install raidtools2" command.

And I HAVE been doing research. In fact, I've been Googling for hours on RAID and I just haven't found something that would work well for someone with little RAID experience. That's why I've been asking here.
 
Old 12-08-2005, 02:38 AM   #39
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
Sorry for being grumpy.
I would advise you use mdadm instead of raidtools2.
Am going away from my PC for 1 week now. Hope you can make progress.
 
  


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
Questions re: set-up vocal Linux - Software 3 03-30-2005 01:38 PM
Set up server as a NTPD server hanava Linux - Newbie 1 05-04-2004 03:34 PM
Can a Linux print server be set up on a Microsoft server network? crenshawmarc Mandriva 3 09-29-2003 08:40 AM
Linux Newbe questions:: How to set up a Apache server (RH 8) Yo-DUH_87 Linux - Networking 4 03-05-2003 09:24 PM
Linux email server and some HTTP server questions Steven6282 Linux - General 7 02-19-2003 04:39 PM


All times are GMT -5. The time now is 03:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration