Re: AW: raid1 reconfig failed to work! help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Martin,

Thanks for the hint is working!

Another question: did you know a program for monitoring raid array and 
when a hdd is down(mark failed) to start some beeps?

Thanks,
Alex


On Wednesday 02 October 2002 16:01, Martin Bene wrote:
> > [root@server root]# cat /etc/raidtab
> > raiddev /dev/md0
> >         raid-level      1
> >         nr-raid-disks   2
> >         nr-spare-disks  0
> >         chunk-size     32
> >         persistent-superblock 1
> >         device          /dev/sdb1
> >         raid-disk       0
> >         device          /dev/sdc1
> >         raid-disk       1
> >
> > Now i tryed to add a spare hdd. For this, i edited a newraidtab
> > file: [root@server root]# cat /etc/newraidtab
> > raiddev /dev/md0
> >         raid-level      1
> >         nr-raid-disks   2
> >         nr-spare-disks  1
> >         chunk-size     32
> >         persistent-superblock 1
> >         device          /dev/sdb1
> >         raid-disk       0
> >         device          /dev/sdc1
> >         raid-disk       1
> > 	device	/dev/sdb1
> > 	spare-disk	0
> >
> > [root@server root]# raidreconf -o /etc/raidtab -n /etc/newraidtab
> > -m
>
> You don't need raidreconf to add a spare disk; just add it with
> raidhotadd to the running array.
>
> Bye, Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux