LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-13-2004, 09:13 PM   #1
hoover93
Member
 
Registered: Aug 2003
Distribution: RedHat 9, SuSE 9.2
Posts: 49

Rep: Reputation: 15
IDE Software RAID1 (RH9)


I want to try to build a Samba file/print server on a small office budget. I'm trying to replace an aging NT 4 server, but we only have money for some new hardware - not Microsoft Server and CAL licenses.

I'll have two identical 40GB IDE hard drives that I want to build into a software RAID1 configuration. I don't have a special RAID controller card - just the embedded IDE controllers on the motherboard.

I should point out that I have no experience with Linux RAID. I've ony built simple, single-drive desktops with RedHat 9 (although, I have built software RAID1 systems with Windows NT so I understand the theory).

First question: Can Linux boot from a software RAID1? I've read other postings here that mentioned problems to boot from mirrored disks.

Second question: What's the best way to partition a RAID1 server? Should you split the data from the O/S on separate partitions?

On the current NT server we have the O/S on one partition (C and the office data on a separate partition (D. The thinking was that if something happened to the O/S we could format C: and reinstall while leaving D: intact. Does this line of thinking hold up in the Linux world?

Thanks in advance.
 
Old 08-13-2004, 10:37 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I guess this was properly a software question about configuration.

I have had no trouble with booting from a software RAID.
The RAID system can be setup happily during the initial install process, though Maddog indicates a preference for scsi drives for network.

You may be better to have the large RAID thing available for the network use while the machine itself runs from a completely seperate drive. Mostly, this keeps things tidy. Linux works on a slightly but significantly different paradigm to Windows networks - so check your assumptions.

Remember, linux dosn't make distictions between drives the way Windows does - though the kernel may be aware of hda hdb etc, the user only has access to mounted filesystems. The RAID system will be one big continuous filesystem.

For the system you suggest, you'd have, say, hda holding the boot and swap and the RAID system spanning hdb and hdc holding the root partition. Alternatively, you can add the two large drives as two seperately mounted file systems on the machine. It really depends on what you want them for.

Note: you can also boot from a different computer (read about it never tried it) over a network.
Normally, linux user will keep an imergency boot disk (floppy or CD) in case of trouble, and ALSO keep an old copy of the kernel around as a spare option in the bootloader.

Setting up small networks with linux is either annoying or surreally-easy depending on your preparation and the complexity of the system. An NT-type system should be a snap!

I'd suggest getting a book.
Paul Sery has a good book called: Red Hat Network Toolkit which is out of date but still good.
There are many others.
 
  


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
linux software raid1 porlock Linux - Newbie 1 03-18-2013 06:40 PM
Software RAID1 monitoring Sushy Slackware 1 10-05-2005 08:52 AM
Software RAID1 problems robbow52 Debian 7 11-15-2004 10:52 AM
Software RAID1 problems robbow52 Linux - Software 1 07-28-2004 09:32 AM
RH9 &9.0 Benq CDRW 4012a IDE + IDE CDROM - Install - how to cgtueno Linux - Hardware 6 05-30-2004 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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