A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

1
vote
2answers
803 views

Ubuntu 12.04 LTS Update - With Error: “YOUR SYSTEM IS NOW UNBOOTABLE!”

I just did an apt-get dist-upgrade and saw the following error: cryptsetup: WARNING: failed to detect canonical device of /dev/md1 cryptsetup: WARNING: could not determine root device from /etc/fstab ...
1
vote
0answers
132 views

mdadm drive UUIDs chanaged, can they be changed back?

So I ran into this trouble and I believe I lost all my data..However I found an old mdadm --examine --scan file I made a month ago and an old mdadm.conf....Is it possible to use these two items to fix ...
2
votes
3answers
108 views

mdadm: Disk configuration by UUID

I want to create a soft RAID-5 and use UUIDs im the mdadm config file. So I have four disks with 1 partition each that spans the whole disk. But since the partitons don'5 have a filesystem, blkid does ...
1
vote
2answers
5k views

mdadm rebooted, array missing? can't assemble?

Not sure what is going on with my Array. I rebooted ubuntu 12.04.1 and got a error on startup that fstab couldn't mount the filesystem UUID I have for my mdadm array. After running a few commands a I ...
1
vote
0answers
186 views

Raid1 disk degraded after reboot

I'm testing a Rackspace cloud server and have two Cloud Block Storage volumes set up in a Raid1 configuration. There are no system files on these volumes, they're purely for storage. Everything ...
0
votes
2answers
296 views

Device cannot be added on software-raid-1 array on Ubuntu 12.04

Unfortunately all tutorials I have found online until now on how to setup software-raid-1 are outdated on ubuntu 12.40 My target is to setup it on a system with a secondary disk drive that is already ...
3
votes
1answer
465 views

reliably and automatically determine connection path of physical position of HDD from /dev/sdX device file

This is kind of a FAQ, but all the answers I found so far are not suited for full automation, which is what I need. So here it goes again. In Linux: Is there a reliable way to resolve the udev ...
1
vote
1answer
500 views

Software Raid 10 corrupted superblock after dual disk failure, how do I recover it?

I have a software raid 10 with 6 x 2tb hard drives (raid 1 for /boot), ubuntu 10.04 is the os. I had a raid controller failure that put 2 drives out of sync, crashed the system and initially the os ...
0
votes
1answer
157 views

RAID options with heterogeneous disks

I have a general purpose server which is running out of disk space. It currently has a RAID1 of two 2TB disks (WD RE4). So I'm going to buy two 4TB disks. I am considering the following options: ...
0
votes
2answers
254 views

Best redundant way to set up multiple drives of different sizes

I have a linux server (running Ubuntu 12.04 Server currently) that I need to set up multiple hard drives of differing sizes in primarily for media/backup purposes. The sizes are: 1x2TB 1x1TB ...
3
votes
1answer
591 views

Removing a device in “removed” state from Linux software RAID array

My workstation has two disks(/dev/sd[ab]), both with similar partitioning. /dev/sdb failed, and cat /proc/mdstat stopped showing the second sdb partition. I ran mdadm --fail and mdadm --remove for ...
0
votes
1answer
537 views

Is it reasonable to make a RAID-1 array with a ram disk and a physical disk to maximize read performance and protect data?

In one of the answers on SO (I forgot which one) I've seen a suggestion to make a RAID-1 array composed of a RAM disk and a physical partition. By adding the physical partition with --write-mostly and ...
5
votes
2answers
2k views

Is my hard drive about to die?

I have two hard drives set up as a RAID 1 array on my server (Linux, software RAID using mdadm) and one of them just got me this "present" in syslog: Nov 23 02:05:29 h2 kernel: [7305215.338153] ...
0
votes
1answer
264 views

Restoring data from a failed and possibly partly overwritten mdadm raid1

I have a failing hard disk (let's call it sda) which contains, among other things, a 1.5 TB partition (let's call it sda3). There is another disk (sdb), which has a 1.5 TB partition (sdb1) as well. ...
2
votes
1answer
207 views

How do I find out which disk in a multi-disk mdadm RAID1 triggered a rebuild?

I'm using mdadm for several RAID1 mirrors. md7 is an N-way mirror consisting of 3 spinning disks (all flagged write-mostly) and an SSD: md7 : active raid1 sdd1[0] sde5[3](W) sdf5[4](W) sdc1[1](W) ...
0
votes
0answers
38 views

Software Raid mounts random partition

I have mounted Ubuntu server 12 on 2 drives with software raid. I have raid 1 on 4 partitions and raid 0 on swap. Every time I reboot the system now a different partition from the 2 appears as active ...
0
votes
1answer
581 views

How do I get rid of my duplicate GRUB entries? (Ubuntu 12.10, RAID1)

I have a Dell R300 machine running Ubuntu 12.10: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.10 Release: 12.10 Codename: quantal $ uname -a ...
3
votes
1answer
222 views

Cannot get at data in my NAS

I've got a bit of an issue that I'm hoping you can help me with. I have an Iomega ix4 as my NAS. This runs Linux and each drive in the box has 2 partitions: one for the OS and RAID info, and the ...
1
vote
1answer
600 views

How to detect hard disk failure?

So, one of my servers has a hard disk failure. It's running software RAID, the system locked up and according to /proc/mdstat (and /var/log/messages), it's really down: Personalities : [raid1] md2 : ...
2
votes
2answers
564 views

mdadm - Recovering a 'split' RAID1 array

I have two drives that used to be part of a single RAID1 volume but it appears that one of them went offline for some time, something I've noticed just now when I rebooted my system. I now seem to ...
4
votes
1answer
874 views

mdadm+zfs vs mdadm+lvm

This may be a naive question since I'm new to this and I cannot find any results about mdadm+zfs, but after some testing it seems it might work: The use case is a server with RAID6 for some data that ...
1
vote
1answer
738 views

Linux software RAID6: 3 drives offline - how to force online?

This is similar to 3 drives fell out of Raid6 mdadm - rebuilding? except that it is not due to a failing cable. Instead the 3rd drive fell offline during rebuild of another drive. The drive failed ...
2
votes
2answers
227 views

Shell Script To Monitor Completion of RAID Assembly

How can I pause execution of my shell script after calling the following command until the raid array has been assembled? From what I understand, this is an asynchronous process and status of the ...
3
votes
2answers
568 views

Linux Software RAID1 Rebuild Completes, but after reboot, its degraded again

I have been beating my head with an issue here, and I'm now turning to the internet for help. I have a system running Mandrake Linux, with the following configuration: /dev/hda - This is a IDE ...
2
votes
1answer
249 views

How to get started troubleshooting Linux mdadm raid10 write performance?

Using Linux mdadm, I've setup a six disk raid10,f2 array. I'm using 7200RPM SATA drives. The biggest load I am worried about is recording four streams of live video (worst case of 20Mbits each, final ...
1
vote
1answer
464 views

Controlling mdadm faulty disk rebuild order in RAID 10 array

I have a Linux mdadm RAID 10 array comprising of 6 (SATA) disks configured with n2 copies. While pulling out one disk, another one in another mirror pair failed. Leaving me with: $ cat /proc/mdstat ...
6
votes
2answers
301 views

RAID1: Which disk will be mirrored?

How does a RAID1 system determine which disk to use as the source and which disk to use as the destination when mirroring? Assume for instance the following scenario: A RAID1 array is created with ...
0
votes
2answers
560 views

Recovering a mdadm+lvm+ext4 partition with read error

One of disks in my NAS has failed. The NAS is running Linux, and it uses mdadm + LVM technology for its filesystems. I do have backup for most of the contents, but not for the very last changes, and ...
1
vote
2answers
468 views

Risky to have RAID5 with 3x3TB drives? What alternatives should I be considering?

A drive dropped out of my raid 5 array yesterday. It looks like the reason was due to a bad controller so I switched it out and attempted to re-add the drive but mdadm claimed it couldn't do it. So I ...
1
vote
1answer
514 views

raid10 in mdadm reports incorrect “Used Dev Size”

I previously had a raid5 with mdadm using four 2TB drives. I've recently disassembled the raid and created a raid10 with six 2TB drives, but mdadm --detail is showing "Used Dev Size" as only 2TB (the ...
1
vote
0answers
203 views

RAID disk not booting

my hosting facility replaced disk /dev/sda for me and I've added it to the RAID via sgdisk -R /dev/sda /dev/sdb mdadm /dev/md0 -a /dev/sda1 mdadm /dev/md1 -a /dev/sda2 mdadm /dev/md2 -a /dev/sda3 ...
1
vote
1answer
299 views

mdadm superblock hiding/shadowing partition

Short version: Is it safe to do mdadm --zero-superblock /dev/sdd on a disk with a partition (dev/sdd1), filesystem and data? Will the partition be mountable and the data still there? Longer ...
1
vote
1answer
2k views

Creating Persistent Drive Labels With UDEV Using /dev/disk/by-path

I have a new BackBlaze Pod (BackBlaze Pod 2.0). It has 45 3TB drives and they when I first set it up they were labeled /dev/sda through /dev/sdz and /dev/sdaa through /dev/sdas. I used mdadm to ...
3
votes
1answer
306 views

mdadm kernel log messages explained

Welcome. I try to recover from linux software raid failure. I am in a process of recreating the superblocks based on a syslog from the system when it was healthy. The log speaks about 2 md devices, ...
1
vote
1answer
638 views

What parameters to mdadm, to re-create md device with payload starting at 0x22000 position on backing storage?

I try to recover from mdadm raid disaster, which happened when moving from ubuntu server 10.04 to 12.04. I know the correct order of devices from dmesg log, but given this information, I still cannot ...
2
votes
0answers
115 views

Debian squeeze server hangs when accessing md raid 5 over network

My debian squeeze server ha begin to hang/freeze when I try to access my md raid 5 over network (via samba or afp/netatalk). This behavior started when I installed netatalk, libgcrypt11 from wheezy. ...
0
votes
1answer
68 views

How many really distinct permutations of volumes are in mdadm raid5 degraded array?

I'm attempting to recover from a failure of my raid volume after upgrade from ubuntu 10.04 to 12.04. I've tried re-creating the array in any combination of 5 elementary volumes with one replaced ...
1
vote
1answer
79 views

DegradedArray event on /dev/md0 without actually having a RAID

Since I upgraded from Ubuntu LTS 10 to LTS 12, I have been getting error messages like: N 60 mdadm monitoring Mon Sep 3 06:38 31/1022 DegradedArray event on ...
1
vote
0answers
169 views

four-disk md raid10-far can be assembled and ran as “clean, degraded” with only 2 disks. Bug or i'm missing something?

Today i was solving raid failure on raid10-far with four disks. One disk failed and another wasn't re-added after a hard reboot. The mdadm -D was reporting it's clean and running with only two out of ...
1
vote
2answers
388 views

Must partprobe before using drive?

This is a followup question to Cannot mount /dev/sdc1 on Debian 5.0, special device /dev/sdc1 doesn't exist Basically, I have 6 SATA hard drives in a machine and I'm trying to create a RAID6 ...
2
votes
0answers
1k views

Calculating correct stripe size for Linux mdadm RAID10 arrays in “far” layout

I'm creating RAID10 array from 6 drives. When created in near layout, e.g. mdadm --create /dev/md2 --chunk=64 --level=10 --raid-devices=6 --layout=n2 /dev/sda1 ... Checking stripe size as ...
0
votes
1answer
328 views

mdadm: superblock on /dev/sdd1 doesn't match others - assembly aborted

OS: Debian Squeeze Kernel: 2.6.32-5-amd64 mdadm version: 3.1.4 (31 August 2010) mdarrays md1 = raid1 (this is working) (devices: /dev/sd[fg]1) md0 = raid6 (previously raid5, ...
1
vote
2answers
313 views

Ubuntu 12.04 Server Software RAID1 - Faulty Spare - Smart Output Passed - Confused

I think I'm having an issue with one of the hard drives on my array and I'm just trying to troubleshoot what's happening. Its saying Faulty Spare and then after reboot it just says removed: ...
1
vote
1answer
682 views

mdadm and blkid give different uuid

We recently replaced a hard disk in a server and reinstalled the operating system (Centos 6) The raid rebuilds itself every boot; /dev/md2 is losing a disk each time apparently. Always the same ...
4
votes
2answers
2k views

Can't resize2fs - combination of flex_bg and !resize_inode

I recently set up my first software raid with mdadm and after adding more disks to the raid I am unable to resize the filesystem to the full size of the raid. I created a single (~16TB) filesystem on ...
1
vote
1answer
561 views

Rebuild Linux raid1 after os reinstall

I have 4 disks in my server. sda and sdb were combined to RAID1 and had the operating system. sdc and sdd were a second RAID1 device that had a single volume group with a bunch of LVMs. sdd died so ...
1
vote
1answer
165 views

mdadm update time and resync

I detached one half of my linux md raid1 (--fail --remove) to do some potentially risky filesystem work, to be sure I had a good copy on hand if things went bad. Things went well, and now I want to ...
4
votes
3answers
778 views

mdadm RAID 5 Failed with 2 Drives while rebuilding

I have a RAID 5 array with 3 Disks (sdb sdc sdd) Over last weekend I was prompted that sdd had failed. so replaced the drive, added it back into the array and let it rebuild (1.5TB) It stopped at ...
3
votes
1answer
2k views

Linux raid controller (LVM/MDADM)

Today I'm in a very bad place. A production raid array went down. The controller failed. After unmounting the file systems and killing all processes, I changed the hardware controller. On restarting ...
0
votes
0answers
2k views

How to boot with RAID 1 in GRUB rescue?

Basic working system details: I used the Ubuntu 12.04 server CD to install a server. I have 2 disks. I made a raid 1 array just like in ubuntu server guide : ...