0
votes
2answers
98 views

Is mdadm RAID Toast?

I took all my drives out and put them onto a new cpu/mobo. (upgrading) I boot up and mdadm claims it can't boot my degraded RAID. /dev/sdb sudo mdadm --examine /dev/sdb /dev/sdb: ...
2
votes
1answer
45 views

2 disk RAID5 Linux software array

(I've posted this on Serverfault as I suspect it a bit to technical for Superuser. If I'm wrong please move it where appropriate) I am remotely looking at a device which identifies as ReadyNAS ...
0
votes
1answer
28 views

mdadm grow operation giving nonstop libata errors

Running Debian 7, mdadm 3.2.5. I issued a command to grow a 5 disk, 3 spare raid 5 array to an 8 disk, 0 spare raid 6 array: mdadm --grow /dev/md0 --level=6 --raid-devices=8 ...
0
votes
0answers
75 views

Replace a slowly dying drive in Linux software raid5

I have the same problem as in Can I "atomically" swap a raid5 drive in Linux software raid? i.e. a Linux software raid with 3 RAID5 disks where one disk is showing smart errors but isn't ...
1
vote
0answers
146 views

syncing mdadm event count

I had a disk die in my level 5 RAID and before I could replace it, my RAID crapped out while I was copying some data onto it. Reading the RAID kernel wiki on RAID recovery I've tried forcing an ...
9
votes
3answers
772 views

mdadm raid5 recover double disk failure - with a twist (drive order)

Let me acknowledge first off that I have made mistakes, and that I have a backup for most but not all of the data on this RAID. I still have hope of recovering the rest of the data. I don't have the ...
1
vote
2answers
183 views

Recovering RAID5 array after zeroing wrong superblock

I have a raid5 array on 4 disks, sda1, sdb1, sdd1 and sde1. sdd1 was removed but is a healthy drive. While attempting to re-add it, I accidentally zeroed out the superblock for sdb1. sdb1's data is ...
2
votes
1answer
203 views

How to grow mdadm RAID5 into degraded state?

mdadm - v3.2.5 - 18th May 2012 Currently have: Version : 1.2 Creation Time : Tue Jun 25 19:03:31 2013 Raid Level : raid5 Array Size : 2930135040 (2794.39 GiB 3000.46 GB) Used ...
2
votes
1answer
138 views

missing files after reassemble of RAID-5

I had to open my file-server's housing on Sunday to replace a faulty fan. What I didn't see was that one of the sata-cables was not properly connected. The 1st thing I did after a reboot was a check ...
0
votes
1answer
267 views

Grub2 w/ RAID5 and btrfs “error: unknown filesystem”

I have a Virtual Machine (in ESXi 5.1) running Ubuntu Server 12.04. When I try to boot my system I grub2 tells me "error: unknown filesystem". I've tried booting a Live CD then reinstalling grub from ...
1
vote
2answers
396 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
1answer
92 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 ...
1
vote
1answer
193 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 ...
2
votes
0answers
161 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
2answers
434 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 ...
3
votes
1answer
281 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
623 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 ...
0
votes
1answer
66 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 ...
3
votes
1answer
1k 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 ...
2
votes
1answer
578 views

What was the default chunk size in previous versions of mdadm? Is there a way to set data/super offset? Trying to recreate a raid 5 md with all spares

I have a 6 device raid 5 array which had 1 disk go bad and then due to a power outage, the machine shutdown and when it started all the disks were showing up as spares with the following mdadm -E ...
3
votes
2answers
1k views

Raid 5 with 4 disks on Debian automatically creates a spare drive

I'm trying to to create a RAID 5 with 4x 2TB disks on Debian 6. I followed the instructions from: http://zackreed.me/articles/38-software-raid-5-in-debian-with-mdadm I created the raid with following ...
0
votes
2answers
1k views

mdadm raid5 too slow when writing

I have set up a RAID5 array using 4 disk partition. All disks are 2TB. When the RAID5 array was initially syncing it was too slow. So I did a echo 32768 > /sys/block/md2/md/stripe_cache_size and ...
31
votes
4answers
12k views

Recover RAID 5 data after created new array instead of re-using

Folks please help - I am a newb with a major headache at hand (perfect storm situation). I have a 3 1tb hdd on my ubuntu 11.04 configured as software raid 5. The data had been copied weekly onto ...
0
votes
2answers
969 views

Debian squeeze, mdadm. Degraded RAID5 array after each reboot

/etc/mdadm/mdadm.conf ARRAY /dev/md0 level=raid5 num-devices=4 metadata=00.90 UUID=54e55d36:c3971e21:d484c166:6e86c3d7 devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde MAILADDR root mdadm -D ...
5
votes
2answers
4k views

Ext4 superblock corrupted after successful(?) mdadm grow and resize2fs

Some system details AMD Phenom II X6 1090T, 16GB DDR3 1600 running 11.04 natty, 2.6.38-8-server Raid in question consists of 5 SATA drives; 4 Samsung, 1 Western Digital; 500 GB each Drives are ...
0
votes
1answer
234 views

Create superblock for software raid-5 array

I have created a raid 5 array with mdadm. I created partitions on all five of the disks created a raid-5 array with mdadm on these five partitions). Everything seems fine however when i try to mount ...
1
vote
3answers
819 views

Problem with RAID5 (mdadm) - disk detached

Having these lines in /var/log/syslog Apr 18 16:53:05 Server kernel: [4487878.816036] ata4: EH in SWNCQ mode,QC:qc_active 0x1 sactive 0x1 Apr 18 16:53:05 Server kernel: [4487878.816058] ata4: ...
2
votes
2answers
336 views

Sources of bottleneck for Linux RAID5 software array

I created a 7-drive RAID5 array with mdadm and put LVM2 on the array should I want to expand it in the future. I formatted as XFS. I basically followed this tutorial line for line: Easy to expand ...
0
votes
1answer
1k views

mdadm on ubuntu 10.04 - raid5 of 4 disks, one disk missing after reboot

I'm having a problem with the raid array in a server (Ubuntu 10.04). I've got a raid5 array of 4 disks - sd[cdef], created like this: # partition disks parted /dev/sdc mklabel gpt parted /dev/sdc ...
2
votes
1answer
2k views

Why does MDADM Raid 5 require a spare

From the mdadm man page: "When creating a RAID5 array, mdadm will automatically create a degraded array with an extra spare drive. This is because building the spare into a degraded array is in ...
2
votes
3answers
258 views

What happen when you replace a broken harddrive with a bigger one into RAID5

Given I have a raid 5 of /dev/sda, dev/sdb, /dev/sdc, now with the same size (said 250G) But later, /dev/sda failed, so I replaced it with /dev/sdd of 500G. What happens? If Later I replace /dev/sdb ...
5
votes
4answers
446 views

mdadm: Replacing array with entirely new drives

I have a server with three 500GB drives, with most of my data in a RAID5 configuration spanning the three of them. I just purchased and installed four 1TB drives, and the intention is to move off of ...
1
vote
1answer
3k views

How do I replace a disk marked as removed from a linux md raid-5 array?

I had some recent computer issues and somehow one of my disks ended up not being recognized in my array anymore. It identifies fine, and both smart and some other disk checking utils all say its fine, ...
1
vote
1answer
229 views

Expanded 8TB RAID5 in mdadm only showing 3.5TB available

I had 3, 2TB disks in a RAID5 that I expanded to a 5, 2TB RAID5 (details here). This all went fine but when I went to the folder I have array mounted to (/var/media), it only show 3.5TB of space ...
3
votes
1answer
800 views

Growing a RAID5 using mdadm with multiple drives?

I have a RAID5 array that consists of 3, 2TB drives. I want to add 2 more drives. The tutorials involve adding a single drive to an array, such as this: https://raid.wiki.kernel.org/index.php/Growing ...
1
vote
1answer
1k views

How to make partition, raid5 and filesystem on 6x2TB WDC-drives in Linux

I'm getting confused by this "Advanced Format" (4KB sectors) talk of bigger (2TB) drives - and I am wondering about how I would resolve this if I'm building a new software (mdadm) RAID-5 array. The ...
2
votes
3answers
2k views

mdadm: Swapping out small hard drives for bigger ones in a RAID5, How to partition?

So I got the gist of swapping out smaller hard drivers for bigger ones in an MDADM RAID5: Fail and remove one drive. mdadm -f /dev/md0 /dev/sdd1 mdadm -r /dev/md0 /dev/sdd1 Shutdown, swap the ...
2
votes
1answer
993 views

mdadm raid5 failure. set wrong drive to faulty by accident

noticed a degraded raid where /proc/mdstats marked one device as down. so i wanted to set the missing drive to faulty and reattach it. somehow i got the wrong drive, leaving me with an unworking ...
1
vote
1answer
2k views

What is the procedure for reactivating a failed mdadm RAID5 array?

I have a three disk RAID5 array managed with mdadm, with an XFS filesystem on it. While I was using the machine, I noticed the machine suddenly become unresponsive (new programs wouldn't start, etc), ...
0
votes
1answer
4k views

Software MDADM RAID 5 - Inactive MD0 showing

I have Linux (Crunchbang 8.10) set up with 3x1TB Hard drives set up as software RAID5. It has recently suddenly stopped working. cat /proc/mdstat shows the following: Personalities : [linear] ...
5
votes
1answer
3k views

Is it safe to shutdown a machine while rebuilding/recovering/growing a RAID5 array that was built with mdadm

I have recently started a recovery on my 5-drive RAID in my file-server, and it says it'll take 691+ minutes to complete. I was wondering what would happen to the process if the machine lost power - ...
2
votes
1answer
495 views

How long should the initial creation of my RAID 5 Array take? This seems ridiculous

I'm building a raid 5 array with 3 1.5TB drives on CentOS 5.5 using mdadm. Everything seems to be working fine, except it's taking forever and I'm not sure if that's normal. It's going on 6 hours ...
5
votes
1answer
1k views

Why do I get a DegradedArray event with mdadm

Just so we're clear on what's happening: I bought 4 new sata 2 drives, with the intent of using them in a raid5 all drive are fully recognised by both my bios and my linux box (gentoo) I created a ...
2
votes
2answers
697 views

Growing a Linux software RAID5 array

On my home file server, I've got a 1.5TB software RAID5 array, built from four 500gb Western Digital drives. I've got a fifth drive that I usually run as a hot spare (but have out of the array at the ...
3
votes
6answers
4k views

Recover RAID-5 that was already running in degraded mode (lost a second disk)

this is silly, this has happened before and I figured out how to fix it and it was fine. I'm running 4 500GB SATA drives in a RAID-5 on Ubuntu 7.10 server. One of the disks failed (actually I think ...
2
votes
1answer
3k views

mdadm raid5 superblock is missing

I had a 3 disk mdadm raid5 volume (made of /dev/sd[abc]) that was in the middle of a reshape, going to 5 disks (adding /dev/sd[df]), when the power to the server failed. this is on ubuntu 8.10 ...
7
votes
2answers
11k views

How do I move a Linux software RAID to a new machine?

I have a newly built machine with a fresh Gentoo Linux install and a software RAID 5 array from another machine (4 IDE disks connected to off-board PCI controllers). I've successfully moved the ...