a utility to administrate Linux Software RAID devices

learn more… | top users | synonyms

2
votes
1answer
82 views

How to restruct RAID 10?

We would like to alter the partition without losing data. Here is the sketch of the plan. I am wondering if it is doable using mdadm; and if so, please kindly point some reference on how to carry out ...
1
vote
0answers
351 views

RAID6 will not reassemble with 2 failed disks

Relevant photo album Hello all. I have a file server running ubuntu 12.04 (See first picture) with 6x Seagate 3TB HDDs in a RAID 6 configuration (giving 12TB of storage). This is a software RAID, ...
0
votes
2answers
2k views

GPT talbe corrupt after RAID1 setup

So I'm completely new to Ubuntu and am trying to set up a backup/media server at home. I saw the guide on Lifehacker and figured I'd give it a try. My system is an i3 3225 on an Intel DH77DF mobo ...
3
votes
1answer
3k views

Is it possible to pause/abort mdadm reshape?

Saturday I added a new drive to my mdadm array, and the reshape process is taking a long time. Unfortunately there's a nasty storm coming, and I'm likely going to lose power, which will probably do ...
0
votes
1answer
157 views

Bootstrap mdadm RAID6 server via USB flash

On my Ubuntu Server 14.04 I have large mdadm RAID6 array, and tiny boot HDD. I want to get rid of that boot HDD, and boot system from USB flash drive. Although I know it is possible to install ...
0
votes
2answers
212 views

Valid SSH command to create a RAID5? [closed]

Valid SSH Commands for creating and rebuilding RAID5 with 4 drives: To create a RAID5 with 4 hard drives: mdadm --create /dev/md1 --level=5 --raid-devices=4 /dev/hd[abcd]5 To rebuild a RAID5 with 4 ...
3
votes
1answer
4k views

mdadm warning (system unbootable) from update-initramfs, mkconf's suggested fix seems inconsistent with mdadm's description of problem

Summary: update-initramfs says system unbootable, message points to mkconf which suggests rewrite to mdadm.conf that would appear to break the RAID, system up (for now) but next reboot may kill it, ...
3
votes
1answer
9k views

Install Ubuntu Desktop on Software RAID 1 (mirror) with encryption

I used to use Ubuntu 12.04 Alternate installer to setup my old RAID1 + encryption system. With the new LTS 14.04 (beta 2) I found the alternate installer missing which complicates installation on a ...
1
vote
0answers
400 views

Change initramfs script

I made RAID 0 by mdadm'ing partition located on dmraid VIA VT6421 and Western Digital hdd. Installed Ubuntu on that RAID. Now, when I boot, I get (initramfs) ash prompt. There, I have to write mdadm ...
2
votes
1answer
5k views

“Device not found or ignored” when creating physical volume with bcache

I'm attempting to create an LVM volume on a bcache device, but getting "device not found or recognized", despite lsblk clearly showing the device, and bcache state showing "clean". OS is Ubuntu 13.10 ...
1
vote
5answers
6k views

Why isn't md raid assembled after reboot?

I'm trying to get an Intel RAID setup. The problem I have is that after a reboot the raid is not available. These are the steps I go through to setup the Intel RAID using the mdadm command. I've ...
0
votes
1answer
170 views

No more Diskspace after disk change, mdadm / Raid6

I had a Raid6 with 2TB disks, and have now replace all of them with 4TB disks. I pulled them out one at the time, after installing the new 4TB disk I added to /dev/md2 mdadm --manage /dev/md2 --add /...
0
votes
1answer
246 views

Need help properly setting up raid5 (align then mount)

Trying to ¨start over¨ and following this guide: http://dennisfleurbaaij.blogspot.com/2013/01/setting-up-linux-mdadm-raid-array-with.html I used fdisk and mdadm to create a raid 5, and I believe I ...
2
votes
1answer
1k views

Software RAID 5 Disk Failure

I'm going to need some expert help - free beer/coffee to anyone who get's me on my way! My System I'm running Ubuntu 11.10 with a 3 disk software RAID 5 configuration, with 3TB hard drives, in ext4 ...
0
votes
1answer
596 views

Bash script fault creating mdadm array

I am working on a script to create md1 array, first to check if the array exist if not it will create it. I get command as command mdadm not found and a few others. The script wont run. #!/bin/...
0
votes
1answer
193 views

How to check if last command succeeded and make that command auto accept prompts?

I am working a script to create a raid5 array. The question is how to put the command in a if (to see if the command succeeded), and when the script ask to continue creating array it will auto say yes....
2
votes
1answer
530 views

Bash script to check if mdadm is installed if not it will install it

Working on a bash script which first will check if mdadm is installed, if not it will install it. This is my script but it's not working correctly. Hope someone can help me. if [ "$mdadm" = "mdadm" ]...
1
vote
1answer
2k views

RAID 5 won't mount

I have a qnap NAS which is running a version of ubuntu and I'm not getting any help from their forum so I thought I'd ask my question here. I "had" 3 2TB HD's in a raid 5 configuration. When I got ...
1
vote
0answers
399 views

mdadm array: there is not enough space on the disk

I have this array of approx 6TB (ext4) and i am getting a disk space error. I only have a total of 800GB to copy to the shares I have created. I am using robocopy to copy this data from a windows ...
1
vote
1answer
615 views

Clone an Ubuntu machine with software RAID

I need to migrate my dedicated server to a new one: Both server are hosted remotely, I've no access to physical machines, only root ssh The old server is running Ubuntu server 13.10, 3.11.0-14-...
0
votes
1answer
555 views

How Do I Get More Than 16TB Out Of EXT3?

I have an MDADM RAID 6 array that I just added a 20th disk to. It consists of 20 1TB drives. RAID Detail: $ sudo mdadm --detail /dev/md0 [sudo] password for : /dev/md0: Version : 00.90 ...
0
votes
1answer
426 views

what is the difference between installing raid form bios and from disk utility in installing system?

what is the difference in configuring raid in Idrak bios and configuring raid in installing Ubuntu or any other system?? is it faster in configuring raid from bios and more good performance and can i ...
1
vote
2answers
912 views

Recover Orphaned RAID 0 from Silicon Image controller with Linux Software RAID?

I had an old XP machine in Raid0, 2 x 120gb drives on a Sil3112 controller. The drives are intact (afaik) but the motherboard or P4 is toast. Id love to recover precious photos from the drive or dump ...
0
votes
1answer
423 views

Mdadm RAID 5 failed, 1 drive bad 1 good 2 working

Sorry if the title was a little confusing but I wanted to show a little info. So I went to turn my pc on and ended up with the nice screen of having a failed array. /dev/sdb1 and /dev/sde1 are within ...
1
vote
2answers
3k views

Ubuntu 13.10 software raid

I had already Ubuntu OS installed on my desktop PC, where the software RAID 5 is configured ( 3 partitions /, swap and home ). This system was upgraded from the 11.04 till 13.04, it was quite messy, ...
1
vote
2answers
1k views

mdadm automount

I have a system running ubuntu 13.10, booting from a 50GB SSD. Attached to the motherboard are also three 2TB disks. configured into a 4TB RAID array. After ubuntu boots, I can mount the RAD volume ...
0
votes
1answer
76 views

How to install software to OS on other disk?

Have installed 13.10 on a RAID1 array following this guide: http://www.michielovertoom.com/linux/ubuntu-software-raid/ Everything went fine, except for the last step where I'm supposed to install ...
2
votes
1answer
353 views

Raid 5 mdadm --grow drops performance, no increase in disk size

I've set up a Raid 5 system at home for the first time. I've added 3 disks into the pc, and parted them all in 1 partition of 8G, and 1 partition of the remaining 492G then I made 2 raid volumes with ...
0
votes
1answer
692 views

recovering raid5 (mdraid) after clean OS install (Ubuntu Server 12.04)

======== After having to reinstall the OS I am having trouble accessing data stored on a RAID5 group built on 8 HDDs using mdraid. Advice much appreciated! I have a DIY home NAS server built on ...
1
vote
1answer
168 views

Raid drives are missing filesystem

I recently had to do some troubleshooting with a RAID 5 on Ubuntu Server (a software raid). I ended up removing everything and start from scratch with 2 new drives. So I took out 2 out of 4 drives, ...
6
votes
1answer
11k views

How can I create a RAID array with >2TB disks?

I would like to know the correct way to set up a software RAID array on an existing server. I have two brand new 3TB disks to use for the array. Specifically, I want to set up a 3TB RAID 1 array, ...
1
vote
3answers
4k views

Software Raid0 doesn't mount successfully in fstab

I have created a Raid0 and it works as I expect it. The the array file is created at /dev/md0. I want this to be mounted automatically by adding this line at the end of the /etc/fstab file : /dev/md0 ...
0
votes
1answer
154 views

ATA failure on a RAID5 array

I've been getting some RAID5 failures for some time when under heavy load. I've always been able to force reassemble the array after a reboot, and the Event count between the dropped disks and the non-...
1
vote
1answer
2k views

How to install ubuntu on a raid 5 array using mdadm

I want to install Ubuntu 13.04 (not server), I have 4 empty hard drives (/dev/sda, /dev/sdb, /dev/sdc, /dev/sdd), each 150 gb and /sdd is 160 gb and I have a Live USB. I want to install Ubuntu on a ...
2
votes
0answers
695 views

Raid Issues Cannot Boot and Getting Superblock Errors

I am getting the errors below. How do I get the RAID array fixed. I'd like to get it mounted via the live cd that im booted into as well. Just so I can backup a few items. My setup boots from the RAID ...
1
vote
1answer
2k views

RAID 5 Inactive at boot - error: found two disks with the index 1 for RAID md/0

My OS is Ubuntu 12.04.2 LTS with this kernel: 3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:39:32 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux I have a raid 5 array composed of 3 hard drives and suddenly, ...
1
vote
1answer
2k views

How do I migrate to a RAID10 array without losing data

I am running Ubuntu 12.04LTS, OS is installed on a small SSD so that should not be an issue when modifying the RAID array(s). I currently have four 2TB WD Caviar Green drives that I would like get ...
0
votes
1answer
83 views

MDADM - Degrading when copying files to share

We have a Ubuntu 12.04 LTS server which is configured with a 2 disk software 1 RAID (mdadm). The disks are 3TB and partitioned with a 1MB GPT partition and with the remaining assigned to the RAID. ...
2
votes
1answer
3k views

How to grow RAID 1 following disk upgrade?

I have successfuly replaced 2 x 320GB disks with 2 x 1TB and re-synched /dev/md0 & /dev/md1. "sudo mdadm --grow /dev/md0 --size=max" results in error "mdadm: component size of /dev/md0 unchanged ...
0
votes
1answer
1k views

How can I set up FakeRAID/SoftRAID using mdadm without losing data?

There is RAID0 of 2 drives connected through Silicon Image 3132 SATA SoftRAID controller. Under Windows it was partitioned as one dynamic GPT-disk having 4 TB NTFS volume. There is a lot of music and ...
1
vote
1answer
996 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
389 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
111 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 ...
8
votes
1answer
12k 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
261 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
77 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
854 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 ...
2
votes
0answers
611 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
2k 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 ...