0
votes
0answers
35 views

mdadm RAID0 array recovery

I have a Linux file server with two 12-disk MD1000 disk arrays attached to a RAID controller. Unfortunately, a power blip has caused a loss of configuration data on the RAID controller and it is now ...
0
votes
0answers
28 views

mdadm reattached a failed drive all by itself

I have 2 drives setup in mdadm mirroring (3 partitions on each drive). Last week the second drive (sdb) dropped out of the array because of some I/O errors I am still investigating. After a server ...
0
votes
1answer
23 views

External bitmap concerns

I am considering adding an external bitmap to my mdadm RAID6. The benefits seem absolutely incredible in terms of rebuild time but I do have some concerns. I didn't plan for it so I don't have much ...
1
vote
2answers
64 views

Should I partition a RAID or just create a file system on it? [duplicate]

Given a RAID 6 created from 6 drives /dev/md0 which should be used fully for data (no booting from it, root and swap are on a different drive), should I create one partition on that device and then ...
2
votes
1answer
412 views

Unable to mount '/dev/sda'

My server has two 2 TB hard disk drives in soft RAID 1. I can't mount /dev/sda. Output of parted -l root@rescue:~# parted -l Model: ATA HGST HUS724020AL (scsi) Disk /dev/sda: 2000GB Sector size ...
0
votes
1answer
149 views

Reconstructing the disk order in RAID 6 with 7 disks

a little background to this question first: I am running a RAID-6 within a QNAP TS869L external RAID/NAS system. I started with 5 disks of 3 TB each back in the day, and later added another 2 disks of ...
0
votes
1answer
33 views

Raid1+0: create stripe over two /dev/mdx on partition or not?

Given that I haven't found a way to define how a Raid10 is created with mdadm, i went the Raid1+0 solution. How to display/define Mirror/Stripping pairs with mdadm mdadm --create /dev/md0 --level=1 ...
1
vote
0answers
88 views

Upgrade Raid 1 to Raid 0+1 and bootloader issue

I am trying to convert my current RAID 1 to RAID0+1 and facing issue in installing bootloader - please have a look what i am doing. My current configuration is RAID1(2*10GB): [root@localhost ~]# ...
0
votes
1answer
82 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
1answer
61 views

How to add partition table to existing EXT4 filesystem

I have software RAID6 on 8x3TB disks (18TB), there is filesystem od device /dev/md1, but EXT4 can`t be bigger than 16TB so there is 2TB of free space. I would like to use this space. My first idea was ...
1
vote
1answer
381 views

mdadm Stuck at rebuilding spare

I have the following Raid configuration, cat /proc/mdstat Personalities : [raid1] [raid6] [raid5] [raid4] md4 : active (auto-read-only) raid5 sda5[0] sdd5[4] sdc5[2] sdb5[1] 1536 blocks ...
0
votes
1answer
134 views

CentOS System Recovery : Overwritten RAID Superblock and porting to new hardware

I have a failed system running on CentOS 6 and would like to attempt recovery of system. One problem it has is the mdadm superblock appears to have some issues, it has all sorts of inconsistent ...
0
votes
0answers
17 views

mdadm - diffference between metadata version

Can anyone tell the difference between all the metadata versions for mdadm? When I try the command mdadm --examine /dev/sda1, I can't seem to find preferred superblocks on version 1.2. Is there a ...
0
votes
0answers
116 views

Software RAID: file system becomes read-only, mdadm fails with SEGFAULT

I have software RAID1 on Ubuntu 10.10 (Linux ubuntu 2.6.35-32-generic-pae). It is dedicated server I control via SSH. Yesterday datacenter people changed one HDD which was crushed. I did not run ...
4
votes
1answer
437 views

CentOS 6.5 mdadm Raid 1 - Kernel Panic during raid data check

I have a brand new CentOS 6.5 install with two (mounted to /mnt/data) 1tb Western Digital Black drives in raid 1 with mdadm, configured via the installer. Unfortunately every now and again the entire ...
1
vote
1answer
220 views

SMART short offline test never ends for all drives of a RAID1

I'm having a strange situation here. After some three years in a low traffic server, one of two Samsung drives in a RAID1 has failed yesterday: Personalities : [raid1] md0 : active raid1 sdb1[2](F) ...
1
vote
1answer
157 views

DegradedArray event after rsync but later mdadm and smartctl do not show any issue

I have in my cron rsync active and I started to get emails after each rsync This is an automatically generated mail message from mdadm running on titan707 A DegradedArray event had been detected on ...
5
votes
1answer
880 views

Linux; What is stripe_cache_size and what does it do?

I am currently building a software RAID under Linux using mdadm utility and I've read a few articles that describe how to increase the stripe_cache_size value for that RAID and how to calculate an ...
2
votes
1answer
170 views

Linux; Set RAID5 chunk size to 4kB to match FS block size and physical disk sector size

There are many discussions and websites that explain the process of setting up a Linux software RAID with mdadm with the chunk size of a new RAID as 128kBs or 512Kbs. Serverfault is no exception. I ...
2
votes
0answers
83 views

RAID1 disks “forked”, now duplicate

I have got a server hosted by OVH, which is configured to have a soft RAID1 array, /dev/md0, that holds a LVM PV. There is another /dev/md1 array, which was supposed to be the /boot, but which is ...
0
votes
0answers
92 views

confused by iostat reporting striped mdadm more tps than aggregate volumes

I've got an mdadm striped device (/dev/md0) from /dev/sdm{1..4}. Here is an output of iostat 30 and then mdadm --detail on the mdadm device # iostat 30 Linux 2.6.32-309-ec2 (ip-xx-xx-xx-xx) ...
2
votes
1answer
129 views

mdadm constant disk i/o

I have an mdadm array which has constant disk i/o. I know it's the array bc my server shows which specific drives have activity. According to iotop there's a constant disk write of 3-6 Mbps, however, ...
1
vote
0answers
1k views

How to recover an mdadm array on Synology NAS with drive in “E” state?

Synology has a customized version the md driver and mdadm toolsets that adds a 'DriveError' flag to the rdev->flags structure in the kernel. Net effect - if you are unfortunate enough to get a array ...
1
vote
2answers
297 views

How do I fix my server to boot properly after removing / adding a drive on my mdadm software RAID

I configured a RAID-5 array for a data partition mounted on /mnt/data. My system is not booting on it (/ and /boot is on a dedicated drive not part of any RAID array). I added a 4th drive to my 3 ...
2
votes
1answer
139 views

mdadm raid10 or nfs performance issues?

I have a fresh mdadm RAID10 device which is healthy, built from 4 x 7200rpm SATA 3 drives: # cat /proc/mdstat Personalities : [raid10] [raid1] md2 : active raid10 sdc3[5] sda3[4] sdb3[1] sdd3[3] ...
3
votes
1answer
212 views

MDADM Rebuilding

I'm currently rebuilding a RAID6 MDADM array from 5 devices to 9. cat /proc/mdstat: Personalities : [raid6] [raid5] [raid4] md0 : active raid6 sde1[0] sdg1[9](F) sdh1[8](F) sdi1[6](F) sdj1[7](F) ...
3
votes
3answers
831 views

Slow disk I/O in KVM with LVM and md raid5

I have been battling with a kvm setup under debian for two weeks now, specifically with guest I/O disk performance. The system: -Supermicro 1018d-73mtf (X10SL7-F motherboard) -16GB ECC/UB -Intel ...
1
vote
2answers
84 views

Check health of RAID array

I have a server with RAID 1. Currently when I type in the following command: cat /proc/mdstat I get: Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] ...
0
votes
2answers
152 views

Path of md device wrong after reboot

I have to set up a software raid (level1) on a Ubuntu server 12.04. It should serve files in the network via Samba. The server has the following disks: 250gb Sata hdd (Ubuntu is installed on that ...
0
votes
2answers
128 views

Linux: How to restore data from failed disk from software raid

I have a disk failure in software RAID (1) and marked a broken disk as fault (mdadm --manage /dev/md0 --fail /dev/sda1). Unfortunately I destroyed data on the second disk after that. Is it possible to ...
2
votes
1answer
326 views

linux raid 1: right after replacing and syncing one drive, the other disk fails - understanding what is going on with mdstat/mdadm

We have an old RAID 1 Linux server (Ubuntu Lucid 10.04), with four partitions. A few days ago /dev/sdb failed, and today we noticed /dev/sda had pre-failure ominous SMART signs (~4000 reallocated ...
1
vote
1answer
110 views

Expanding raid 5 luks partition

I have just bought 2 new drives to my raid 5 array. I have successfully added them to the array and resynced. I now have a /dev/md4 drive that is 16 TB, but the crypt-luks partition md4p1 is still 12 ...
0
votes
0answers
78 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 ...
0
votes
2answers
653 views

Fedora, fsck fails at boot

I'm facing a problem in my server during the startup. This is my actual configuration: 320GB each. Raid1 -> /dev/md127. Working. /dev/sda /dev/sdc 1000GB each. Raid1 -> Use to be /dev/md126, ...
-1
votes
2answers
81 views

What is the correct way to create new raid5 in Linux?

I added some new disks, and tried to create new array, using: mdadm --create /dev/md/2 --level=5 -x 0 --raid-devices=4/dev/sd{a,b,c,g}2 It creates the array, but after reboot - it's gone. What ...
0
votes
2answers
164 views

Convert Raid 1 to Raid 10 with no new disks

I just got a new remote root-access server with 2 1TB disks in a Raid 1 configuration, running Debian (squeeze). Before installing my stuff on it, I'd like to switch to Raid 10 if I can. All the ...
10
votes
3answers
1k 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
0answers
158 views

How to disable MD RAID or prevent degraded arrays from starting. (Centos 6.4)

I am trying to disable software RAID at boot time. My ultimate goal is to prevent the system from starting raid arrays that are in a degraded state. rd_NO_MD is present on the kernel command line by ...
2
votes
2answers
361 views

Remake SW RAID1 from a new HDD and an old HDD with bad blocks

I have a SW RAID1 and I just replaced /dev/sda with a new HDD as the old one failed. Now, upon trying to recreate the RAID array I discovered that the "good" HDD (/dev/sdb) has bad blocks with prevent ...
4
votes
1answer
234 views

Rebuild mdadm RAID5 array with fewer disks

I have a 4 disk RAID5 array, one of which is starting to fail according to smartd. However, since I'm using less than half the space on /dev/md0, I'd like to rebuild the array without the failing ...
1
vote
1answer
110 views

Re-mount EBS vol on EC2 instance

I am new to sysadmin. I am trying to launch a EBS-backed EC2 instance. I did the following based on mongodb docs: sudo mdadm --verbose --create /dev/md0 --level=10 --chunk=256 --raid-devices=1 ...
1
vote
1answer
840 views

Linux - dmraid (or mdadm) - Rebuild RAID 10

A while ago I had a raid10 config crap out on me, and am now just getting around to trying to salvage the array so I can rebuild and move on with my life. Basically a drive in each subset failed, ...
3
votes
1answer
794 views

Linux RAID mdadm: what does 'Events' mean?

When I type mdadm --detail /dev/md0 I get a lots of useful information most of which I understand. However I also get a line that reads: Events : 0.710 Where the number varies. Naively, I ...
7
votes
2answers
227 views

Linux software raid fails to include one device for one 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. Every time I ...
2
votes
1answer
233 views

mdadm reassemble from spare disk crashed during resync

The server crashed while raid-1 /dev/md2 with /dev/sda3 + /dev/sdb3 was resyncing from /dev/sdb3 to /dev/sda3. sadly, /dev/sdb was lost completely due to a hardware fault. I'm now left with only ...
0
votes
2answers
142 views

Recovering a Raid1 array from a broken drive

I've been asked to look at a computer which had a Raid 1 Array in it until one drive failed 12 months ago without being picked up and has now been replaced but the other drive is also in a bad way and ...
1
vote
1answer
818 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 ...
4
votes
2answers
1k 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 ...
1
vote
1answer
4k 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 ...
3
votes
1answer
707 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 ...