linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AW: raid1 reconfig failed to work! help!
@ 2002-10-02 13:01 Martin Bene
  2002-10-02 14:00 ` Alex
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Bene @ 2002-10-02 13:01 UTC (permalink / raw)
  To: Alex, linux-raid

> [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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AW: raid1 reconfig failed to work! help!
  2002-10-02 13:01 AW: raid1 reconfig failed to work! help! Martin Bene
@ 2002-10-02 14:00 ` Alex
  2002-10-02 14:06   ` Derek Vadala
  0 siblings, 1 reply; 4+ messages in thread
From: Alex @ 2002-10-02 14:00 UTC (permalink / raw)
  To: linux-raid

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AW: raid1 reconfig failed to work! help!
  2002-10-02 14:00 ` Alex
@ 2002-10-02 14:06   ` Derek Vadala
  2002-10-02 14:29     ` Alex
  0 siblings, 1 reply; 4+ messages in thread
From: Derek Vadala @ 2002-10-02 14:06 UTC (permalink / raw)
  To: Alex; +Cc: linux-raid

On Wed, 2 Oct 2002, Alex wrote:

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

Try mdadm (http://www.cse.unsw.edu.au/~neilb/source/mdadm/). It has a
monitor mode which can be customized to execute any program when an array
(or array member disk) fails. It can also send email alerts.

---
Derek Vadala, derek@cynicism.com, http://www.cynicism.com/~derek


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AW: raid1 reconfig failed to work! help!
  2002-10-02 14:06   ` Derek Vadala
@ 2002-10-02 14:29     ` Alex
  0 siblings, 0 replies; 4+ messages in thread
From: Alex @ 2002-10-02 14:29 UTC (permalink / raw)
  To: linux-raid

Thanks, i will try.

Regards Alex

On Wednesday 02 October 2002 17:06, Derek Vadala wrote:
> On Wed, 2 Oct 2002, Alex wrote:
> > Another question: did you know a program for monitoring raid array
> > and when a hdd is down(mark failed) to start some beeps?
>
> Try mdadm (http://www.cse.unsw.edu.au/~neilb/source/mdadm/). It has a
> monitor mode which can be customized to execute any program when an
> array (or array member disk) fails. It can also send email alerts.
>
> ---
> Derek Vadala, derek@cynicism.com, http://www.cynicism.com/~derek


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-02 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02 13:01 AW: raid1 reconfig failed to work! help! Martin Bene
2002-10-02 14:00 ` Alex
2002-10-02 14:06   ` Derek Vadala
2002-10-02 14:29     ` Alex

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).