a utility to administrate Linux Software RAID devices

learn more… | top users | synonyms

3
votes
2answers
4k views

RAID (mdadm) - What happens if drives are mismatched in size?

Question 1 - Before you answer with "it just takes the smaller disk", hear me out quick. My 3TB WD Reds come out to be 3001 GB in size. Let's say I set up a mirror via mdadm for sdb1 and sdc1 which ...
0
votes
1answer
382 views

RAID (mdadm) - File system relevant prior to building the array?

In the event I want to set up a RAID 1 mirror utilizing mdadm, is it needed to have a file system on the drives first? Reason I ask is my desktop which has RAID 1 (built from the alternate install CD) ...
8
votes
1answer
34k views

Software raid - mdadm - re-find my array

Description Today I plugged in another hard drive and unplugged my raid drives to ensure when I wiped the drive, I would not accidentally pick the wrong drives. Now that I have re-plugged in my ...
1
vote
1answer
3k views

Ubuntu 12.04 hangs on boot, won't mount mdadm array

I have two problems that I believe are related. One has been happening for years through multiple versions of Ubuntu (at least from 11.10 to 12.04), the other is new since I update the kernel. First ...
1
vote
1answer
3k views

How do I fix “mdadm: /dev/sdc1 not large enough to join array” for three identical discs?

After uppgrading to Ubuntu 12.04 LTS in my server grub started to complain and give errors about my raid array, everything still seems to be working but it is a bit unnerving to have grub giving ...
0
votes
2answers
1k views

Would Mdadm be faster than fake raid adapter?

I just bought myself 2 x 3tb wd red drives and a startech 4 port raid card . Unfortunately, I have a very, very strong suspicion that this is a 'fake-raid' card as it is not from any of the main ...
0
votes
1answer
7k views

How to make GRUB2 detect and boot Ubuntu on a RAID 1?

grub 2 is unable to detect /dev/md1 which is a raid 1 drive on my computer. When I press c in grub menu and run ls I get a list of all the drives but don't see md1 for booting Ubuntu which is on ...
3
votes
1answer
2k views

New computer, same RAID. MDADM won't assemble

Ubuntu 12.04 64. Hardware failure (motherboard) led me to build a new machine, and I took the opportunity to do a fresh install of Ubuntu (first one was a learning experience). I moved the raid disks ...
3
votes
1answer
705 views

RAID 5 reassemble stating wrong homehost?

So I went from a degraded RAID, to a dissasembled RAID, to now trying to reassemble it. Im getting a weird message when trying to --assemble the RAID. I have 6 drives, so /dev/sd[a-f]1. When trying to ...
0
votes
1answer
219 views

Ubuntu 10.2 to Ubuntu 12.04 LTS migration with mdadm (software RAID)

I am very hesitant to push the "Upgrade" button that I see in my Software Updates program. The reason for this is the fact that my server is configured as Backup server with software raid. Is there ...
1
vote
0answers
2k views

Recovering from RAID5 with 2 failed drives, only one of them really dead

I have (had?) a RAID5 with 3 devices. One of them died, and after some days I experienced that the RAID stopped at all. However, I could restart it without experiencing any problems, but it stopped ...
2
votes
3answers
14k views

How can I create one logical volume over two disks using LVM?

Hi. I've got a working Ubuntu 12.04 server, which is going to serve as media server. I've added two disks of size 3TB to put my data on, and I wish to combine these as one 6TB logical volume which I ...
0
votes
2answers
5k views

Add two new HDD in Raid 1

I just made a fresh install of Ubuntu 12.10 on a new SSD (/dev/sda). Now I would like to add two 1TB drives (/dev/sdb /dev/sdc) in RAID 1 but I'm pretty clueless on how to do it. This is what I came ...
1
vote
0answers
1k views

ubuntu 12.10: raid 5 array degraded on every boot [closed]

I'm running ubuntu 12.10. I've set up raid5 using 3 HDDs: /dev/sda, /dev/sdb, and /dev/sdc. However on every boot I get this screen: Which says raid level 5 active with 2 out of 3 devices, ...
2
votes
2answers
5k views

Ubuntu Server 12.04, MDADM device number suddenly changes?

I'm facing a really annoying bug, I have set up a Software RAID1 with mdadm, and the setup went just ok with this results /dev/md/lucas.mgscreativa.com.ar:0 I have also configured mdadm.conf ...
11
votes
3answers
20k views

Why is my RAID /dev/md1 showing up as /dev/md126? Is mdadm.conf being ignored?

I created a RAID with: sudo mdadm --create --verbose /dev/md1 --level=mirror --raid-devices=2 /dev/sdb1 /dev/sdc1 sudo mdadm --create --verbose /dev/md2 --level=mirror --raid-devices=2 /dev/sdb2 ...
2
votes
2answers
6k views

Removing mdadm array and converting to regular disks while preserving data

I have a 6 disk (2TB each) mdadm RAID 5 volume created in Ubuntu 12.04 Server. However, I'm moving to a different solution and want to "unraid" my disks but keep the data. Only 50% is in use. From ...
2
votes
1answer
3k views

mdadm fails after 10.04 -> 12.04 upgrade

I just upgraded my Ubuntu server (in the role of NAS) from 10.04 to 12.04. Since both are LTS versions I didn't expect any issues and... didn't make any backups. My bad. After upgrade, the server ...
3
votes
1answer
257 views

OS drive failure and RAID5 mdadm question

I'm fairly new to Ubuntu but I was able to setup my server with RAID5. The OS resides on a separate drive and there are 3 drives in my array. The problem is that I had to reinstall my OS on a new ...
0
votes
1answer
3k views

MDADM Raid Drive rebuild each reboot

So I have been posting a lot about a RAID build with MDADM and Ubuntu (sorry about that). Im just not understanding whats going on with my setup. I have a RAID-5 setup, and followed this guide ...
0
votes
1answer
5k views

MDADM Config file

So I've asked a few similiar questions before, but my RAID continues to break. Im not sure whats going on. I really need to redo the whole thing. Right now, my /dev/md127 is "inactive" In the steps ...
0
votes
1answer
598 views

Ubuntu 12.04 mdadm inactive

For a while now, my RAID 5 has ceased to work. Everytime I tried "madm --detail /dev/md127", its states all the drive and drive info, but that two of the drives have been removed. After some ...
1
vote
1answer
3k views

Can I create a hybrid software-RAID array with disks of different sizes?

Products such as Synology offer something called Synology Hybrid RAID http://www.synology.com/us/products/features/RAID.php This RAID type allows you to make best use of your disks available by ...
1
vote
1answer
502 views

Raid 5 mdadm Problem - Help Please

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 ...
5
votes
2answers
16k views

Put HDDs in standby after X minutes using hdparm doesn't work

I use Ubuntu 12.04 on a home server. There are 5 hard drives: one SSD with the OS and 4 HDDs (Samsung HD204UI) configured as a RAID5 using mdadm. I don't need the RAID very often (say, about once per ...
0
votes
1answer
1k views

mdadm trying to resync/rebuild array automatically

Previously I had setup a ubuntu server using mdadm with 4x 2TB drives. One of my drives died and since this was my backups of my data on different servers I didn't care about losing it. Since then, ...
9
votes
2answers
4k views

Do I have to worry about “error: superfluous RAID member”?

When running update-grub on the newly installed Ubuntu 12.04 with an older software RAID (md), I get: error: superfluous RAID member (5 found). error: superfluous RAID member (5 found). Generating ...
1
vote
1answer
6k views

MDADM Raid 0 won't mount: one drive has bad superblock

I'm quite new in the world of Linux and software-raid but I encountered a problem in which I hope you guys can help me. Few days ago the system was not shutdown properly and when I booted the mdadm ...
2
votes
3answers
2k views

get rid of software raid

We are running software raid1 using MDADM on ubuntu 11.04. What's the best way to get rid of it Keeping the current system ? I want to use hardware raid instead. What I tried to do: -Copied the ...
1
vote
1answer
974 views

Windows broke my md RAID. (Unknown RAID level -1000000)

I did something very stupid today. Now I'm just hoping to find someone who is even more smart than I am stupid. I have a couple of hot swappable disks. Since I'm going to screencast Ubuntu 12.04LTS ...
2
votes
2answers
688 views

raid 5 name changing during reboot

I left my server running all night 'recovering' after i built a new raid 5 array using the command: mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sd[bcd]1 My server spent all ...
0
votes
1answer
72 views

Add wrong device to software raid?

a few days ago my raid5 had an crash. i replaced the hdd and add the wrong device to the raid (i add the device and not the partition) Now the raid seems to work with follow config: md0 : active ...
0
votes
1answer
844 views

Replaced drive in RAID array--now can't boot?

I have a home server running 10.04 configured with an mdadm-based RAID array. The boot and /home partitions are both on RAID-1 arrays, and I have a large data partition on RAID-5. There are three ...
2
votes
1answer
2k views

Converting to btrfs from md raid5 with lvm

I have decided to start the transition to btrfs this weekend. I have a desktop with one md raid1 which is used for boot, and one large md raid5 for everything else. On top of the md raid5, I have LVM ...
3
votes
1answer
651 views

Recover mdadm raid5 from disk images

My computer just died (won't turn on) and I had some data saved across 4 raid5 disks configured with mdadm. I don't have another computer with sata controllers and want to try to recover using my ...
1
vote
3answers
6k views

configure mdadm for existing intel rapid storage array

i have a raid 1 configured by intel rapid storage from the bios. with windows i have an application which manage the raid. i read about intel rapid storage for linux and found that the option is to ...
0
votes
1answer
389 views

Need to recover data from RAID5 array with just two out of three working disks

When I go to bring up the array with mdadm, it complains I don't have enough components to start it. This makes sense, since RAID5 normally takes a minimum of three disks.. but I don't want to buy ...
4
votes
3answers
6k views

System won't boot unless I type “exit” at initramfs prompt

I installed MDADM for my RAID, and ever since that when I boot up the system just sits at the purple screen forever. After pulling my hair out for a week, I finally discovered - purely by accident - ...
2
votes
0answers
474 views

Raid won't mount on boot after reinstall [duplicate]

Possible Duplicate: MDADM Superblock Recovery So I was having a lot of trouble with Ubuntu after upgrading to 11.10. I decided to do a clean install, and things seem to be much better. ...
4
votes
3answers
49k views

MDADM Superblock Recovery

After a power cycle I found my RAID 5 Array no longer working. I tried various methods to reassemble the array but nothing has worked so far. I believe I need to recreate the superblocks and UUIDs ...
2
votes
2answers
4k views

Can the EFI system partition be RAIDed?

I'm setting up a HTPC with Ubuntu 64-bit, using UEFI and RAID with GPT disks. Is it possible for the EFI system partition (partition type 0xEF00) to be part of a RAID1 array using mdadm? I'm hoping ...
10
votes
1answer
7k views

How do I repair my software RAID5 disks?

I accidentally unplugged my eSATA cable while rerouting some cables behind my desk and knocked my RAID array offline. I believe the drives are fine, but they show up as state "removed" now, how can ...
11
votes
5answers
32k views

How do I rename an mdadm raid array?

For some reason, when I try to rename an mdadm raid array to a textual name, the change doesn't take. I tried the advice from this serverfault question, but to no avail. ~$ mdadm --version mdadm - ...
6
votes
2answers
10k views

Switching mdadm to an external bitmap

I've just read this in another post about improving RAID5/6 write speeds: After increasing stripe cache & switching to external bitmap, my speeds are 160 Mb/s writes, 260 Mb/s reads. :-D ...
2
votes
2answers
6k views

Delete mdadm array but keep data

I have a two-disk mdadm RAID1 array. One of the disks has died so the array is in a degraded state. It's been like this for a while and while I didn't mind getting the occasional email through, ...
3
votes
1answer
516 views

MDADM Array help

I was running ubuntu 11.04 and my boot drive has become corrupt. This has stopped me from accessing my raid5 array. The array was set up in MDADM and called MD0 i think. Can I install ubuntu 11.04 ...
0
votes
1answer
2k views

Testing my raid array / is my mdadm raid working OK? [duplicate]

Possible Duplicate: MDADM Superblock Recovery This may just be me being very stupid but I don't get it! I am new to mdadm raid configuration and my system configuration is as follows: 1 * ...
1
vote
2answers
284 views

What does “md value mismatch_count” count?

Since upgrading to 11.04 I have been trying to get my 5 disk RAID5 array back online. The array was initially split in two, I tried to use a create command with the assume clean option to get it back ...
3
votes
2answers
718 views

How to migrate installed system to RAID1?

I have home server (Ubuntu Server 10.04) which boots from single 80Gb HDD drive, now I want to make it boot from 2x500Gb RAID-1. I've already successfully created it through MDADM. But how can I move ...
3
votes
2answers
814 views

Did I lose my RAID again?

A little history: 2 years ago I was really excited to find out that mdadm is so powerful that it even can reshape arrays, so you can start with a smaller array and then grow it as you need. I've ...