The tag has no wiki summary.

learn more… | top users | synonyms

18
votes
2answers
36k views

How to recover a crashed Linux md RAID5 array?

Some time ago I had a RAID5 system at home. One of the 4 disks failed but after removing and putting it back it seemed to be OK so I started a resync. When it finished I realized, to my horror, that 3 ...
11
votes
4answers
8k views

Linux - Repairing bad blocks on a RAID1 array with GPT

The tl;dr: how would I go about fixing a bad block on 1 disk in a RAID1 array? But please read this whole thing for what I've tried already and possible errors in my methods. I've tried to be as ...
6
votes
2answers
2k views

Will the system make sure that mdadm is sync-ed before completing a reboot?

This is a follow up to my crazy mdadm problem. I'm trying to figure out what might have caused sda to get out of sync in the first place. The only thing I can think of is that I had just run a bunch ...
4
votes
3answers
2k views

How to safely replace a not-yet-failed disk in a Linux RAID5 array?

I have a software RAID5 array (Linux md) on 4 disks. I would like to replace one of the disks with a new one, without putting the array in a degraded state, and if possible, online. How would that ...
6
votes
2answers
5k views

How to raid-mirror existing root partition?

I'd like to mirror my existing root (and only) partition on an SSD to another disk. It should be a sort of RAID-1, just asymmetric*. I know there's the option mdadm --write-behind, which should do it. ...
6
votes
1answer
11k views

mdadm raid1 and what chunksize (or blocksize) on 4k drives?

I want to use two 3 TB drives in a mdadm raid1 setup (using Debian Sequeeze). The drives use 4k hardware sectors instead of the traditional 512 byte ones. I am a bit confused because on the one hand ...
2
votes
2answers
2k views

Best way to create RAID on an existing system drive

I want to add another disk as RAID 1 to test my database performance. I am trying to not re-do the whole system, is it possible? Currently I have a single 1TB HDD with one 100GB system partition (and ...
2
votes
1answer
370 views

Drive was unable to assemble into the array

I ran mdadm -A /dev/md0 /dev/sda1 /dev/sdb1 Only /dev/sdb1 was loaded into the array though. I have a few more arrays on the same two drives too. Each time the partition on sda failed. dmesg told ...
4
votes
2answers
3k views

What does mdadm's “spare” number mean?

I created a mdadm-based RAID 5 from six hard drives using the following command: # mdadm --create /dev/md0 --level=5 --raid-devices=5 \ /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 \ ...
3
votes
2answers
7k views

Does Grub2 support putting /boot on a RAID5 partition?

It looks like currently most OS installers insist on putting /boot on a non-RAID partition (or the kind of RAID1 partition that "looks like" a non-RAID partition), even the installers that support ...
1
vote
1answer
77 views

mixed raid types

I am about to reinitialise my (SW) raid array. Previously the array was raid5 with 4 disks. I've removed one disk in order to install a new additional (larger) drive. What I'd ideally like to do is ...
1
vote
2answers
426 views

Migrate an entire volume group LVM2 to RAID5

I have a Virtual Host server build with Ubuntu and Xen SO Ubuntu 12.04.1 LTS 64Bits xen-hypervisor-4.1 Disk Hitachi SAS 15K 147GB (x2) in a Volume group sda1 1GB /boot sda2 146GB lvm sdb1 ...
1
vote
2answers
285 views

Copying linux install from non-RAID/x86 to RAID/x86-64

I'm copying an Ubuntu Server install from an x86 machine with a single hard disk to a new machine with x64 and two identical disks. Two partitions will span the new disks: One small-ish RAID1 for ...