LinuxQuestions.org
Visit Jeremy's Blog.
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 02-20-2004, 10:47 PM   #1
ritesh_aladdin
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
RAID Configuration


Hi Group ,
I need your suggestions in configuring RAID - 5 for file servers ,
firstly i want to know which tools(open source s/w) should be used
for managing RAID with less complexity,more flexiblity and support for
resizing data volume(without losing of data integrity), Currently i
am using 'mdm' and 'raidtools' but these don't solve my purpose. What
do you think about 'EVMS's' functionalities and flexiblities ? which
filesystem is more stable and easy to recover in case of disk failure
(ext3,JFS,ReiserFS,Open GFS)?

how can i configure RAID-1 in such a way to continue booting the system
in degraded mode even after failing of a disk . Is storing the /boot
partition in RAID-1 is harmful or it should be located on another
partition.

well i have many queries related to RAID ,
There is anyone who can solve my problems.

Thanks in advance

Regards
Ritesh Agrawal
 
Old 02-21-2004, 09:23 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I use RAID-1 / ext3 for my /boot partition. I normally would create the partition at the beginning of the disks.

I do not mount the /boot partition unless it's needed for a kernel upgrade.


/etc/fstab


LABEL=/boot /boot ext3 noauto,owner 1 2


lsraid -a /dev/md1
[dev 9, 1] /dev/md1 64012470.1FDA2CA2.2C060F8F.3EE232AD online
[dev 3, 1] /dev/hda1 64012470.1FDA2CA2.2C060F8F.3EE232AD good
[dev 3, 65] /dev/hdb1 64012470.1FDA2CA2.2C060F8F.3EE232AD good


# md device [dev 9, 1] /dev/md1 queried online
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 64

device /dev/hda1
raid-disk 0
device /dev/hdb1
raid-disk 1



I have not had any problems other than a bad hard drive. The system can still boot if you can boot from the other disk, you installed the boot loader to both disks and the / filesystem is also RAID. Or using a boot floppy. I usually have the system email me in case of a problem.



cat raidchk.cron
#!/bin/sh
if [ "`lsraid -A -f -a /dev/md0 -a /dev/md1 | grep failed`" ]
then
lsraid -a /dev/md0 -a /dev/md1 | mail -s "Raid array problem" root
fi
 
Old 02-21-2004, 11:05 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Keep the file storage hard drives away or seperate from your OS hard drives. This way if the raid array goes bad you can easily boot into LINUX and find out why the raid array is bad.

You can use EVMS if you want to add more storage later. With this feature in the kernel, something may go bad in the future.

ext3 is an journalizing file system. It is easy to fix and it can go back and forth from ext3 to ext2.

reiserfs is an journalizing file system. It has different algorithms when storing its journal for better performance or relaiblity. Great performance for small files and it can store several times more than ext3 in a directory with out losing performance.

jfs is an journalizing file system from IBM. Great high performance but becomes sloppy when saving files. Needs defrag every few weeks or months although does not come with a defrag utility. User have to dump the partition to an image and then back on to the drive. People said its great for working with OS files.

XFS is an journalizing file system from SGI with interesting features up its sleeves. The journal can be located on another drive. If one hard drive fails. XFS can recreate the data or journal from the other drive. It has very, very good performance with big files and serveral thousand files in a directory. The disadvantage of using XFS is you can not use lilo. If you become accustom to lilo I'm sorry you have to move to grub. This is because XFS writes to the superblock where lilo puts some its data.

Using software raid is ok on a workstation, but its not on a server. Its best to go with hardware raid. If you want to use the hardware that you got, you can use devices from Accusys. They make it easy for the user when setting up hardware RAID 0, 1, 5 for IDE or SCSI. With Accuys you can transport it to another system with out damaging the array.

RAID doesn't help much so you have to backup at regular intervals and send the backups to a data service that is out of town.
 
  


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
SCSI RAID Configuration desnotes Linux - General 4 09-12-2005 09:31 AM
RAID 1 Setup/Configuration gmanigault Linux - Newbie 14 12-04-2004 11:47 AM
How many drives do I have? What is my RAID configuration? hrock Linux - Newbie 6 09-18-2004 08:00 AM
Can this be done (raid configuration) RaceTM Linux - Hardware 8 03-04-2004 07:56 AM
Software RAID-1 Configuration on SuSE 8.2 merc3065 Linux - General 0 08-28-2003 01:47 PM

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

All times are GMT -5. The time now is 08:14 AM.

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