LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-01-2003, 08:41 AM   #1
koj333
LQ Newbie
 
Registered: Aug 2003
Location: Manila , Philippines
Posts: 4

Rep: Reputation: 0
Unhappy Adding ide drive to existing raid 5 help


hi, our company is using a server with a raid5 (software) which i built, they use the hardrives (hdc1, hde1, hdg1). and now the free space is getting smaller and i wish to add. As i understood it i should be able to add drives to it by just doing a raidhotadd /dev/md0 /dev/hdi1.
the last drive is connected to a promise ultra133 tx2 controler.

before i issued a raidhotadd command i added the the drive to my /etc/raidtab.

raiddev /dev/md0
raid-level 5
nr-raid-disks 4
nr-spare-disks 0
persistent-superblock 1
parity-algorithm left-symmetric
chunk-size 32
device /dev/hdc1
raid-disk 0
device /dev/hde1
raid-disk 1
device /dev/hdg1
raid-disk 2
device /dev/hdi1
raid-disk 3

after issuing the raidhotadd command i did a watch -n1 cat /proc/mdstat to watch if would sync it and it did.

But the problem is the filesystem is still the same size after an hour or two. i tried to remove it and add it again after rebooting am i doing anything wrong???? help!!!

note: all drives are 80 gig seagate and all are formated as autodetect, /dev/md0 is ext3
 
Old 08-01-2003, 08:44 AM   #2
koj333
LQ Newbie
 
Registered: Aug 2003
Location: Manila , Philippines
Posts: 4

Original Poster
Rep: Reputation: 0
by the way here is an output of my /proc/mdstat

Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
read_ahead 1024 sectors
md0 : active raid5 hdi1[3] hdg1[2] hde1[1] hdc1[0]
156296192 blocks level 5, 32k chunk, algorithm 2 [3/3] [UUU]

unused devices: <none>
shouldnt there be 4/4 ??
 
Old 08-01-2003, 02:14 PM   #3
koj333
LQ Newbie
 
Registered: Aug 2003
Location: Manila , Philippines
Posts: 4

Original Poster
Rep: Reputation: 0
help me please!!!!!!!!!! how do i add drives to raid 5
 
Old 09-28-2003, 12:28 PM   #4
vextor
LQ Newbie
 
Registered: Sep 2003
Location: denver,usa,terra,sol
Distribution: redhat,bsd
Posts: 1

Rep: Reputation: 0
i had the same problem today
i found a util called raidreconf
i copied my old raidtab file to raidtab.old
added the new drive to the new raidtab
and ran the following command

raidreconf -o raidtab.old -n raidtab.new -m /dev/md0

heres the man page for raidreconf
http://linuxcommand.org/man_pages/raidreconf8.html
 
  


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
Software RAID 1 from Existing Boot Drive johnwyles Linux - General 1 08-05-2005 11:42 AM
9.2 adding existing windows NTFS drive - can't access DB9 Mandriva 1 04-15-2004 08:10 AM
Mount Drive w/ Ide Raid Controller raptorsoft2000 Linux - Newbie 0 12-31-2003 07:26 PM
Adding 4th hard drive using PCI ide card bruce1271 Linux - Hardware 3 06-20-2003 01:55 PM
adding new hard drive to existing linux box jaysan Linux - Newbie 2 08-09-2001 06:27 PM


All times are GMT -5. The time now is 03:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration