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 |
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 ?? |
help me please!!!!!!!!!! how do i add drives to raid 5
|
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 |
All times are GMT -5. The time now is 11:26 AM. |