The mdadm tag has no wiki summary.
1
vote
1answer
22 views
get mkfs.xfs options from existing xfs filesystem
I set up a new server last week, did some testing with different mkfs.xfs options on mdadm raid5, i finally found some statisfying mkfs options.
Now i am about to set up a new server having exactly ...
0
votes
0answers
13 views
Installing LILO to software-RAID1 with failed item
Item /dev/sda1 of software RAID1 /dev/md0 has gone to a better world. md0 is mounted to a root / directory, and it contains /boot directory.
My lilo.conf configure is
boot=/dev/md0
root=/dev/md0
...
2
votes
0answers
21 views
mdadm LBA mapping
I am trying to write a script similar to mdtrim (https://github.com/Cyberax/mdtrim) for a raid 0 software raid through mdadm. The mdtrim is for raid 1 only at the moment, and it works by writing a ...
4
votes
1answer
33 views
Debian installation on software RAID (lilo.conf configuration)
Debian installation program has created lilo.conf:
boot=/dev/md1
root=/dev/md1
raid-extra-boot=mbr-only
But when i configure lilo i usually put these lines
disk=/dev/md1
sectors=63
heads=255
...
1
vote
1answer
88 views
How to disable mdadm when running hardware RAID
My server Dell R210 runs a Debian squeeze with hardware RAID1 (H200) preconfigured. But I notice that there is mdadm running. Sometimes in backup, or in OS upgrade (to Debian 6.0.4), I have messages ...
0
votes
0answers
5 views
Fault tolerant RAID6 / RAID10 design for home server - not performance critical [migrated]
I want to balance disk space against fault tolerance. I would like fault tolerance to be able to handle multiple disk failures (as I may not be able to afford replacements disks or have the time for ...
0
votes
0answers
57 views
Rebuilt md raid 6 array now showing xfs errors. How bad is it?
We had a storage server with performance starting to be poor. When I installed Linux's smartutils, it found
Device: /dev/sdm, 2 Offline uncorrectable sectors
Since this was a rather large raid6 ...
0
votes
1answer
39 views
Virtualbox VM crash when checkarray runs
I have a VM running in Virualbox 3.2 on Debian 5.
The host has 2 drives in raid 1. In the last 5 times the checkarray ran the vm crashed 4 times. Every single time right after mdadm finished checking ...
5
votes
1answer
60 views
Use cases for “mdadm --create” vs. “mdadm --build”?
From the mdadm man page, --build section:
This usage is similar to --create. The difference is that it creates a legacy array without a superblock.
^^ So no superblock with --build. 10-4. ...
0
votes
0answers
61 views
Cryptsetup device /dev/md0 is not a valid luks device
After reinstallation of my OS, I decide to manually assemble a RAID6 array.
# mdadm --assemble --auto=yes --scan=auto /dev/md0
I don't exactly remember a message but program mdadm return a resizing ...
20
votes
2answers
620 views
Recover RAID 5 data after created new array instead of re-using
Folks please help - I am a newb with a major headache at hand (perfect storm situation).
I have a 3 1tb hdd on my ubuntu 11.04 configured as software raid 5. The data had been copied weekly onto ...
0
votes
2answers
75 views
Creating a partitioned raid1 array for booting a debian squeeze system
I'd like to have the following raid1 (mirror) setup:
/dev/md0 consists of /dev/sda and /dev/sdb
I created this raid1 device using
mdadm --create --verbose /dev/md0 --auto=yes --level=1 ...
0
votes
0answers
15 views
how to migrate lvm mirrorlog from physical partition
Output from: sudo lvs --all -o +devices
root hp03 mwa-ao 18.62g root_mlog 100.00 root_mimage_0(0),root_mimage_1(0)
...
0
votes
2answers
80 views
Linux: very slow mdadm resync on raid 1
I'm trying to rsync a RAID 1 on a system with absolutely nothing running ( i've moved all services to another server ). So it's just me via ssh. For some reason, it's very slow:
cat /proc/mdstat
...
3
votes
1answer
119 views
Slow md RAID-1 array
We have some problems with very slow disk response on our server. I checked iostat (iostat -d -x 30) and have some problems with its interpretation:
Device: rrqm/s wrqm/s r/s w/s ...
4
votes
1answer
83 views
Recovering linux software RAID array without removing it's items
I have linux software raid (RAID10),
md2 : active raid10 sda6[4](F) sdd5[3] sdc5[2] sdb6[1]
390620160 blocks 64K chunks 2 near-copies [4/3] [_UUU]
which has degraded state. Can i start recovery ...
1
vote
1answer
137 views
Ubuntu EC2 Raid0 Ephemeral — SSH connection after reboot
First, I launch a fresh large instance using the Elestic AMI ami-c162a9a8. Initially, I run:
df -h
/dev/xvda1 9.9G 814M 8.6G 9% /
udev 3.7G 4.0K 3.7G 1% /dev
...
0
votes
1answer
37 views
Debian MD software nested RAID0+1 autoassemble issues [closed]
I'm starting out with software RAID on Linux and hit a roadblock when using a nested RAID schema. I have three small disks that I'm RAID0ing, and then RAID1ing with a partition on another larger HDD. ...
0
votes
3answers
97 views
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 ...
2
votes
1answer
158 views
Ubuntu Server mdadm drbd ocfs2 kvm hangs under heavy file reading
I have deployed four ubuntu 10.04 server. They are coupled two by two in a cluster scenario. on both sides we have software raid1 disks, drbd8 and OCFS2 and on top of it some kvm machines run with ...
3
votes
1answer
100 views
Unresponsive mdadm
I have a raid 5 mdadm raid array set up with 6 drives and a hot spare on an Ubuntu 11 server. There are a couple samba shares on the drive, and until today, they were working well.
A couple hours ago ...
0
votes
1answer
51 views
mdadm scheduled check [closed]
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 ...
1
vote
0answers
64 views
Reassemble RAID 10 array without losing data
I have a RAID 10 array created from 4 iSCSI devices. This morning I temporarily lost connectivity to 2 of those drives. And it was long enough for mdadm to take them out of the array. Unfortunately ...
0
votes
1answer
98 views
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 ...
2
votes
1answer
363 views
Why is my mdadm raid-1 recovery so slow?
On a system I'm running Ubuntu 10.04. My raid-1 restore started out fast but quickly became ridiculously slow (at this rate the restore will take 150 days!):
dimmer@paimon:~$ cat /proc/mdstat
...
1
vote
1answer
52 views
Linear mode to RAID 1 migration
Consider creating a linear mode RAID with single disk(more disks may be added later).
#echo y | mdadm --create /dev/md0 --level=linear --raid-disk=1 /dev/sda1 --force
Now consider another partition ...
3
votes
2answers
321 views
How to resize RAID1 array with mdadm?
I've running Ubuntu 11.04 (kernel 2.6.38-11). I replaced 2x160GB with 2x500GB drives. They are configured as RAID1.
The partition tables show the right sizes. Here's sfdisk:
# sfdisk -d /dev/sdb
# ...
0
votes
1answer
83 views
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 ...
2
votes
1answer
252 views
EC2 disk goes to 100% util, but fine after reboot
We've been running some production services on Amazon EC2 for a while, using mainly t1.large and t1.xlarge instances (non-EBS). Every so often one of the attached (ephemeral disks) will get into a ...
2
votes
1answer
78 views
booting a system with failed devices in a RAID1 array
I have a Linux system set up with 3 software RAID1 devices, each of which comprises two identical partitions on two identical disks. Recently, one of the non-root partitions on one disk began ...
2
votes
1answer
157 views
Software RAID1 ready to fail - How can I degrade manually?
I have a Centos 5.4 server in production with 2 drives in software RAID1.
The last days /var/log/messages has a lot of messages, showing that one of the drives is ready to fail:
Sep 23 00:48:38 ...
1
vote
2answers
106 views
Can you disable automatic mdadm startup?
I am creating a RAID 10 array over four iSCSI targets. I want to control everything manually though so I can run it through heartbeat. I've unlinked the open-iscsi and mdadm scripts from /etc/rc#.d/ ...
3
votes
1answer
150 views
Odd mdadm output: --examine shows array state failed, --detail shows everything clean
The setup: 8 disks in a mdadm-managed RAID5 array (/dev/md0, made from /dev/sdc through /dev/sdj). One disk (/dev/sdh) is showing SMART errors (increasing pending sector count) so I'm looking to ...
4
votes
3answers
476 views
Convert a software raid volume from ext3 to ext4 (or ext2)?
I have an mdadm created software raid volume in my ubuntu linux 11 machine. It is NOT the boot drive. It is a software raid 5 configuration made from 3 large sata drives.
When I created it ...
1
vote
1answer
74 views
Custom SAN with multiple servers using the same iSCSI targets
I'm trying to create my own SAN out of existing hardware. I have four identical NAS devices. Each one has four 1 TB drives that they do RAID-5 across. On each NAS I have created a 1 TB iSCSI share. ...
0
votes
1answer
77 views
Help, ive just corrupted my ext4 partition
After troubleshooting problems with my mdadm config and kernel settings for about a week now i got careless and left my data drives plugged in after a successful boot test.
i was attempting to change ...
0
votes
1answer
78 views
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 ...
6
votes
3answers
425 views
Software RAID10 for later growth
I'm wondering what the best practice is for creating RAID10 in software on Linux with the ability to later grow by adding disks or expanding volumes underneath.
I'm using EBS on Amazon, I want to ...
0
votes
1answer
99 views
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 ...
2
votes
2answers
192 views
Debian, mdadm, Degraded Array, disk became spare after re-added
Tonight i received a message generated by mdadm on my server:
This is an automatically generated mail message from mdadm
A DegradedArray event had been detected on md device /dev/md3.
Faithfully ...
0
votes
1answer
218 views
LVM-on-RAID vs RAID10 vs RAID6
In the spirit of the question LVM mirroring VS RAID1 I thought I'd push a bit further.
Suppose I have 4 identical hard drives (e.g. 1TB) that I want in a RAID setup for a backup/media server. LVM ...
0
votes
2answers
101 views
Change Chunk Size On Existing Software raid 0 Array
Is it possible to change the chunk size on an existing software raid 0 array?
Operating system: Ubuntu 10.04 64bit
Mdadm Version: Version : 2.6.7.1
Kernel:2.6.32-33
0
votes
3answers
131 views
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
...
1
vote
1answer
675 views
How can I re-assemble (or recover data from) a mdadm RAID5 array?
I'm trying to recover whatever data I can from a RAID5 array of a failed NAS.
The disks were physically moved to another server that so they could be imaged,
but Knoppix "helpfully" detected and ...
1
vote
1answer
200 views
Linux software raid GUI monitor for GNOME
I prefer mdadm to administrate my raid and I currently use a script to see the raid status.
Running a (php)script to see the status is not exactly the most smooth experience for me so I have been ...
0
votes
2answers
91 views
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 ...
3
votes
3answers
102 views
Degraded partition in RAID5 system
I've got a server running Debian Squeeze and a 3x 500 GB-drive RAID5 system which I haven't set up myself. When booting, the status of one partition in the RAID-array seems to be bad.
md: ...
3
votes
1answer
77 views
mdadm raid6 recovery reads more from one drive?
I just replaced a fault drive in my raid6-array (consisting of 8 drives) during the recovery I did notice something strange in iostat. All drives are getting the same speeds (as expected) except for ...
1
vote
4answers
528 views
mdadm puts wrong devices in array on boot Correct mdadm.conf file
Upon boot it stuffs it up every time:
[root][centos ~] cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : inactive sda[2] sdb[3]
1953524992 blocks
unused devices: ...
1
vote
3answers
145 views
howto import existing linux soft array volume group
I have a server that consists of a boot drive, then two data drives combined to a RAID1 linux array. My boot drive recently became corrupted and I need to re-install the operating system. The RAID1 ...