Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

844 questions
0
votes
1 answer

Grub2 w/ RAID5 and btrfs "error: unknown filesystem"

I have a Virtual Machine (in ESXi 5.1) running Ubuntu Server 12.04. When I try to boot my system I grub2 tells me "error: unknown filesystem". I've tried booting a Live CD then reinstalling grub from both a chrooted environment and by supplying the…
jbo5112
  • 101
  • 4
0
votes
2 answers

Recovering a Raid1 array from a broken drive

I've been asked to look at a computer which had a Raid 1 Array in it until one drive failed 12 months ago without being picked up and has now been replaced but the other drive is also in a bad way and has a bunch of damaged sectors. Ideally I'd like…
bugg_tb
  • 3
  • 4
0
votes
1 answer

mdadm Device or resource busy not by dmraid

I have an issue with a new mdadm raid. When i try to: root@dys:~# mdadm --add --verbose /dev/md0 /dev/sdb1 mdadm: Cannot open /dev/sdb1: Device or resource busy dmraid i pointed as the usual problem but it's not even installed. Also tried to check…
Debrian
  • 154
  • 2
  • 12
0
votes
1 answer

removing software raid without data loss

i wonder if/how i can stop my linux machine using the installed software raid, without loosing any data. All information i found was about removing the superblock of any hdd, and this is o/c what i dont want. so i wonder how i can archive my goal of…
thedanielhanke
  • 119
  • 1
  • 5
0
votes
2 answers

MDADM not assembling raid0 that is part of a raid5 on boot

I use a RAID0 (md2) as a device in a RAID5 (md3) setup (see below). Now everytime the computer boots, mdadm will mark md3 as degraded and i am forced to re-add md2 as a new spare. Of course mdadm then starts resyncing/recovering. Is there a way to…
Reemo
  • 1
  • 1
0
votes
1 answer

Adding Additional RAID Array to Ubuntu 11.10 x64 Server

I asked this on askubuntu.com as well but since it's a server question, figured I'd throw it on SF, too. Haven't run into this situation before but it seems simple enough. Looking for advice/guidance on the following issue. I have an Ubuntu 11.10…
rws907
  • 231
  • 2
  • 8
0
votes
1 answer

Device in software RAID 10 array: clean, degraded. Ouch?

I've got 4x 500GB drives in software RAID. /dev/md0 is RAID 1 and mounted to /boot /dev/md1 is RAID 10 and is swap /dev/md2 is RAID 10 and is the main system and data device I looked at mdadm this evening and noticed on md2... State : clean,…
batfastad
  • 456
  • 1
  • 11
  • 22
0
votes
2 answers

Device cannot be added on software-raid-1 array on Ubuntu 12.04

Unfortunately all tutorials I have found online until now on how to setup software-raid-1 are outdated on ubuntu 12.40 My target is to setup it on a system with a secondary disk drive that is already running. Format is not an option! I am trying to…
0
votes
1 answer

RAID options with heterogeneous disks

I have a general purpose server which is running out of disk space. It currently has a RAID1 of two 2TB disks (WD RE4). So I'm going to buy two 4TB disks. I am considering the following options: Make a RAID0 of the 2TB disks, then a RAID5 of the…
Alberto
  • 29
  • 5
0
votes
1 answer

Restoring data from a failed and possibly partly overwritten mdadm raid1

I have a failing hard disk (let's call it sda) which contains, among other things, a 1.5 TB partition (let's call it sda3). There is another disk (sdb), which has a 1.5 TB partition (sdb1) as well. Both used to be part of an mdadm level 1 RAID using…
Adrian Heine
  • 328
  • 4
  • 22
0
votes
1 answer

How do I get rid of my duplicate GRUB entries? (Ubuntu 12.10, RAID1)

I have a Dell R300 machine running Ubuntu 12.10: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.10 Release: 12.10 Codename: quantal $ uname -a Linux green 3.2.0-32-generic #51-Ubuntu SMP Wed Sep…
Paul Schreiber
  • 193
  • 1
  • 1
  • 12
0
votes
2 answers

Recovering a mdadm+lvm+ext4 partition with read error

One of disks in my NAS has failed. The NAS is running Linux, and it uses mdadm + LVM technology for its filesystems. I do have backup for most of the contents, but not for the very last changes, and if possible, I'd like to recover that from this…
bitwelder
  • 216
  • 3
  • 7
0
votes
1 answer

How many really distinct permutations of volumes are in mdadm raid5 degraded array?

I'm attempting to recover from a failure of my raid volume after upgrade from ubuntu 10.04 to 12.04. I've tried re-creating the array in any combination of 5 elementary volumes with one replaced with "missing" to ensure that the array wakes as…
Adam Ryczkowski
  • 720
  • 1
  • 9
  • 29
0
votes
1 answer

mdadm: superblock on /dev/sdd1 doesn't match others - assembly aborted

OS: Debian Squeeze Kernel: 2.6.32-5-amd64 mdadm version: 3.1.4 (31 August 2010) mdarrays md1 = raid1 (this is working) (devices: /dev/sd[fg]1) md0 = raid6 (previously raid5, now failing to start) (devices:…
Waxhead
  • 801
  • 9
  • 15
0
votes
1 answer

Optimized raid 0 configuration for Amazon EC2 hi1.4xlarge

How do I know what is the best configuration for RAID 0 (mdadm create options) between the to ephemeral drives?
Gluz
  • 133
  • 6