All Questions
122
questions
36
votes
10
answers
238k
views
How to get an inactive RAID device working again?
After booting, my RAID1 device (/dev/md_d0 *) sometimes goes in some funny state and I cannot mount it.
* Originally I created /dev/md0 but it has somehow changed itself into /dev/md_d0.
# mount /...
32
votes
6
answers
29k
views
Does RAID1 increase performance with Linux mdadm?
I have a cheap 2-bay NAS with a 2TB HDD. To be robust against disk failure, I'm thinking of buying a second 2TB HDD and putting it in RAID1 with Linux mdadm. The file system is ext4.
Will this ...
32
votes
11
answers
61k
views
Simple mdadm RAID 1 not activating spare
I had created two 2TB HDD partitions (/dev/sdb1 and /dev/sdc1) in a RAID 1 array called /dev/md0 using mdadm on Ubuntu 12.04 LTS Precise Pangolin.
The command sudo mdadm --detail /dev/md0 used to ...
28
votes
4
answers
65k
views
How-to change the name of an MD device (mdadm)
Here is the output from mdadm -Esv:
ARRAY /dev/md127 level=raid0 num-devices=2 UUID=d89d9d45:9a420812:c44c77eb:7ee19756
devices=/dev/sdb8,/dev/sda8
This is a v0.90 array. The question is as ...
13
votes
5
answers
12k
views
Need to find which drives are mirrored within RAID-10 array
I have a home media server running on openSUSE 12.2. I'm using eight 2TB drives in a RAID-10 configuration. I deliberately bought two different types of drives: four Seagate Barracuda Green and four ...
11
votes
1
answer
13k
views
How can I remove this "zombie" mdadm array?
Admittedly I'm not too familiar with MDADM. I recently set up an array for a NAS, but incorrectly sized the partitions in my setup script, and need to remove the array, re-partition the disks, and re-...
9
votes
3
answers
4k
views
Can I use an entire drive for as a software raid member?
Can I use /dev/sda and /dev/sdb for my RADI1 configuration?
Or do I first have to partition both with a single Linux raid partition?
9
votes
3
answers
9k
views
Is it safe to put harddisks of a md-software-raid to standby?
I have a home-fileserver with 6 desktop harddisks in a md-raid.
The server isn't accessed a lot, so I think it would be good for the harddrives to go in standby-mode after some idle time (e.g. with ...
9
votes
1
answer
2k
views
Is it safe to "use" to disk if extended smart check is in progress?
As simple as the title suggests.
/dev/sda is a unit from /dev/md127 - RAID1 drive.
I'm currently running a test - started a smartctl -t long /dev/sda.
Afterwards, I started to copy files over ...
8
votes
1
answer
8k
views
Possible mdadm RAID states?
I'm writing a monitoring plugin for a home server RAID, mdadm on Ubuntu 10.4.
Using sudo mdadm --detail /dev/md0
I get output like this:
/dev/md0:
Version : 00.90
Creation Time : Thu Dec ...
8
votes
3
answers
7k
views
Raid1 with active and spare partition
I am having the following problem with a RAID1 software raid partition on my Ubuntu system (10.04 LTS, 2.6.32-24-server in case it matters).
One of my disks (sdb5) reported I/O errors and was ...
7
votes
1
answer
3k
views
Fail device in md RAID when ATA stops responding
I had created five 1TB HDD partitions (/dev/sda1, /dev/sdb1, /dev/sdc1, /dev/sde1, and /dev/sdf1) in a RAID 6 array called /dev/md0 using mdadm on Ubuntu 14.04 LTS Trusty Tahr.
The command sudo mdadm ...
6
votes
4
answers
4k
views
Linux software RAID robustness for RAID1 vs other RAID levels
I have a RAID5 array running and now also a raid1 that I set up yesterday. Since RAID5 calculates parity it should be able to catch silent data corruption on one disk. However for RAID1 the disks are ...
6
votes
3
answers
24k
views
Creating a RAID1 partition with mdadm on Ubuntu
I'm trying to set up a RAID1 partition on my Ubuntu 9.10 workstation.
On this dual-boot system, Ubuntu is running from a separate drive (/dev/sdc - an SSD that is quite small, which is why I need ...
6
votes
1
answer
504
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. ...
5
votes
1
answer
538
views
Mount Btrfs raid 5 from failed ReadyNas 104 on Linux - aka how I restore data from my ReadyNas
After about 7 years my ReadyNas finally failed, I would expect from Neatgear detailed recovery instruction, but I read dozens of threads - my problem is not uncommon, but solution was not found.
After ...
5
votes
2
answers
4k
views
Does TRIM avoid the performance impact of mdadm RAID 1 on SSD?
It has already been mentioned in other questions that Red Hat recommends against using mdadm RAID 1 on SSD.
Red Hat also warns that software RAID levels 1, 4, 5, and 6 are not recommended for use ...
4
votes
1
answer
4k
views
MDADM RAID-0 does not increased size after grow on AWS Linux with EBS
I wanted to grew a Raid0 from 2 disks to 3 (each 1TB EBS on Amazon AWS) but the size did not change thereafter. The RAID started with two disks sdc and sdd and the new one was sdf.
Here is the grow-...
4
votes
2
answers
6k
views
In mdadm's /proc/mdstat, what does [U_U] mean?
I just set up a raid 5 array for my media server. I set got 2 new disks, and set up an array with one missing drive, to copy the data from the old single drive to the new array, and later I will add ...
4
votes
1
answer
13k
views
Does mdadm record array event history?
I received an automated email from the mdadm daemon:
A Fail event had been detected on md device /dev/md0.
It could be related to component device /dev/sdh.
I find the wording strange. "could be"? ...
4
votes
1
answer
1k
views
HDDs occasionally "click" and dump this error
Every once in a while, my HDDs (6 1TB drives in a Linux md RAID-6 array) make a brief "click" sound, and I get this from dmesg. I don't really have any clue how to start diagnose this, or even how ...
4
votes
0
answers
3k
views
How to prevent an mdadm array check from consuming excessive system resources?
Once a month I've been doing
echo check > /sys/block/md2/md/sync_action
in order to force a software raid consistency check. The problem is this is a 7.2T RAID 5. The consistency check takes ...
4
votes
1
answer
758
views
Raid Spare Spin Down
I have a software RAID 5 array (mdadm under Debian Linux) that has been up for the better part of a decade and has seen it's fair share of drive failures. I've always been leery about setting up a "...
3
votes
1
answer
6k
views
XFS: Mount overrides sunit and swidth options
I have a 9TB XFS partition consisting of four 3TB disks in a RAID-5 array with a chunk size of 256KB, using MDADM.
When I created the partition, the optimal stripe unit and width values (64 and 192 ...
3
votes
4
answers
10k
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 ...
3
votes
1
answer
17k
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 ...
3
votes
0
answers
746
views
MD RAID 6 with XFS Periodic Kernel Panic -- Possible Kernel Bug?
This now appears to be a bug with the combination of MD and XFS after finding similar kernel panic reports elsewhere. A bug report with Ubuntu has been filed here ( https://bugs.launchpad.net/ubuntu/+...
3
votes
0
answers
3k
views
Synology DiskStation: How to stop/interrupt a running reshape (RAID5 -> RAID6)
The short of it: I have a running reshape from RAID5 with 5 disks to RAID6 with 6 disks which needs to be stopped, so I can power off the system. I do not care if the reshape needs to start fresh once ...
3
votes
0
answers
255
views
Linux Software RAID - Migrate from disk device to a partition
I have two 8TB disks configured as RAID1 using mdadm on Ubuntu 18.04 server. They way I created software RAID was on the whole device - /dev/sdb and /dev/sdc - instead of the partition such as /dev/...
3
votes
0
answers
185
views
Metadata of the assambled raid inconsistent with the metadata of the individual drives?
We have a raid 10 with two failed drives, with one drive from each set still functional.
When booting into rescue system the metadata seems to be fine and consistent with the expected state.
The ...