A linux utility used to manage software RAID devices.
0
votes
1answer
32 views
How to get notified of mdadm RAID problems?
I am running Ubuntu 12.04 LTS. Yesterday I found a message in my mailbox saying that my server was shut down. I proceeded to reboot the system, but it didn't come up after many minutes, and I didn't ...
0
votes
0answers
37 views
why cant I set the correct partition size in fdisk
I am currently attempting to setup a raid array. At this point in time I am setting up partitions of the same size on each hard drive that I would like to use in the array, although when I used fdisk ...
1
vote
2answers
56 views
Are ext4 RAID5 tuning options useful under LVM?
I'm setting up a system with a system with a mdadm RAID5 which is the sole PV for a VG which hosts 4 LVs.
When I make the filesystem, would the mkfs.ext4 -E option be useful? Or is its effect not ...
2
votes
0answers
39 views
mdadm raid1, drive failure lost 14days worth of data?
I am rather confused. One evening I had a server which had died. I went to reboot it and noticed it was stuck on the "GRUB" boot screen. I then noticed a hard drive had failed. I put a new hard drive ...
0
votes
1answer
32 views
how can I set the data offset on an mdadm device?
I am trying to recover from a degraded RAID array. I stupidly used mdadm --create somewhere along the way, and now a couple of my devices have incorrect superblocks. Luckily I kept a copy of the old ...
4
votes
1answer
66 views
Linux mdadm --grow RAID6: Something wrong - reshape aborted
I have a RAID60 that I want to expand.
The current is: 2 axles each having 9 disks + 2 spares.
The future is: 4 axles each having 10 disks + 1 spare.
So I need to do some --grow to reshape the ...
2
votes
1answer
80 views
Is my server toast?
Last night I received an e-mail from mdadm about the possible failure of two drives on my array. The raid array was set up as a 4 2TB drive raid5 with one hot spare. Is this system truly fried? Did ...
3
votes
2answers
64 views
Is it safe to interrupt a mdadm --grow operation?
I recently changed the disks in my RAID5 from 3x2TB to 3x3TB. I also wanted to change the chunk size from default 512k to 128k. I have added all new devices to the array and I run:
mdadm /dev/md1 ...
2
votes
1answer
47 views
Replacement raid1 drive is one block smaller. What to do?
Apparently once should always leave a bit of empty space at the end of each raid1 partition.
But if we're too late for that, what can be done if a replacement RAID1 drive is slightly smaller than the ...
0
votes
1answer
84 views
mdadm mdadm: cannot open /dev/sda1: Device or resource busy
I am having trouble going from a single disk to raid 10
The command issued is:
mdadm --create /dev/md0 --level=10 --raid-devices=8 /dev/sd[abcdefgh]1
The output is:
mdadm mdadm: cannot open ...
0
votes
0answers
34 views
Linux MD Raid not removing faulty device mapper member
I am having strange problem with my Linux md raid setup. I have one rather old (Fedora 6 with 2.6.22.14) linux box serving disks via iSCSI.
The disk itself is partioned via custom made device mapper ...
3
votes
0answers
124 views
Resize openSUSE 12.3 GPT ext4 partitions in a RAID1 disk array
I have a software raid configured (/dev/md2) which has assigned the partitions sda3 and sdb3 from two 3TB disks (sda and sdb).
The partition types are GPT not LVM and file system is ext4.
Now, the ...
0
votes
0answers
37 views
mdadm: Growing a RAID0 Array Weirdness
I have created 3 RAID0 arrays using mdadm on 3 Rackspace CloudServers using Rackspace's CloudBlockStorage as their devices. Each array has their own set of CBS volumes. RS-CBS has an upper limit of ...
0
votes
1answer
69 views
mdadm Device or resource busy not by dmraid
I have an issue with a new mdadm raid.
When i try to:
root@dys:~# mdadm --add --verbose /dev/md0 /dev/sdb1
mdadm: Cannot open /dev/sdb1: Device or resource busy
dmraid i pointed as the usual ...
1
vote
1answer
39 views
Remove “faulty state” in RAID 1
I wonder if there is any possibility to remove the state "faulty" in a RAID 1 if (for example) someone failed the wrong hard disk.
I already searched for answers with Google and fout several ...
1
vote
1answer
35 views
identical drivers different pv size
i've got strange situation with identical drives:
pvdisplay
--- Physical volume ---
PV Name /dev/sda5
VG Name group1
PV Size 465.52 GiB / not ...
1
vote
0answers
50 views
Expanding raid5 software raid
I have recently bought 4 2TB drives to expand my existing 4*2TB raid5 setup, using mdadm software raid in debian. As a initial step, I have created a raid5 on the four new drives and created an ...
5
votes
2answers
123 views
mdadm: Which disk is being rebuilt?
I noticed my software RAID1 degraded, and wanted to figure out which of the two disks in the array is being rebuilt/re-synced since they both show as being up. I am hoping someone can shed some light ...
0
votes
1answer
51 views
mdadm - raid device name changed on reboot
I'm not sure why, but after I restarted my ec2 instance, /dev/md0 didn't start as it normally would. after I saw what's available in /dev/md*, instead of seeing /dev/md0, there is a device there named ...
1
vote
1answer
32 views
MDADM did not kick off rebuild after a disk is inserted
I am new to Linux software RAID. I constructed a RAID6 with 6 hot-swappable SATA disks. I tested the failure scenario by unplugging 1 disk. The OS removed the devices from /dev and mdadm showed that ...
0
votes
1answer
59 views
removing software raid without data loss
i wonder if/how i can stop my linux machine using the installed software raid, without loosing any data.
All information i found was about removing the superblock of any hdd, and this is o/c what i ...
0
votes
1answer
65 views
MDADM not assembling raid0 that is part of a raid5 on boot
I use a RAID0 (md2) as a device in a RAID5 (md3) setup (see below). Now everytime the computer boots, mdadm will mark md3 as degraded and i am forced to re-add md2 as a new spare. Of course mdadm then ...
1
vote
0answers
124 views
Removing raid metadata from drives
Normally when I have a drive which contains raid metadata e.g. from fakeraid or a hardware raid card I can get rid of it with:
dmraid -r -E /dev/sdX
Or if that doesnt work, doing a simple dd ...
4
votes
2answers
202 views
mdadm raid 1 grub only on sda
I just finished setting up a CentOS 6.3 64bit server with mdadm however a lightbulb went on and I realised grub would only be installed on the first drive which is about as much use and an ashtray on ...
2
votes
0answers
64 views
Why mdadm --examine --scan gives two same ARRAYs? [closed]
The following confuses me:
[root@mrak ~]# mdadm --examine --scan
ARRAY /dev/md/0 metadata=1.2 UUID=d3f800db:26de8691:dc0caf45:0f75028b name=mrak.dex.internal:0
ARRAY /dev/md/0 metadata=1.2 ...
1
vote
2answers
133 views
DegradedArray event on /dev/md1
This morning I got this message:
This is an automatically generated mail message from mdadm
running on
A DegradedArray event had been detected on md device /dev/md1.
Faithfully yours, etc.
P.S. ...
2
votes
1answer
83 views
mdadm keeps removing disk
As the title suggests, mdadm keeps marking a drive as "Removed" (from mdadm --detail) and I was hoping to get suggestions as to why that might happen.
I was wanting to fsck the drives however I got ...
2
votes
1answer
138 views
df showing wrong disk usage - disk corrupted
I'm getting a rather odd result from df from one of my disks using mdadm. It's setup as 4 of 2TB disks in raid 10.
# df
Filesystem Size Used Avail Use% Mounted on
/dev/md2 ...
1
vote
1answer
113 views
Linux mdadm RAID5 data recovery with one drive failed, one drive failing
Improbably I had two drives fail in the same Raid5 array within 2 weeks of one another. Which means the array is dead. Yes yes hot spares not being lazy about replacing the failed drive I know. But ...
1
vote
1answer
146 views
mdadm did not notice a failed disk in raid0
I have a server with mdadm raid0:
# mdadm --version
mdadm - v3.1.4 - 31st August 2010
# uname -a
Linux orkan 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux
One of the disk has ...
2
votes
0answers
115 views
raid 5 mdadm drive dropped whilst growing
I have a 4x 2tb raid 5 mdadm array which I had begun to grow onto a 5th disk.
~# mdadm --add /dev/md1 /dev/sdb
~# mdadm --grow /dev/md1 --raid-devices=5
midway through the grow I recieved this in ...
1
vote
0answers
63 views
Fresh debian squeeze software raid install wont boot
I am following these instructions:
http://www.iprobot.net/linux-tutorial/how-to-setup-software-raid-in-debian-ubuntu/
(I used debian-live-6.0.6-amd64-gnome-desktop.iso and DD'd that onto a usb key, ...
0
votes
1answer
28 views
Adding Additional RAID Array to Ubuntu 11.10 x64 Server
I asked this on askubuntu.com as well but since it's a server question, figured I'd throw it on SF, too.
Haven't run into this situation before but it seems simple enough. Looking for advice/guidance ...
0
votes
0answers
67 views
Disaster recovery for RAID and mdadm
I´m having a software raid 5 with 5 2TB members.
After partitioning with gparted, my RAID doesn´t work any more...
How can I check the consisty of each member?
What would be my options, if the ...
1
vote
1answer
213 views
Linux software RAID 10 array, failed drive, resize file system and migrate to a 3 drive RAID 1?
I have a software RAID 10 array which I recently noticed went into a degraded state. The OS is CentOS 5.8.
It has 4x 500GB drives in 3 different arrays:
/dev/md0 is RAID 1 and mounted to /boot (200MB ...
0
votes
1answer
148 views
Device in software RAID 10 array: clean, degraded. Ouch?
I've got 4x 500GB drives in software RAID.
/dev/md0 is RAID 1 and mounted to /boot
/dev/md1 is RAID 10 and is swap
/dev/md2 is RAID 10 and is the main system and data device
I looked at mdadm this ...
2
votes
2answers
296 views
mdadm stalls rebuilding a RAID5 array at 99.9%
I recently installed three new disks in my QNAP TS-412 NAS.
These three new disks should be combined with the already present disk into a 4 disk RAID5 array, so I started the migration process.
...
2
votes
1answer
488 views
How do you set up RAID1 with both disks bootable on Debian/Ubuntu?
In Debian 6, new installation, what is the recommended way of setting up a software RAID1 array so that the system is bootable from both disks?
I have heard that people that don't know what they are ...
1
vote
2answers
280 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
87 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
76 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
1answer
1k 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
118 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
197 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
119 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
307 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
81 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
119 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
...
1
vote
0answers
126 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
155 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 ...

