A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

2
votes
1answer
1k views

Unable to reassemble md raid on drives pulled from ReadyNas Duo v1

I'm toying with a ReadyNAS device that I've recently acquired. It is a SPARC-based box, and it runs linux. As device is pretty slow, I've pulled one drive out of array, hoping to populate it with ...
4
votes
0answers
290 views

mdadm: Win7-install created a boot partition on one of my RAID6 drives. How to rebuild?

My problem happened when I attempted to install Windows 7 on it's own SSD. The Linux OS I used which has knowledge of the software RAID system is on a SSD that I disconnected prior to the install. ...
4
votes
0answers
888 views

mdadm RAID monitoring no DegradedArray email

So, I have a couple of MDADM RAID arrays and I want to set up monitoring with email notifications for drive failures through sSMTP but I can't seem to get it working. The system in question is a ...
2
votes
0answers
227 views

Dual boot Win8/Linux on Asus Zenbook UX301 keeping intel imsm RAID0

I have Asus Zenbook UX301 with Win8 preinstalled. I would like to have a Linux installed in dual-boot configuration. However, Windows is using the notebook 2 SSDs as intel RAID0 (rom-based RAID, ...
2
votes
0answers
216 views

how to trim the SSD disk of an hybrid Linux soft RAID?

We are considering implementing an Hybrid Linux Raid with SSD+HD by using the "writemostly" flag that supposedly makes the raid write further to the HD than to SSD while maintaining the benefits of ...
2
votes
0answers
391 views

Redundancy: LVM+mdadm or LVM internal RAID

The task is to create LVM storage for virtual machine images. So LVM will be used in any case. There are two ways LVM providing redundancy: block mirroring lvcreate -m 1 --mirrorlog mirrored -n ...
2
votes
0answers
655 views

Cloning Ubuntu mdadm RAID1

I would like to clone a pair of RAID1 drives created with mdadm. I've tried Clonezilla, but there's no native support for mdadm, so it resorts to using dd which is incredibly slow. I've looked for ...
1
vote
0answers
122 views

mdadm not reassembling array on boot

I'm currently using arch on my Asus UX51VZ laptop for almost a month. I have a fakeraid setup with two 256GB SSDs using mdadm. I was using this configuration without any problems. However after I've ...
1
vote
0answers
91 views

I can't access my LVM partition after RAID recovery

I need help after an accident with my RAID 5. I recreated it with: mdadm --verbose --create /dev/md2 --level=5 --chunk=64 --raid-devices=4 /dev/sdb4 /dev/sda4 /dev/sdd4 missing My array seems to ...
1
vote
0answers
65 views

Growing an encrypted RAID5 array without causing alignment issues

Question Is there anyway to tell mdadm to make sure a certain logical sector on the RAID-device stays aligned to the beginning of a stripe when growing a RAID5 array? Problem My RAID5 is encrypted ...
1
vote
0answers
50 views

Safe to blank MBR of a disk after adding it to an RAID1 array with mdadm?

I created a RAID1 array of two disks, /dev/sda and /dev/sdb, using mdadm. After several booting problems related to the BIOS and SATA/RAID controller of the board, I accidently created some new ...
1
vote
0answers
401 views

Linux MD software raid stripe cache size

From what I can piece together the /sys/block/md0/md/stripe_cache_size is for raid5 and 6 set at a very low default value to avoid starving machines for memory. By increasing this value you can get a ...
1
vote
0answers
448 views

mdadm partiton not large enough to join array

I've used Linux on and off for the last many years, mainly as dual boot or as Virtual Machines, but when I decided to build a Dev Laptop I though I'd bite the bullet and put Linux on as the base OS. ...
1
vote
0answers
47 views

Is there a safe way to move a partition beneath a linux software RAID5 using mdadm?

Suppose, for example, that you have a RAID5 across multiple disks and you would like to retire the oldest of the disks and replace it with something from this decade. I know I can fail the partition ...
1
vote
0answers
3k views

Converting LVM/EXT4 to ZFS without losing data

I have a home media server with 2 x 3TB drives in it. Its currently set up using mdraid (1), LVM and EXT4. The setup was done using the ncurses Ubuntu Server installer. Goal Convert the setup to use ...
1
vote
0answers
186 views

Checking if Luks header is damaged

Is there any way to check if the Luks container header is damaged? My luks container is refusing to be opened with its keyfile, saying No key available with this pass-phrase. History of what ...
1
vote
0answers
371 views

mdadm: faulty Array, how to get recover as much as possible?

I have a RAID5 with 4 Disks in my PC. All of them were healthy (and the RAID itself) until before. I tried to install windows 8.1 which automatically creates this "SystemReserved"-Partition. The ...
1
vote
0answers
326 views

Create a mdadm raid mirror of an existing lvm

Hello I'm trying to figure out how I can create a pretty strange mdadm mirror of my lvm. I have 4 disks, (sda,b,c,d). Each disk has 2 partitions: 1Gb - physical volume 500mb - Swap My system lvm ...
1
vote
0answers
52 views

erased md0, md1 and can't recreate them

I previously had a working RAID 1 array. I think as a result of running grub-install /dev/sdb and grub-install /dev/sdc I somehow wiped my computer of md0 and md1. I need to set them up again. When ...
1
vote
0answers
187 views

Is `dmsetup remove` safe with respect to contained data?

I have a "lost" SW RAID array as described in this question: http://askubuntu.com/questions/311024/raid1-array-lost-after-upgrade-from-ubuntu-11-10-to-13-04. I have now identified a way to mount one ...
1
vote
0answers
334 views

Upon reboot, Linux software raid fails to include one device of a RAID1 array

One of my four Linux software raid arrays drops one of its two devices when I reboot my system. The other three arrays work fine. I am running RAID1 on kernel version 2.6.32-5-amd64 (Debian Squeeze). ...
1
vote
0answers
137 views

How to add extra sata drives to desktop server

I have an ubuntu 12.04 machine with a raid using mdadm. The motherboard has 8 sata ports which are all being used, and I would like to add more hard drives to it. What's the easiest/best way to add a ...
1
vote
0answers
434 views

blkid not returning the correct UUID/label for drive

I have 7 drives in my server (running Debian Wheezy as dom0 for a Xen hypervisor): An 80GB system drive, 3 x 2TB drives, a 1TB drive and 2x 500GB drives. The 2TB drives are all part of an mdadm RAID ...
1
vote
0answers
567 views

Broken mdadm RAID after hard drive firmware update

I updated the firmware on the two hard drives in my raid array, and now the raid array does not seem to work. I'm running Kubuntu 12.10. Here is the output of some things I tried: sudo mdadm ...
1
vote
0answers
62 views

Software RAID 1 resync's on SATA cable switch?

I made a mistake when I opened up my desktop removed a 2 disk RAID 1 and reconnected them, but with the SATA cables switched, such that sda became sdb and viceversa. On boot, the RAID array started ...
1
vote
0answers
102 views

How to add new partition to RAID-1 array on Redhat FC10?

I have a RH FC10 system with RAID 1 partitions, here is mdadm.conf: # mdadm.conf written out by anaconda DEVICE partitions MAILADDR root ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 ...
1
vote
0answers
1k views

mdadm: hot remove failed

My RAID1 is degraded and I need to replace /dev/sdb. However, I could mark /dev/sdb5 (in /dev/md1) as failed and removed it, but I can't do the same with /dev/sdb1 (/dev/md0 which is mounted on /): ...
1
vote
0answers
1k views

mdadm raid5 read error not correctable

I have a software raid5 setup existing of 4 disks. sda, sdb, sdc, sdd Since everything was up and running I wanted to test the array. To do this I pulled the plug on one of the disks (sdd). Everything ...
1
vote
0answers
305 views

Lots of fun problems with RAID and SATA controllers

I bought a used 3ware raid card off of ebay a few months back and set up four 1TB caviar blacks in RAID5. The hardware raid could only manage about 5MB/s writing without write caching, and I don't ...
0
votes
0answers
14 views

Linux mdadm does not assemble array, but recreation of array does it

Maybe i'm not very clear in the title. When i'm trying to assemble my raid1 array with mdadm: sudo mdadm --assemble /dev/md0 /dev/sdc /dev/sdd It tells me that mdadm: Cannot assemble mbr metadata ...
0
votes
0answers
9 views

mounting a RAID array on a machine with conflicting device name

I have a machine with the following RAID arrays connected: xxxx@xxxx:~$ sudo /sbin/mdadm --examine --scan ARRAY /dev/md/0 metadata=1.2 UUID=6c2e2072:4db41563:d93a9ae5:dfb29ffd name=xxxx:0 ARRAY ...
0
votes
0answers
7 views

md-raid1 with three mirrors became raid0 after removing one mirror while power off. how to fix it?

I create md-raid1 with three devices: mdadm --create \ /dev/md22 \ --level=1 \ --raid-devices=3 \ /dev/sd[a-c]2 and got nice raid mdadm -D /dev/md22: /dev/md22: Version : 1.2 ...
0
votes
0answers
24 views

Migrate MDADM array to another server with degraded state

I've been hacked few days again and, after analysis, I want to have my data back ! My previous server (the one who contains data on RAID1) have been compromised so I've decided to go with another ...
0
votes
0answers
18 views

Mdadm raid gone after reboot

Mdadm raid gone after reboot. Will gdisk work on 6TB HDD's? Will some describe how to use "parted" to write "fd00"? Rephrased better
0
votes
0answers
157 views

MDADM reshape really slow

To sum up : My raid reshape with mdadm is really slow. The complete story : 3 days ago I realized that one of my disks from a raid 5 array was faulty. I removed it and replaced it with a brand new ...
0
votes
0answers
73 views

Trying to mount Western digital mybook duo raid 2 disks but fails

I connect both my linux system. I do a bash-4.2# mdadm --assemble --scan mdadm: /dev/md/MyBookLiveDuo:2 has been started with 2 drives. then i try mount /dev/ ash-4.2# mount /dev/md/MyBookLiveDuo:2 ...
0
votes
0answers
67 views

Strange software RAID performance results (on linux)

I have four 2TB 7200rpm hard drives that I want to configure as a software RAID array, using mdadm on linux (Ubuntu 15.10). I took this opportunity to explore the read/write performance of various ...
0
votes
0answers
8 views

Growing an mdadm RAID array with differently sized disks

I have a raid6 archive array made up of 4 2TB drives (+OS on an independent SSD). I'm starting to run out of space and my target final goal is 4 4TB drives. I don't have enough SATA ports to run both ...
0
votes
0answers
9 views

Problems reassembling software RAID6

I have a software raid6 array (mdraid) consisting of 6 drives (/dev/sd[f-k] at the moment) at /dev/md1. Because I had to pull a different drive out of the machine (not one of the 6 drives), I ran ...
0
votes
0answers
45 views

Growing mdadm array; Cannot find backup file on FS where it's supposed to be

The situation: I am currently growing my RAID-6 array from 4x4TB to 5x4TB. To achieve that, I used to following command: root# mdadm --grow /dev/md0 --backup-file=/root/backup/raid/4d_to_5d ...
0
votes
0answers
21 views

What is theoretical max benefit from read speeds under RAID5?

I have a 5 drive RAID5 with mdadm. When I do hdparm -Tt on all the constituent drives I find the slowest is about 230MB/s. Is the maximum theoretical limit of read speeds going to be (5-1)*230 or ...
0
votes
0answers
36 views

RAID 5 showing two disks in same slot

We recently had a power failure for a few hours and when the power came back both my RAID arrays failed. The one I am trying to fix is a RAID5 with 5 disks (I also have a RAID1 with 2 disks, but I ...
0
votes
0answers
24 views

Moving from debian to unbuntu - mdadm raid vol going to be ok?

I'm a little nervous about this decision, but I've recently updated the hardware in my NAS/HTPC and Debian wheezy network drivers aren't happy and regularly need to reboot to get eth1 working again. ...
0
votes
0answers
91 views

Recover mdadm raid5 with XFS

I am trying to recover data from an old Buffalo Terastation that failed. A previous attempt to recover the data by someone else was unsuccesful and I have been left with the following situation. NB: ...
0
votes
0answers
335 views

OwnCloud - storing data on RAID array

I have a server running Ubuntu Server 14.10 LTS 64bit. It has an O/S drive, and then a data RAID-1 array mounted under /srv/storage I've installed OwnCloud server using the default sqlite DB. I've ...
0
votes
0answers
284 views

Hybrid Raid-1 HDD + SSD — Write Intent Bitmap

I am currently running a laptop with 1 HDD and 1SSD. I currently am using mdadm to put some partitions in a raid 1 configuration with --perfer-write set on the HDD. I have this working correctly ...
0
votes
0answers
128 views

Disaster recovery for RAID and mdadm

I´m having a software raid 5 with 5 2TB members. After some work with gparted my RAID doesn´t work any more... How can I check the integrity of each member? What would be my options, if the partition ...
0
votes
0answers
232 views

Post raid5 setup reboot shows single hard drive failure on ubuntu 12.10?

I just set up raid 5 on linux using three HDDs as per a guide. It all went fine until when I rebooted I got the following text: http://i.stack.imgur.com/Zsfjk.jpg. Does this mean one of my HDDs has ...
0
votes
0answers
50 views

Do a Re-Build During a Re-Shape?

On my Linux software RAID 6 array, I'm currently mid-reshape and 2 drives have been marked as failed. I've swapped them out and added new ones to the array, which are currently marked as spares. The ...
0
votes
0answers
671 views

mdadm recognizing array incorrectly how can I recover the data

So I formatted both disks sd[cd], each as a big ext4 partition, and then used mdadm to create a raid0 array sd[cd]1. This worked fine, and I mounted the device and started storing data on it. Prior to ...