#1  
Old 29th October 2006, 19:06
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 1 Time in 1 Post
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 19:08.
Reply With Quote
Sponsored Links
  #2  
Old 30th October 2006, 15:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Have a look here: http://aplawrence.com/Linux/rebuildraid.html
http://aplawrence.com/Linux/rebuildraid.html
http://www.cyberciti.biz/faq/howto-r...-a-disk-fails/
http://www.howtoforge.com/forums/sho...t=rebuild+raid
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th October 2006, 15:25
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ColdDoT
Default

WoW my server is more f*cked up then i tought :s

it isn't that big deal because over about 3 weeks i'm gonna redo the whole system

thx for all
__________________
2B or not 2B (a pro)
Reply With Quote
  #4  
Old 30th October 2006, 16:25
ghys ghys is offline
Junior Member
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for the great links. Very good info in them.
I am still looking for the best all around solution for the system i have to setup.

Either Raid 1 with a spare drive to backup or Raid 5.
I will not duplicate posts since i already asked something in here(another thread).
I will continue looking for the right answer.

thanks again.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
need to install raid 1, on linux, which controller do u suggest? lyndros Installation/Configuration 5 5th August 2007 12:06
Fedora Core 2 Turns into ReadOnly File system after rebuilding Hardware Raid agurung Installation/Configuration 3 23rd August 2006 15:40
SATA Software RAID 1 on Linux mphayesuk Installation/Configuration 2 21st February 2006 12:31
md RAID reconstruction hints & tips? ryoken Installation/Configuration 16 16th February 2006 03:22
Suse 10 RAID 1 How To mphayesuk Installation/Configuration 2 11th February 2006 05:56


All times are GMT +2. The time now is 00:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.