EDIT: Please skip to reply #3 .. I have figured most of this stuff out, my main question lies there. Read it all if you'd like, and if you have time 
-----------------------------
I just replaced one of my two hard drives in my mirror array on a RH 7.3 box. I was doing this with software raid.
I have a swap of 1 gig and a / of ~ 36 gig
here is my /proc/mdstat:
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hda2[0]
1020032 blocks [2/1] [U_]
md1 : active raid1 hda1[0]
38049856 blocks [2/1] [U_]
unused devices: <NONE>
Apparently, I'm supposed to use raidhotadd .... but I don't know how to use it, I'm not sure if the new disk has to be formatted. I kind of mucked around with some commands... raidhotadd /dev/md1 /dev/hda2 and that sort of thing but it gives me a "the disk is too small" .. or it gives me bad syntax
So I'm stumped .. off to do some more google searches, this is a headache.
mdstat: (or the part that matters right now)
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda
MA, hdb
io
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc
io, hdd
MA
hda: MAXTOR 6L040J2, ATA DISK drive
hdd: MAXTOR 6L040J2, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63, UDMA(100)
hdd: setmax LBA 78177792, native 66055248
hdd: 66055248 sectors (33820 MB) w/1819KiB Cache, CHS=65531/16/63, UDMA(100)
This new drive is a 40 gig maxtor, as you can see it's the same model number, why is it only being registered as 33 gig?
Also why is it being detected in PIO mode? I have ata100 cables on both drives, both drives are on individual IDE channels. Abit KT7A (non raid) mobo
my cmd:
md0 : active raid1 hda2[0]
1020032 blocks [2/1] [U_]
md1 : active raid1 hda1[0]
38049856 blocks [2/1] [U_]
unused devices: <NONE>
[root@red root]# raidhotadd /dev/md0 /dev/hda1
/dev/md0: can not hot-add disk: invalid argument.
[root@red root]# raidhotadd /dev/md1 /dev/hda2
/dev/md1: can not hot-add disk: too small disk!
[root@red root]#
i/i]
Okay, I threw the old disk back in and did the following:
[root@red root]# raidhotadd /dev/md0 /dev/hdc
It returned no errors and the HDD LED got really active for a long while
I have two partitions though .. I was under the impression that /dev/md0 was swap and /dev/md0 was /
or something
[root@red root]# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hdc[1] hda2[0]
1020032 blocks [2/2] [UU]
md1 : active raid1 hda1[0]
38049856 blocks [2/1] [U_]
-----------------------------
I just replaced one of my two hard drives in my mirror array on a RH 7.3 box. I was doing this with software raid.
I have a swap of 1 gig and a / of ~ 36 gig
here is my /proc/mdstat:
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hda2[0]
1020032 blocks [2/1] [U_]
md1 : active raid1 hda1[0]
38049856 blocks [2/1] [U_]
unused devices: <NONE>
Apparently, I'm supposed to use raidhotadd .... but I don't know how to use it, I'm not sure if the new disk has to be formatted. I kind of mucked around with some commands... raidhotadd /dev/md1 /dev/hda2 and that sort of thing but it gives me a "the disk is too small" .. or it gives me bad syntax
So I'm stumped .. off to do some more google searches, this is a headache.
mdstat: (or the part that matters right now)
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc
hda: MAXTOR 6L040J2, ATA DISK drive
hdd: MAXTOR 6L040J2, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=4866/255/63, UDMA(100)
hdd: setmax LBA 78177792, native 66055248
hdd: 66055248 sectors (33820 MB) w/1819KiB Cache, CHS=65531/16/63, UDMA(100)
This new drive is a 40 gig maxtor, as you can see it's the same model number, why is it only being registered as 33 gig?
Also why is it being detected in PIO mode? I have ata100 cables on both drives, both drives are on individual IDE channels. Abit KT7A (non raid) mobo
my cmd:
md0 : active raid1 hda2[0]
1020032 blocks [2/1] [U_]
md1 : active raid1 hda1[0]
38049856 blocks [2/1] [U_]
unused devices: <NONE>
[root@red root]# raidhotadd /dev/md0 /dev/hda1
/dev/md0: can not hot-add disk: invalid argument.
[root@red root]# raidhotadd /dev/md1 /dev/hda2
/dev/md1: can not hot-add disk: too small disk!
[root@red root]#
i/i]
Okay, I threw the old disk back in and did the following:
[root@red root]# raidhotadd /dev/md0 /dev/hdc
It returned no errors and the HDD LED got really active for a long while
I have two partitions though .. I was under the impression that /dev/md0 was swap and /dev/md0 was /
or something
[root@red root]# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hdc[1] hda2[0]
1020032 blocks [2/2] [UU]
md1 : active raid1 hda1[0]
38049856 blocks [2/1] [U_]