Questions tagged [md]

Multiple Device driver aka Linux Software RAID

77 questions
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
  • 8
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
  • 510
  • 1
  • 7
  • 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
  • 568
  • 5
  • 25
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…
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

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
  • 1,845
  • 1
  • 22
  • 27
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
  • 399
  • 1
  • 5
  • 23
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
0
votes
0 answers

recovering lost access to RAID5

I had perfectly working RAID5 and added another device. I lost power during the RAID recovery. Now I have no access to it - it does not exist - lsblk does no longer recognize it as RAID5 - just individual devices. I have build a new RAID5 and…
Jan Hus
  • 101
0
votes
0 answers

Reading the list of all disks in a *degraded* MD array

It just so happens that a disk failed in my RAID-1 software array in Linux. cat /proc/mdstat displays only active partition: Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sdb1[1] mdadm -v…
LetMeSOThat4U
  • 1,159
  • 2
  • 14
  • 29
-1
votes
2 answers

Degraded md RAID5 won't boot

I'm running a Ubuntu server on a md RAID5. I started to have some issue with one disk, I received the following email from mdadm: A DegradedArray event had been detected on md device /dev/md/0. md0 : active raid5 sdb2[1](F) sdd2[2] sda2[0] …
Xantra
  • 55
  • 2
  • 6