Thread: Raid rebuilding
View Single Post
  #1  
Old 29th October 2006, 18:06
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColdDoT
Default Raid rebuilding

Hello again (after big server crash)

i have taken a relook to my raid system.

this is in fstab
Code:
proc            /proc           proc    defaults        0       0
/dev/hde1       /               ext3    defaults,errors=remount-ro,usrquota,grpquota 0       1
/dev/hdc2       /boot           ext3    defaults        0       2
/dev/md0        /var            ext3    defaults        0       2
/dev/hdc3       none            swap    sw              0       0
/dev/hda        /media/cdrom0   iso9660 ro,user,noauto  0       0
this is when i run mdam
Code:
server:~# mdadm /dev/md1
/dev/md1: 72.64GiB raid1 2 devices, 1 spare. Use mdadm --detail for more detail.
server:~# mdadm /dev/md0
/dev/md0: 64.50GiB raid1 2 devices, 0 spares. Use mdadm --detail for more detail.
The /proc/mdstat file currently contains the following
Code:
Personalities : [raid1] 
read_ahead 1024 sectors
md0 : active raid1 ide/host1/bus0/target0/lun0/part4[0]
      67633536 blocks [2/1] [U_]
      
md1 : active raid1 ide/host1/bus1/target0/lun0/part2[0]
      76172096 blocks [2/1] [U_]
      
unused devices: <none>
Detaild output
Code:
/dev/md0:
        Version : 00.90.02
  Creation Time : Wed Jan 18 15:50:39 2006
     Raid Level : raid1
     Array Size : 67633536 (64.50 GiB 69.26 GB)
    Device Size : 67633536 (64.50 GiB 69.26 GB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sun Oct 29 14:38:43 2006
          State : active, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           UUID : 9ac9b941:4446a4fa:03a7860f:ebd53b67
         Events : 0.138577

    Number   Major   Minor   RaidDevice State
       0      22        4        0      active sync   /dev/hdc4
       1       0        0        1      removed
Code:
/dev/md1:
        Version : 00.90.00
  Creation Time : Mon Jan 30 16:17:10 2006
     Raid Level : raid1
     Array Size : 76172096 (72.64 GiB 78.00 GB)
    Device Size : 76172096 (72.64 GiB 78.00 GB)
   Raid Devices : 2
  Total Devices : 3
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Sun Oct 29 14:38:43 2006
          State : active, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 2
  Spare Devices : 1

           UUID : d4d9da1f:2c766230:e2b77d58:31c0828a
         Events : 0.267

    Number   Major   Minor   RaidDevice State
       0      33        2        0      active sync   /dev/hde2
       1       0        0        1      removed
What the hell? now it is sure none of my hardisk are broken right?

Can some 1 help me

Greets ColdDoT
__________________
2B or not 2B (a pro)

Last edited by ColdDoT; 29th October 2006 at 18:08.
Reply With Quote
Sponsored Links