[aklug] Raid 1 Disk failure - Rebuild question

From: William D. McKinney <deem@wdmfam.com>
Date: Mon Apr 14 2008 - 21:27:05 AKDT

I have a software raid 1 system with a failed disk. I will be ordering a
new disk and wondered if rebuilding the mirror is simple in nature. The
raidtab looks like this:

# autogenerated /etc/raidtab by YaST2

raiddev /dev/md0
   raid-level 1
   nr-raid-disks 2
   nr-spare-disks 0
   persistent-superblock 1
   chunk-size 4
   device /dev/sda1
   raid-disk 0
   device /dev/sdb1
   raid-disk 1

raiddev /dev/md1
   raid-level 1
   nr-raid-disks 2
   nr-spare-disks 0
   persistent-superblock 1
   chunk-size 4
   device /dev/sda2
   raid-disk 0
   device /dev/sdb2
   raid-disk 1

raiddev /dev/md2
   raid-level 1
   nr-raid-disks 2
   nr-spare-disks 0
   persistent-superblock 1
   chunk-size 4
   device /dev/sda3
   raid-disk 0
   device /dev/sdb3
   raid-disk 1
-----------------------------------------------------------------------

As you can tell, this is a SUSE 10.1 system. Had 2 drives and wala, one
failed after a year. Heavy use so I guess it's OK. Is this the best
command ?
# raidhotadd /dev/mdX /dev/sdX

/sbin/mdadm is available.

Any help appreciated.

-Dee
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Apr 14 21:27:49 2008

This archive was generated by hypermail 2.1.8 : Mon Apr 14 2008 - 21:27:50 AKDT