Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Trouble with Raid 1



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




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org