Multiple Device driver aka Linux Software RAID
Questions tagged [md]
80 questions
0
votes
2 answers
Can I convert a single-disk system to software RAID1 without double-copying?
I have read this question: Can I create a "soft" RAID1 array without nuking data? as well as many other tutorials that layout this general process:
Create degraded RAID1 array on new drive
Copy over data to new drive
Add the old drive to the array,…

Shelvacu
- 373
- 1
- 2
- 15
0
votes
2 answers
md raid10: how to make sure that replicated data is stored in right place?
When creating classic mirrored raids, it's usual to locate copies of data on disks of different kinds. In this case you would use a mix of disks of different series and manufacturers. That reduces the risk of loosing data if a whole series is…

michi.0x5d
- 154
- 9
0
votes
0 answers
MD RAID Array Often Starts Without All Drives
I find that, when I start/restart my system, my MD array often doesn't start with all of the drives even though the device-names haven't changed at all.
I'll have to stop the array and reassemble it, and then it will start and mount like it should.…

Dustin Oprea
- 560
- 2
- 8
- 19
0
votes
3 answers
In a software RAID1, why does tune2fs -c 0 /dev/sda1 not throw an error but change is not seen in tune2fs -l /dev/sda1?
The Title pretty much says it all.
Turn off mount count fsck seems to succeed:
tune2fs -c 0 /dev/sda1
tune2fs -c 1 /dev/md0
But listing out via
tune2fs -l /dev/sda1 shows mount count is set back to 1 for /dev/sda1 and /dev/md0.
i only want automatic…

rjt
- 578
- 6
- 26
0
votes
1 answer
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 --raid-devices=2 /dev/sda1 /dev/sdf1
mdadm --create…

Chris
- 104
- 2
- 12
0
votes
1 answer
System wont boot from degraded RAID6
I have a Debian Wheezy with 3 Partitions as RAID6. MD0 is for Root and OS, MD1 is for SWAP and MD2 for Files. While copy files to MD2 the system reports kernel panic and halts. I have had shutdown on the hard way. When I boot the system I get the…

Sunghost
- 11
- 3
0
votes
1 answer
Linux MD Raid same device detection
Linux md raid driver delays recovery/verification of multiple devices if they share the same parent device.
We have setup where disks are pationed via device mapper, they use bcache, etc.. and finally they are raided with md. This unfortunately…

Radek Hladík
- 600
- 1
- 3
- 14
0
votes
2 answers
Headless server with an mdraid array won't boot
I'm in a bit of a pickle. I have a headless server (Acer EasyStore) running Ubuntu 12.04.1, which, after an update, now refuses to boot. It has four disks, one of which holds the OS in a partition and the rest, along with the other three disks, is…

Stavros Korokithakis
- 275
- 1
- 3
- 12
0
votes
1 answer
Upgrade grub to grub2 with MD RAID
I have a machine running Debian 6. Because of some recent changes, I tried upgrading to Grub2 (yes, grub legacy was installed by default). Everything went well (chainloading, reboot) until I started "upgrade-from-grub-legacy". The machine has 2…

ThE_-_BliZZarD
- 301
- 1
- 4
- 11
0
votes
2 answers
how to get block sizes larger than 4k in reads from an md raid1 volume
I wanted to setup a raid01 configuration (a raid1 composed of two raid0s) with one of the raid0 volumes having the write-mostly state set so all reads would go to the other (i.e. one is disk, the other flash). However that entire plan has run into…

jg167
- 1
- 1
0
votes
1 answer
Cancel `md --grow` operation
I added drives to an md RAID5 array, and quickly realized that I forgot to create a partition as is best practice (something I’ve also learned from bitter experience). How can I cancel this operation and re-add them?
Right now I froze the rebuild.…

Aleksandr Dubinsky
- 147
- 2
- 10
0
votes
0 answers
System failure shortly after md raid growth and no md superblocks on added disks
tl;dr; I tried to grow my raid array by adding 2 10 tb disks to an exsistant 4x4TB raid 5 array, had a failure with the system disk (not part of the raid) shortly after the growth finished and after recovering the system the new disks are not…

Sam
- 101
0
votes
1 answer
Why do md array rebuilds start?
I've recently made mdadm report about the events and yesterday I received a number of rebuild events. Why was the rebuild started? I don't see anything relevant in the journal. Also I'm concerned about the "mismatches found: 128 (on raid level 1)"…

x-yuri
- 2,141
- 2
- 24
- 29
0
votes
1 answer
RAID is healthy but one device is unpartitioned - should I replace it?
I have a RAID5 array with 3 devices as follows:
~$ cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md127 : active raid5 sdb[4] sdc1[2] sda1[3]
955537408 blocks super 1.2 level 5, 64k…

TommyPeanuts
- 472
- 1
- 7
- 24
0
votes
0 answers
sudo mdadm --assemble --run /dev/md0 /dev/sdc1 mdadm: /dev/sdc1 is busy - skipping
I am able to mount /dev/md0 device but not sdc1.
While mounting sdc1 getting below error.
sudo mount /dev/sdc1 /mnt/s1/
mount: /mnt/s1: unknown filesystem type 'linux_raid_member'.
janardha@saankhya-virtual-machine:~$ sudo mdadm --assemble