LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2004, 02:51 PM   #1
lenlutz
Member
 
Registered: May 2003
Location: philadelhpia pa
Posts: 92

Rep: Reputation: 15
software raid


I want to set up a raid (mirror).
from what ive read, i want raid 1
(no hardware card, and NOT scsi)
i have a primary hd, ide (and, ide on the motherboard, of course).
i have gotten an additional disk, exactly like the primary....
redhat 8.0

i have had this machine up, for a few years, and have a tremendous amount
of work, including mysql, dns, email, and web....
i ALMOST remember how to do some of the stuff, and i do backup,
but, i feel i should now mirror my drive.
The Second disk IS now installed....
(seems like its /dev/hdc, as opposed to /dev/hda (primary)
(i guess my cd , is /dev/hdb)

what next ????

i saw an article:,
http://jamesthornton.com/redhat/linu...ware-raid.html

that talks about "disk druid"....

just What is that, and where is it ??
(i can work on the gui, or the command line)

i Also have this fear, that typing mkraid will "deatroy" my primary disk


thanks for any help

Last edited by lenlutz; 12-06-2004 at 07:53 AM.
 
Old 12-31-2004, 01:50 PM   #2
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 184

Rep: Reputation: 36
I haven't tried to build a mirror from an existing disk, I start from scratch because that way you can have
the persistent-superblock at eacht partition that contains the configuration in case you have to recover.

I'd suggest a /etc/raidtab like this to start from (correct the hdb2 and hdc2 to you situation)
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 4
device /dev/hdb2
raid-disk 0
device /dev/hdc2
raid-disk 1


for a start you can make two partitions about the same size on your new disk.
that way you can experiment without a big risk. But this won't give you any security
for the data. make the partition type for those partitions 'raid autodetect' I don't
know the id by hard but fdisk or cfdisk can tell you.

after the mkraid /dev/md0 you can raidstart /dev/md0 and format /dev/md0 like
any other partition.

regards

Tlowk
 
  


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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 10:05 PM
Can fake raid be converted to linux software raid? jmacdonald801 Linux - General 3 01-30-2005 12:33 PM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM
Software RAID vs Hardware RAID system Linux - General 3 12-25-2001 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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