mdadm question

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users mdadm question
# 1  
Old 09-14-2011
Java mdadm question

Hello, I have 4 drives (500G each) in a raid 10, I got a power failior and this is the result?
 cat /proc/mdstat
Personalities :
md126 : inactive sdb[3] sdc[2] sdd[1] sde[0]
      1953536528 blocks super external:-md127/0
md127 : inactive sdd[3](S) sde[2](S) sdb[1](S) sdc[0](S)
      9028 blocks super external:imsm
unused devices: <none>

dmraid -ay -t
isw_dcdhceeejb_Volume0-0: 0 976768000 mirror core 2 131072 nosync 2 /dev/sdb 0 /dev/sdc 0 1 handle_errors
isw_dcdhceeejb_Volume0-1: 0 976768000 mirror core 2 131072 nosync 2 /dev/sdd 0 /dev/sde 0 1 handle_errors
isw_dcdhceeejb_Volume0: 0 1953536000 striped 2 8 /dev/mapper/isw_dcdhceeejb_Volume0-0 0 /dev/mapper/isw_dcdhceeejb_Volume0-1 0

How to get the RAID up and running again I tried:
mdadm --assemble -v /dev/md126 /dev/sdb /dev/sdc /dev/sdd /dev/sde --run

but the result was no the expected.

Last edited by Scott; 09-14-2011 at 02:41 PM.. Reason: Code tags
# 2  
Old 09-14-2011
If the result wasn't what was expected, what was the result?

---------- Post updated at 11:46 AM ---------- Previous update was at 11:40 AM ----------

Personalities : (complete and total lack of any raid modes)

Mine looks like
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]

It doesn't look like you have any RAID modules loaded. Try modprobe raid10 and try again.
# 3  
Old 09-14-2011
still not running

cat /proc/mdstat
Personalities : [raid10]
unused devices: <none>

mdadm --assemble -v /dev/md126 /dev/sdb /dev/sdc /dev/sdd /dev/sde --run
mdadm: looking for devices for /dev/md126
mdadm: /dev/sdb is identified as a member of /dev/md126, slot -1.
mdadm: /dev/sdc is identified as a member of /dev/md126, slot -1.
mdadm: /dev/sdd is identified as a member of /dev/md126, slot -1.
mdadm: /dev/sde is identified as a member of /dev/md126, slot -1.
mdadm: added /dev/sdc to /dev/md126 as -1
mdadm: added /dev/sdd to /dev/md126 as -1
mdadm: added /dev/sde to /dev/md126 as -1
mdadm: added /dev/sdb to /dev/md126 as -1
mdadm: Container /dev/md126 has been assembled with 4 drives

cat /proc/mdstat
Personalities : [raid10]
md126 : inactive sdb[3](S) sde[2](S) sdd[1](S) sdc[0](S)
9028 blocks super external:imsm
# 4  
Old 09-14-2011
This should print detailed stats on the drives, and detailed info on the array:
mdadm --examine /dev/sdb
mdadm --examine /dev/sdc
mdadm --examine /dev/sdd
mdadm --examine /dev/sde
mdadm --detail /dev/md126

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to fix mistake on raid: mdadm create instead of assemble?

Hi guys, I'm new to RAID although I've had a server running raid5 for a while. It was delivered preinstalled like this and I never really wondered how to monitor and maintain it. This quick introduction just to let you understand why I'm such an idiot asking such a silly question. Now what... (0 Replies)
Discussion started by: chebarbudo
0 Replies

2. Filesystems, Disks and Memory

MDADM Failure - where it came from?

Hello, i have a system with 6 sata3 seagate st3000dm01 disks running on stable Debian with software raid mdadm. i have md0 for root and md1 for swap and md2 for the files. i now want to add one more disk = sdh4 for md2 but i got this errors: The new disk is connected to an 4 port sata... (7 Replies)
Discussion started by: Sunghost
7 Replies

3. UNIX for Advanced & Expert Users

USB RAID 5 Problem on Joli OS 1.2 (Ubuntu) using mdadm

Hi All, I have been trying to create a USB RAID 5 using mdadm tool on Joli OS 1.2 (Ubuntu) but with no luck. I cannot even get pass the creation of array device (/dev/md0) and superblock. I am using 3 USB keys (2 16.4 GB kingston and 1 16GB sandisk). My steps are: ... (5 Replies)
Discussion started by: powelltallen
5 Replies

4. Red Hat

mdadm for / and /boot

had this RHEL 5 installation with /dev/sda1 and /dev/sda2 running.. created two more partitions /dev/sdj1 and /dev/sdj2 , the same sized partition as /dev/sda trying to use mdadm to create RAID1 .. I cannot even do it in "rescue" mode, I wonder if it can be done.. it kept... (2 Replies)
Discussion started by: ppchu99
2 Replies

5. UNIX for Advanced & Expert Users

mdadm container! How does it work

Hi everyone, I am not sure if I understand how mdadm --create /dev/md0 --level=container works? A device called /dev/md0 appears in /proc/mdstat but I am not sure how to use that device? I have 2 blank drives with 1 500GB partition on each. I would like to setup mirroring, but not in the... (0 Replies)
Discussion started by: hytron
0 Replies

6. Emergency UNIX and Linux Support

mdadm unable to fail a resyncing drive?

Hi All I have a RAID 5 array consisting of 4 drives that had a partial drive failure in one of the drives. Rebooting shows the faulty drive as background rebuilding and mdadm /dev/ARRAYID shows three drives as in sync with the fourth drive as spare rebuilding. However the array won't come... (9 Replies)
Discussion started by: Bashingaway
9 Replies

7. Virtualization and Cloud Computing

is mdadm --incremental --rebuild --run --scan destructive?

Hello Unix Community: My task to figure out how to add a 20G volume to an existing EBS Array (RAID0) at AWS. I haven't been told that growing the existing volumes isn't an option, or adding another larger volume to the existing array is the way to go. The client's existing data-store is... (0 Replies)
Discussion started by: Habitual
0 Replies

8. Linux

mdadm - Swapping 500GB disks for 1TB

Hi, I have a three disk raid 5, with 500GB disks. This is close to being full, and whilst I can just add another disk and rebuild to add another 500GB, I would prefer to replace with 1TB disks. So i have some questions. Can I replace these disks one by one with bigger disks? I... (1 Reply)
Discussion started by: snoop2048
1 Replies
Login or Register to Ask a Question