Hi All, I'm having a bit of a time with MDADM. Basically I have a RAID6 system setup w/ 10 hard drives (1.5GB). Last night I had a failed drive and i accidentally failed out the wrong drive trying to fix it. Right now I can get the array to assemble successfully but I cant read anything off of md0, it can't mount either.
I have looked all over for an answer to this.
I created a RAID1 array on two non OS 3TB GPT disks using mdadm, it built, formatted EXT3, shows up in "Computer" as raidarray: DATA. Won't open.
Came home from work to a crashed RAID5 array in my 10.04 box.
I went into Disk Utility and stopped the array, and when I tried to restart the array I received this error:
Error assembling array: mdadm exited with exit code 1: mdadm: metadata format 00.90 unknown, ignored.
mdadm: cannot open device /dev/sdc1: Device or resource busy
mdadm: /dev/sdc1 has no superblock - assembly aborted
OK, I think I am up and running again without any data loss.With the help of this post, the thread it is referencing and my newborn daughter on my chest for good luck I did the following:sudo mdadm --zero-superblock /dev/sdd1 /dev/sdb1 /dev/sdc1 /dev/sde1I then recreated the array:sudo mdadm --create -v -l 5 -n 4 --assume-clean /dev/md0 /dev/sdd1 /dev/sdb1 /dev/sdc1 /dev/sde1
mdadm: layout defaul
Hi
No longer able to access my raid, not sure what caused this, but im not able to start it either, help!
mdadm -E /dev/md0
mdadm: no md superblock detected on /dev/md0
mdadm -D /dev/md0
mdadm: md device /dev/md0 does not appear to be active
cat /proc/mdstat shows
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0: inactive sdb1[2](S) sdc1[1](S)
Tried to look for similar cases but can't find anything similar.
I had a system with 4 disks:
OS debian:
- /dev/sda
RAID:
- /dev/sdb
- /dev/sdc
- /dev/sdd
The old system disk crashed, so I installed a new one and retried to resync the array.
It took two hours to resync the RAID, but I'm unable to mount it.
My server Dell R210 runs a Debian squeeze with hardware RAID1 (H200) preconfigured. But I notice that there is mdadm running. Sometimes in backup, or in OS upgrade (to Debian 6.0.4), I have messages like this:
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mdadm: no arrays defined in configuration file.
Are they safe to ignore? How do I disable mdadm?
My Raid 5 array (4 1tb Disks WD10EARS) had was showing as degraded.
I looked and one of the disks wasnt installed, so i re-added it with the mdadm add command.
the array is now showing as (null)Array , but cant be mounted
if i run:
root@warren-P5K-E:/home/warren# sudo mdadm --misc --detail /dev/md0
I get:
mdadm: cannot open /dev/md0: No such file or directory
and running:
root@warren-P5K-
I'm using Intrepid and mdadm 2.6.7.
I had a clean stable raid5 array, 5x1tb, before I started. I decided to add another 1tb drive to the array because space was getting low.
I connected the new drive and issued the following commands:
Code:
sudo mdadm --add /dev/md0 /dev/sdg