Tagged Questions

a utility to administrate Linux Software RAID devices

learn more… | top users | synonyms

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 ...
9
votes
2answers
15k 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
4k 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
246 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
2k 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
4k 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
580 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 ...
0
votes
1answer
2k 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
486 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
13k 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, ...
8
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
5k 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
1k 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
911 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
615 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
708 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
604 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
5k 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
347 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
473 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. ...
3
votes
3answers
42k 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
3k 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
27k 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
8k 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
5k 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
510 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
246 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
690 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
709 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 ...
1
vote
1answer
1k views

Should I disable write cache in an mdadm array?

My gut says disabling write cache on soft RAID5 is the smart move, but I'm not certain. Possible Considerations: The drives a WD20EARS with 64Mb cache. The server hasn't gone down due to a power ...
1
vote
1answer
2k views

MDADM: auto re-add dropped HDD

Sometimes hdd might drop out of my RAID, but after I fix HW problem - I have to manually find out which is device name of dropped HDD and manually re-add it. Is there a way to let mdadm scan all HDDs ...
6
votes
2answers
4k views

mdadm: breaks boot due to “is not ready yet or not present” error

This is so damn frustrating :-| I've spent like 20 hours on this nice error, and seems like dozens of people over Internet too, and no clear solution yet. I have non-system RAID-5 of 5 disks, and ...
10
votes
8answers
6k views

Making stripe_cache_size permanent

I did echo 8192 > /sys/block/md0/md/stripe_cache_size to improve my RAID performance, and it did helped alot. But I still can't figure out how to make it permanent. I was trying to set it in ...
3
votes
2answers
15k views

Improving mdadm RAID-6 write speed

I have a mdadm RAID-6 in my home server of 5x1Tb WD Green HDDs. Read speed is more than enough - 268 Mb/s in dd. But write speed is just 37.1 Mb/s. (Both tested via dd on 48Gb file, RAM size is 1Gb, ...
3
votes
1answer
2k views

How do I unmark a “failed” md device?

In an effort to clean up from a software bug in md, I marked half of a RAID (/dev/sda1 and /dev/sdb1 in RAID1) as faulty using: mdadm /dev/md2 --fail /dev/sdb1 mdadm /dev/md2 --remove /dev/sdb1 But ...
5
votes
1answer
14k views

How to access MD RAID via Live CD?

We are currently trying to run access the data on a server running a HP Ml110 G5 SATA raid controller, using the latest Ubuntu Live CD. We need to delete a few files to let the server boot into ...
5
votes
2answers
5k views

Rebuild mdadm Raid5 after OS hard drive died

I have an ubuntu desktop 10.4 "server" with 5 hardrives. 1 of the hardrives had 3 OS's on it (Windows Vista, Windows XP, and Ubuntu 10.4). I primarily used the ubuntu OS so that I could use mdadm and ...
1
vote
1answer
1k views

Mdadm seems to have completely forgotten about a device and shrunk my array

After a bit of investigating of a problem I've just encountered, it looks like mdadm has completely forgotten about a new device I'd added to an array. I recently added a new device to the array which ...
1
vote
1answer
440 views

Does rebuilding a RAID change data?

I've just restarted my computer which was building up a RAID5 for the first time. This of course meant that my computer had to rebuild the whole thing from ground up. Before I restarted the computer ...
3
votes
1answer
551 views

Is it normal that mdadm has to start from scratch when I restart my computer while it's rebuilding the third disk?

I've installed a RAID5 using mdadm yesterday. Since then it has been rebuilding. I just restarted my computer and it started rebuilding the RAID from scratch. (Had 60% before.) Is this normal or are ...
13
votes
4answers
40k views

How do I align my partition table properly?

I am in the process of building my first RAID5 array. I've used mdadm to create the following set up: root@bondigas:~# mdadm --detail /dev/md1 /dev/md1: Version : 00.90 Creation Time : Wed ...