A linux utility used to manage software RAID devices.
Questions tagged [mdadm]
844 questions
0
votes
2 answers
how to know what is disk uuid for md raid1 and hdparm?
ive got md0 (raid 1) array and want to make write cache off on them during system boot (ubuntu 12.04 server).
md0: /dev/sda /dev/sdc
blkid:
/dev/sda: UUID="3e502de5-696d-f4b4-470e-XXX" TYPE="linux_raid_member"
/dev/sdb1:…

MealstroM
- 1,517
- 1
- 17
- 32
0
votes
1 answer
Rebuild doesn't finish after raid1 disk replacement
In one of our servers one of the disk failed, no worries it happens all the time, we replaced the bad disk following the usual procedure but then ... 'the horror', after adding a new disk one of the partition failed to sync because the 'good' disk…

Agustin Cautin
- 113
- 4
0
votes
3 answers
Linux software raid robustness
I have a 4 disk 5TB raid5 setup where a disk is showing signs of going down the drain. It is reporting media errors and from dmesg I can see that several read errors are corrected. smartctl does report "notifications" but no panic so far.
Since new…

Waxhead
- 801
- 9
- 15
0
votes
1 answer
mdadm scheduled check
I now have several devices that start the monthly mdadm scheduled check. I can let them all run monthly, stagger the checks, or disable them completely. I had the misfortune of several disks turning up bad this month causing a few arrays to run in…

erimar77
- 488
- 2
- 8
0
votes
1 answer
Linux: Rebuilding MD-RAID 1 array when one drive has been out of array for awhile
About a month and a half ago I noticed that the two hard drives in a (OpenSuSE 11.3) server were dying. Guessing based off the SMART data, I replaced /dev/sdb first; to do this I removed the drive from the array, shut down the server, replaced the…

Kendall
- 1,063
- 12
- 25
0
votes
1 answer
identifying and cloning the superblock of a raid0 mdadm v0.90 array
/dev/sdb13 174706938 976768064 401030563+ fd Linux raid autodetect
The size of that partition is 802061126 sectors. From what i read - mdadm should have placed the actual superblock somewhere inbetween 128K and 64K to the very end. This…

XXL
- 125
- 1
- 1
- 8
0
votes
1 answer
Reassembling Raid 10 in Ubuntu from the initramfs menu
My raid 10 - used for / - has failed for my Ubuntu box.
I replaced the bad disk and I am trying to reassemble the raid from the initramfs menu. I have tried starting the degraded Raid and using the recovery startup option
When I run the mdadm…

ckliborn
- 2,778
- 4
- 25
- 37
0
votes
1 answer
spares missing on ubuntu mdadm software raid 5 how to disable?
I want to understand and if it makes sense, disable the alert message I receive about spares missing on my ubuntu linux software raid 5.
I used mdadm and set up a /dev/md0 raid volume made up of 3 hard drives.
I then set up email alerts so I can see…

Scott Szretter
- 1,882
- 11
- 43
- 66
0
votes
3 answers
How to add existing /home on MDADM RAID to new LVM based OS install
Have (32-bit) Centos 5.6 file server with 2x1TB HDD/ext3 in MDADM RAID-1 as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd …

Kalimari
- 1
0
votes
2 answers
rebuilding raid5 array
I inherited a machine that was running Debian with a RAID 5 array. I installed a bunch of updates (1700 or so) that the OS recommended, then after rebooting, the raid array did not mount. The device /dev/md0 now does not exist, and I do not know…

Diogenes Creosote
- 109
- 5
0
votes
2 answers
Monitoring md arrays via cron not working
I am trying to get my Fedora15-based server to send any errors from mdadm by mail. I found this snippet online and put it in my crontab (crontab -e):
0,20,40 * * * * mdadm --monitor -1 -m yourname@yourisp.com -scan
Nothing happens. When running…

Industrial
- 1,579
- 6
- 24
- 37
0
votes
2 answers
Debian squeeze, mdadm. Degraded RAID5 array after each reboot
/etc/mdadm/mdadm.conf
ARRAY /dev/md0 level=raid5 num-devices=4 metadata=00.90 UUID=54e55d36:c3971e21:d484c166:6e86c3d7
devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde
MAILADDR root
mdadm -D /dev/md0
/dev/md0:
Version : 0.90
Creation Time…

DimitrisD
- 231
- 2
- 11
0
votes
1 answer
auto assembling mdadm created RAID - initramfs doesn't change
(Ubuntu 10.10 + mdadm 3.1.4) I have my raid described in /etc/mdadm/mdadm.conf:
HOMEHOST
ARRAY metadata=imsm UUID=46e68921:eea24d1d:e933eee8:192d55bc
ARRAY /dev/md/Volume0 container=46e68921:eea24d1d:e933eee8:192d55bc member=0 …

Sandra E
- 21
- 5
0
votes
1 answer
Partition Centos | Raid
I have 4 HDD, the system is installed on /dev/sda2
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 884G 2.1G 836G 1% /
/dev/sda3 2.0G 159M 1.7G 9% /tmp
/dev/sda1 99M 18M 77M …

domz
- 1
0
votes
1 answer
Create superblock for software raid-5 array
I have created a raid 5 array with mdadm. I created partitions on all five of the disks created a raid-5 array with mdadm on these five partitions).
Everything seems fine however when i try to mount the array i get a complaint about there being no…

Martijn v E
- 101
- 3