a utility to administrate Linux Software RAID devices

learn more… | top users | synonyms

1
vote
1answer
775 views

RAID1 array lost after upgrade from Ubuntu 11.10 to 13.04

I had a working Ubuntu 11.10 with / on an SSD (/dev/sdc) and /home on a software RAID1 array that resided on two partitions on /dev/sda and /dev/sdb (identical drives), respectively. This was set up ...
4
votes
1answer
338 views

Upgrade to 12.04LTS dumps to busybox on boot

I just upgraded my server from 10.04LTS to 12.04 LTS using the server upgrade process documented here: https://help.ubuntu.com/community/PreciseUpgrades. On boot, I am now dumped to the busybox shell ...
2
votes
0answers
100 views

RAID 5 array mdadm add command no response

On ubuntu server, I have a software RAID 5 array, four 2TB drives. One of the drives died, I sent it in and got a replacement. I put the replacement in my server, used an sfdisk command to set the ...
6
votes
1answer
7k views

How to re-add accidentally removed hard drive in RAID5

I have a NAS on Ubuntu Server with 4 2TB hard drives in RAID 5. A couple of weeks ago, one of the hard drives died, but my RAID was working, although degraded. Luckily it was still under warranty and ...
0
votes
1answer
238 views

Need to reboot twice when Ubuntu 12.04.1 mdadm RAID1 degraded

I'm testing mdadm RAID1. I'm using two HDD. Created / (/dev/md0 with /dev/sda1 and /dev/sdb1) and swap (/dev/md1 with /dev/sda5 and /dev/sdb5) After OS installed. I removed one HDD and reboot the ...
0
votes
1answer
2k views

RAID array: cannot access files on one partition, getting Input/output error

I'm hitting an access error with part of a raid array and need help in troubleshooting this. History: Several raid partitions live on 4 disks. Four days ago some ticking noises were heard from the ...
2
votes
0answers
65 views

I grew an array with mdadm but I can't see the progress?

Today I added a 5th drive in my array, I did the following: mdadm --add /dev/md0 /dev/sdf1 My drive was added as a spare, I then did: mdadm --grow /dev/md0 --raid-devices=5 But when I want to ...
2
votes
0answers
690 views

how long should it take to create a raid 10 with 4 3TB disks?

I am trying to create a raid 10 with four 3TB disks on ubuntu 12.10 with mdadm. I was wondering how long should it take to create the raid. Right now when I look at /proc/mdstat it is showing 19107 ...
1
vote
0answers
568 views

Is there a fix for md raid failure on 12.04

I've got a system that ran cleanly on Ubuntu 10.04 LTS. Upgrading to 12.04 LTS / 12.04.1 LTS / 12.04.2 LTS has been unpleasant and unsuccessful. Install goes cleanly and I have installed as follows: ...
5
votes
1answer
1k views

MD + LUKS + LVM will not cleanly shutdown

My setup is currently raid1 + luks on each md partition and lvm on top to stripe between the arrays. There is only one volume group with one logical volume currently. sdc ...
3
votes
4answers
4k views

Convert running system to RAID 5

I have a machine with 3 identical disks. I performed a clean installation of ubuntu 12.10 on one disk. How can I convert the running system to boot off a (software) raid5 comprised of all three disks ...
2
votes
3answers
664 views

Problem with LVM over mdadm with NTFS. Is it possible?

I am a bit of a linux newbie, and i have come across an error that i dont really know how to troubleshoot. my idea is to cram 6TiB drives into a box, make three sets of raid1, then stretch a logical ...
1
vote
1answer
360 views

RAID (mdadm) - Flags necessary?

As I understand it, it's best practice to set the drive flags as "raid" before adding them to a mdadm raid array. Okay fine, but I also heard people say that they didn't do this and mdadm worked fine. ...
4
votes
1answer
7k views

Can I cache an mdadm raid with an ssd?

I have a 1TB array set up in raid 1 using mdadm on Ubuntu 8, to store mission-critical files. I'd like to speed up read/write, especially for large files by caching to an SSD. Is this possible? Does ...
4
votes
2answers
5k 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
423 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
38k 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
2k 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 ...
1
vote
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
2answers
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
792 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
223 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
15k 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
6k 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
6k 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 ...
14
votes
3answers
22k 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
614 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
509 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
17k 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
996 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
721 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
73 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
904 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
663 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
7k 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 ...