LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-28-2009, 11:10 PM   #1
orenga
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
RAID 5 problem


Hi everyone


I had raid 5 for data, with 3 disks: /dev/sdb /dev/sdc /dev/sdd.
Also there is a system disk /dev/sda.
I add another system disk that become /dev/sdb so the raid disks become /dev/sdc /dev/sdd /dev/sde.
Since the raid disk didn't start I made a mistake and try to assemble the raid with the previous configuration:

Code:
echo 'DEVICE /dev/sdb /dev/sdc /dev/sdd' > mdadm.conf
mdadm --examine --scan --config=mdadm.conf >> mdadm.conf
mdadm -A --scan
Immediately after that I understood what I did and now I try to fix it.
Now the situation is that I have the raid but can't mount it:

Code:
# mdadm -D /dev/md0

/dev/md0:
        Version : 0.90
  Creation Time : Wed Aug 27 19:35:26 2008
     Raid Level : raid5
     Array Size : 625142272 (596.18 GiB 640.15 GB)
  Used Dev Size : 312571136 (298.09 GiB 320.07 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Jan 29 06:05:11 2009
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : ce1bae3d:532e86e3:14e9d8a5:05270762
         Events : 0.28

    Number   Major   Minor   RaidDevice State
       0       8       32        0      active sync   /dev/sdc
       1       8       16        1      active sync   /dev/sdb
       2       8       48        2      active sync   /dev/sdd
Code:
# mount /dev/md0 /mnt/RaidData/

mount: wrong fs type, bad option, bad superblock on /dev/md0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
Can anyone help me before I do something wrong.
Thanks
Oren
 
Old 02-03-2009, 01:12 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 703

Rep: Reputation: 80
What does "cat /proc/mdstat" say? Any harddisk down? (when instead of the "U" thre is a "_").
E.g. for me it looks like this:

Code:
Personalities : [raid6] [raid5] [raid4] [raid1] 
md0 : active raid5 sde1[0] sdb1[3] sdd1[2] sdc1[1]
      732587712 blocks level 5, 32k chunk, algorithm 2 [4/4] [UUUU]
      
md1 : active raid1 sdf1[0] sdg1[1]
      1465135936 blocks [2/2] [UU]
      
unused devices: <none>
 
  


Reply

Tags
raid, restore


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
RAID Problem TomaCzar Slackware 6 12-29-2005 07:17 AM
Raid Problem Fedora Core 3, RAID LOST DISKS ALWAYS icatalan Linux - Hardware 1 09-17-2005 03:14 AM
RAID 1 problem danm Linux - General 1 12-30-2003 10:18 PM


All times are GMT -5. The time now is 06:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration