Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

844 questions
3
votes
1 answer

mdadm - Drive has incorrect type after reboot

I have a raid 6 setup with six drives using mdadm. I noticed I had a failed drive (b) that was not responding at all. Making sure all drives are properly connected I stopped the raid, unmounted and shutdown my computer. When starting it back up…
Christer
  • 161
  • 6
3
votes
0 answers

Is it OK to prepare drives in mdadm RAID in LinuxMint live and then run CentOS7 installer?

I am planning to setup a CentOS7 server with software RAID. Since the CentOS7 installer isn't particularly good at preparing the disks, I wonder if it would be OK to boot up a LinuxMint 18 live, do the partitioning and RAID assignment and then…
Pavel Tankov
  • 376
  • 3
  • 16
3
votes
2 answers

Raid 1 from already initialized disk

I have 4TB disk (A) with data in it. Now I've bought a new 4TB disk (B), and I want to start a RAID1 so that B becomes the mirror of A, without loosing data on A. I'm under linux with mdadm tool. The only guides I've found by googling are referring…
Jack
  • 525
  • 1
  • 5
  • 13
3
votes
2 answers

Degraded RAID10 Array?

Earlier today I received an automated email from mdadm monitor with the following: This is an automatically generated mail message from mdadm running on server This is an automatically generated mail message from mdadm running on server A Fail…
BrokenCode
  • 163
  • 7
3
votes
2 answers

Software RAID5 reshape at 0K/sec after attempting to grow

I have a RAID5 array that I tried to add a disk on to grow the array and it appears to be stuck. I have found all kind of threads on similar issues, but can't seem to locate a clear solution on what to do. Basically, I did this: mdadm --grow…
Fmstrat
  • 237
  • 4
  • 15
3
votes
1 answer

Ubuntu 16.04 - frozen mdadm array

I had a working RAID5 array consisting of 6 4TB disks. Smartd reported that one of the disks started failing. I decided to do several things in one operation: 1) remove the failing disk 2) add new one to replace it 3) add a few more disks to the…
Ghostrider
  • 171
  • 6
3
votes
0 answers

Create mdraid with multipath disks in in RHEL7:

I am still novice in the world of storage. I am working on a project of migrating our backups infra from Solaris to Linux. As part of that, I have rebuilt a server to Linux (RHEL7) and it has 2 root disks (300GB each) and 30 disks (of 3TB each) from…
Ram Kumar
  • 73
  • 1
  • 3
  • 8
3
votes
1 answer

How to stop resync and start rebuild on software raid (mdadm)?

I have RAID6 on 24 drives. The raid was setup with mdadm, so it is a software raid. One of the drives died and the server freezed due to that, so it had to be rebooted using Power Cycle (power off + power on). When the server booted, it started the…
Tomas M
  • 151
  • 1
  • 4
3
votes
3 answers

ext3 format options

I'm creating a ext3 filesystem on top of a software raid5 (md) and I'm wondering what are the best parameters when creating the filesystem (with mkfs.ext3) and while mounting. RAID5 chunk size is 128k, array has 3 drives, 900 GB effective total.…
Matic
  • 35
  • 5
3
votes
3 answers

mdadm not assemble after restart

I have 2 disk with the next structure: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 3,7T 0 disk ├─sda1 8:1 0 2,7T 0 part └─sda2 8:2 0 931,5G 0 part sdb 8:16 0 2,7T 0…
3
votes
0 answers

Which are possible hierarchies for bcache, mdadm RAID and LVM?

Assuming I want to use bcache for caching, mdadm for RAID (1) and LVM for partitioning (and that I don't care that there might be performance drawbacks due to many levels of I/O and device management introduced) what would be the best hierarchy on…
Kalle Richter
  • 268
  • 6
  • 18
3
votes
0 answers

mdadm raid1 back to single drive

I have a raid1 install of debian 7 with software mdadm on 2 disks. What I want here is to split this to 2 separate systems and be able to multiboot them. I guess while I have the system running from the first drive I could do: mdadm /dev/md0 --fail…
defiler
  • 31
  • 1
3
votes
6 answers

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 it's one of the connectors in the hot-swap cage)…
Inovagent
  • 33
  • 1
  • 4
3
votes
1 answer

recover highly degraded raid array

I have a Linux RAID6 array (mdadm) composed of 8 disks. 2 disks failed. I replaced them, now I have 2 new empty disks. I would like to rebuild the raid but when I start a raid rebuild, the rebuild fails because a third disk is showing read errors…
exeral
  • 1,787
  • 11
  • 21
3
votes
2 answers

mdadm - RAIDs of partitions or partitions of RAID?

If using entire drives for an mdadm RAID which will be the boot device as well, is it more correct / standard to: 1) Configure the RAID out of partitions that encompass the whole drive (like /dev/sda1 + /dev/sdb1) and then partition the resulting…
sa289
  • 1,318
  • 2
  • 18
  • 44