<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
what's your raidtab file look like and did you run mkraid after you created the raidtab file?<BR>
-tom<BR>
<BR>
On Sun, 2004-04-25 at 09:28, Doug Sweetser wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Hello:

I am trying to setup Raid 1 for my system.  I generate what looks 
like good info during the creation process, but after rebooting, 
the md device is not there.  I want to initially just have one hard 
disk - to prove it is working - then add another disk for real
mirroring.

Here is the output during the creation process:

> mdadm --detail --scan
ARRAY /dev/md8 level=raid1 num-devices=2 UUID=f5e56fdf:75f6d5ed:ce8eef25:1c2469ab
   devices=/dev/hdb8
> cat /proc/mdstat
Personalities : [raid1] 
read_ahead 1024 sectors
md8 : active raid1 ide/host0/bus0/target1/lun0/part8[0]
      4785344 blocks [2/1] [U_]
      
unused devices: <none>
/dev/md8:
        Version : 00.90.00
  Creation Time : Sun Apr 25 08:38:27 2004
     Raid Level : raid1
     Array Size : 4785344 (4.56 GiB 4.90 GB)
    Device Size : 4785344 (4.56 GiB 4.90 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 8
    Persistence : Superblock is persistent

    Update Time : Sun Apr 25 08:38:28 2004
          State : dirty, no-errors
 Active Devices : 1
Working Devices : 1
 Failed Devices : 1
  Spare Devices : 0


    Number   Major   Minor   RaidDevice State
       0       3       72        0      active sync   /dev/hdb8
       1       0        0        1      faulty
           UUID : f5e56fdf:75f6d5ed:ce8eef25:1c2469ab
         Events : 0.1
> cat /etc/mdadm.conf
DEVICE /dev/hdb8
ARRAY /dev/md8 level=raid1 num-devices=2 UUID=f5e56fdf:75f6d5ed:ce8eef25:1c2469ab
   devices=/dev/hdb8
> cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda6       none            swap    sw              0       0
/dev/hda5       /boot           ext3    defaults        0       2
/dev/hda7       /tmp            ext3    defaults        0       2
/dev/hda8       /home           ext3    defaults        0       2
/dev/md8       /mnt           fd    defaults        0       2
/dev/hda10      /               ext3    defaults,errors=remount-ro 0       1
/dev/hda9       /var            ext3    defaults        0       2
# Removable media
/dev/hdc        /cdrom          iso9660 defaults,ro,noauto,user 0       0
/dev/fd0        /floppy         auto noauto,user        0       0

After rebooting:
> mdadm --detail --scan
> cat /proc/mdstat
Personalities :
read_ahead not set
unused devices: <none>


doug
_______________________________________________
Discuss mailing list
Discuss@blu.org</FONT>
<A HREF="http://www.blu.org/mailman/listinfo/discuss"><U>http://www.blu.org/mailman/listinfo/discuss</U></I></A></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Tom Lopolito<BR>
Parsec Systems LLC<BR>
508.297.1021<BR>
tom@parsecsystemsllc.com<BR>
<BR>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>