Skip to main content

All Questions

Tagged with
2 votes
1 answer
5k views

Failed raid1, how to add a new disk with mdadm?

I have a home raid1 with 2 disks and one of them just failed (lightning strike on the house). I'm really unfamiliar with mdadm so I'm asking before doing anything stupid. I can hot-plug a new HD on ...
dargaud's user avatar
  • 220
0 votes
0 answers
141 views

MDADM RAID-1 removes two drives, showing no files on third

For a few weeks ago I noticed one of two drives had been removed from my MDADM RAID-1 array on Ubuntu 20.04. I then bought a third disk (in case something was really wrong). It was also a WD RED 1TB, ...
swaglord mcmuffin''s user avatar
1 vote
0 answers
541 views

One RAID1 missing after reboot

I'm using Open Media Vault 3 that is based on Debian 8. I already have a RAID1 of 2x4TB WD Caviar Red, and now I'm tring to build a RAID1 with two Seagate Ironwolf 6TB. Whe I build it anything is ...
Ansem's user avatar
  • 21
1 vote
1 answer
556 views

Can't find RAID1 after reboot

I have Debian8 with Open Media Vault on it. I'm tring to build a RAID1 with two Seagate Ironwolf 6TB. I can build the RAID1, create an ext4 partition on it and use it without a problem. The problem ...
Ansem's user avatar
  • 21
0 votes
2 answers
57 views

RAID 1 vs background copying daemon

I'm using my Raspberry Pi as a Linux powered NAS. I have two old HDDs, one of which is near failure and the other seems fine. I want to mirror the drives for redundancy. I've tried setting up a RAID ...
Matthew's user avatar
  • 283
2 votes
1 answer
1k views

Ubuntu server remove extra partition and resize current larger in mdadm RAID1

I am running an Ubuntu Server. Currently, I have the hard drive configuration shown below: I want to remove the /mnt/winback partition and add the extra space to the /mnt/data partition. What is the ...
J Spen's user avatar
  • 241
3 votes
1 answer
17k views

Linux mdadm does not assemble array, but recreation of array does it

Maybe i'm not very clear in the title. When i'm trying to assemble my raid1 array with mdadm: sudo mdadm --assemble /dev/md0 /dev/sdc /dev/sdd It tells me that mdadm: Cannot assemble mbr metadata ...
IlyaGulya's user avatar
0 votes
1 answer
42 views

Error RAID1 but can't seem to find where the error is?

I'm having trouble figuring out where the problem is. I'm seeing my two drives... I removed a failed drive and installed an empty one. Thought I added it to the raid and it said it was rebuilding. ...
Joshua F. Rountree's user avatar
2 votes
1 answer
4k views

Understanding /proc/mdstat [U_] VS [_U]

My server is set up with raid1. A few nights ago sda fell out completely and data was corrupted. I replaced the drive, cloned the partition table and added the respective arrays. While adding sda3 (...
user1224344's user avatar
3 votes
0 answers
1k views

Cloning Ubuntu mdadm RAID1

I would like to clone a pair of RAID1 drives created with mdadm. I've tried Clonezilla, but there's no native support for mdadm, so it resorts to using dd which is incredibly slow. I've looked for ...
geordan's user avatar
  • 31
1 vote
0 answers
80 views

Software RAID 1 resync's on SATA cable switch?

I made a mistake when I opened up my desktop removed a 2 disk RAID 1 and reconnected them, but with the SATA cables switched, such that sda became sdb and viceversa. On boot, the RAID array started ...
Marcus's user avatar
  • 11
32 votes
11 answers
61k views

Simple mdadm RAID 1 not activating spare

I had created two 2TB HDD partitions (/dev/sdb1 and /dev/sdc1) in a RAID 1 array called /dev/md0 using mdadm on Ubuntu 12.04 LTS Precise Pangolin. The command sudo mdadm --detail /dev/md0 used to ...
Deltik's user avatar
  • 19.7k
2 votes
0 answers
3k views

mdadm: hot remove failed

My RAID1 is degraded and I need to replace /dev/sdb. However, I could mark /dev/sdb5 (in /dev/md1) as failed and removed it, but I can't do the same with /dev/sdb1 (/dev/md0 which is mounted on /): ...
tamasgal's user avatar
  • 123
32 votes
6 answers
29k views

Does RAID1 increase performance with Linux mdadm?

I have a cheap 2-bay NAS with a 2TB HDD. To be robust against disk failure, I'm thinking of buying a second 2TB HDD and putting it in RAID1 with Linux mdadm. The file system is ext4. Will this ...
Jesse's user avatar
  • 843
2 votes
3 answers
2k views

RAID-1 and regular drive removal (using RAID-1 as a backup measure)

Is using mdadm's RAID-1 of 2 partitions (one on laptop's internal HDD, one on external HDD) a good idea. I want the system to work as RAID-1 if both drives are present, work as regular volume (...
Vi.'s user avatar
  • 17.3k