The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
781 views

mdadm raid0 with disks of different size?

Currently I'm using LVM just to merge a few disks of different size. I want to know if it is possible to use mdadm with stripes instead of LVM? Will it give me additional performance? Will it use ...
1
vote
1answer
624 views

How do I attach my LVM RAID's to a new Ubuntu install?

I have an Ubuntu 9 Desktop system that I mainly use as a media server. I have a 2TB RAID5 and a 500GB RAID1, both using LVM. The OS drive is a 4GB CompactFlash card which has finally run out of space. ...
1
vote
2answers
551 views

Software raid + separate partitions?

I have setup software RAID1-arrays using two 250GB harddrives. There's two arrays - one named md0 in which the system is kept and the other, md1 works as swap: # cat /proc/mdstat md0 : active raid1 ...
3
votes
2answers
5k 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 ...
2
votes
3answers
921 views

Advantages/Disadvantages of installing GRUB on a software RAID?

What Advantages are there to installing GRUB on a software RAID-1? What Disadvantages are there to installing GRUB on a software RAID-1? I ask this because most tutorials/help sections seems to ...
2
votes
1answer
252 views

Make Software raid of kernel use dedicated core of cpu

I am sure this is more of a question related to approach than a tech-how-to. I have 2 processors, each with 2 cores on my machine. I have Software RAID (md0) configured using Linux kernel. Is it ...
6
votes
2answers
6k views

Is Grub installed to all the MBR of a RAID array by default by the Debian Installer?

If I use the Debian Stable (Squeeze) Installer to install Debian, booting from a RAID1 pair of drives, does it write grub to the MBR of both drives - if not, how should I best protect against a drive ...
1
vote
2answers
243 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 ...
3
votes
3answers
6k views

Grub2 RAID /boot

I'm using Gentoo on my HomeServer. My HDDs are raid1 mirrored with mdadm. My problem is how to boot the /boot partition correct? /dev/md1 consists of /dev/sdc2 & /dev/sdd2 mounted on /boot In ...
3
votes
2answers
235 views

raid 1/LVM at the level of directories (aka mknodding a directory)

I just experienced data loss, so I am interested in some form of data duplication. I was thinking of mdadm and companions to raid 1 through software. However, I just want a given, not too big ...
5
votes
1answer
9k 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 ...
1
vote
1answer
472 views

mounting an encrypted dm-raid partition on login

I have a dm-raid1 with a LUKS encrypted partition md0 on it and I would like it to be mounted automatically when I login, using pam_mount. So far I have configured the pam_mount.conf.xml as follows: ...
6
votes
2answers
15k views

lvm devices under /dev/mapper missing

I'm using Debian squeeze, and running LVM on top of software RAID 1. I just accidentally just discovered that most of the links under /dev/mapper are missing, though my system seems to be still ...
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. ...
16
votes
2answers
31k 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 ...
6
votes
1answer
2k views

mdadm Raid5 gives spares missing events

I succesfully builded up a raid5 array on debian testing (Wheezy). As the manpages and further tell, the array would be created as an out of sync array with just a new spare injected to be repaired. ...
6
votes
2answers
1k 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 ...
3
votes
1answer
1k views

installing grub 2 on mdadm, which device?

when installing grub(2) to mdadm devices are you supposed to install it to /dev/sdX or /dev/mdX?
2
votes
1answer
342 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
2k views

what is commit=0 for ext4? does mdadm not support it?

I see this in my dmesg log EXT4-fs (md1): re-mounted. Opts: commit=0 EXT4-fs (md2): re-mounted. Opts: commit=0 EXT4-fs (md3): re-mounted. Opts: commit=0 I think that means that dealloc is disabled? ...
7
votes
2answers
487 views

In place upgrade of a software raid 5 array

I run a software raid array for my backups, but my data has outgrown capacity. considering I have a full 2.4TB array with 5*600GB drives and also have 5*2TB drives I would like to swap in. What ...
4
votes
3answers
239 views

RAID 1 in linux

I'd like to setup RAID 1 with two drives in linux. I don't have a hardware RAID controller and don't want to buy one, so what is the best software RAID option for linux? Note: If it makes a ...