Re: raidhotadd and RAID1
hi ya patrick
yeah... raidhotadd .... i just am too lazy to go look up
the latest commands... keeps changing :-)
and new ones added each year ...
( nope, i dont use them commands too often so far )
if you can do your raidhotadd and it works ??
cat /proc/mdstat --> what does it say
write a huge 3GB file to the raid array, take it down
and see if the 3GB is corrupt etc..
- lots o testing ...
- donno why it wont "stick" -- maybe something
wrong with /etc/raidtab or wrong partition type
for /dev/hdg ??? ( should be fd ( raid autodetect )
or something like it ( fdisk, cfdsisk, ... )
- if its based on bios, hw raid.... ignore everything
in here ... bios hw raid doesnt work ... and doesnt
need any of these commands/files
- reboot with only one disk for a good test..
On Sun, 1 Sep 2002, patrick wrote:
> --- Alvin Oga <aoga@Maggie.Linux-Consulting.com> wrote:
> > hi ya michael
> > -- looks like we have a mis-communication.. lets try it again
> > my understanding so far..
> > - you had sda and sdb running as raid1 ( mirroring ) before
> > - if this not the case... all bets are off
> > - than sdb dies .... you replaced it ...
> > and now we are trying to rebuild the raid1 as it should be
> > ( that the system can boot off either sda or sdb
> > - simply doing something like "hotswapadd /dev/sdb"
> > will automatically do all the magic to rebuild the raid
> > as it was before the disk crashed
> Hi Alvin,
> I've never heard of "hotswapadd", did you mean "raidhotadd" ?
> I also have raid-1 problems. raid-0 gets started fine, but raid-1
> starts in degraded mode, using only hde. (started after I had to
> rebuild the partition table on hdg)
> I can manually raidhotadd /dev/md? /dev/hdg?
> which restores the arrays fine, but it doesn't 'stick'. I have to
> raidhotadd after every boot.