Questions tagged [raid1]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

EXT4 partition became empty after reboot - why? possible to fix?

TLDR: I had a 1TB RAID1 partition containing 800GB of files before rebooting, now after rebooting, the partition is empty. Hardware: dual SATA 1TB drives in RAID1 (ASUS PIKE card, which is a LSI card)....
user avatar
1 vote
1 answer
60 views

Fixing missing superblocks on both RAID1 disks using mdadm

My RAID1 array was working fine at /dev/md128 but seems to have completely disappeared after a reboot, with mdadm reporting both disks are missing superblocks. My question is how to fix this? ...
user avatar
  • 223
1 vote
0 answers
12 views

mdadm: after a re-install, two raid1 partitions were relabeled raid0 but the data are raid1

Maybe the simplest thing is to just mount one partition by itself read only and pull the little bit of data not fully backed up and rebuild from scratch. Otherwise, since there has been no I/O ...
user avatar
  • 131
2 votes
0 answers
313 views

Mounting LVM partition on a RAID1 disk from a bricked QNAP NAS

I have a QNAP HS-251+ NAS with two 3TB WD Red NAS Hard Drives in RAID1 configuration. I'm quite acquainted with Linux and CLI tools, but never used mdadm or LVM so, despite knowing (now) that QNAP ...
user avatar
1 vote
1 answer
155 views

MDADM RAID-1 arrays always do automatic check after booting from a several-day long shutdown

I have multiple PCs with Fedora 35 and RAID-1 MDADM arrays. Among them, only one is facing a weird problem: If I leave it shutdown for more than 2~3 days, it will definitely perform an automatic check ...
user avatar
0 votes
1 answer
38 views

Primary GPT table corrupt (RAID-1 and mounted as /home) stopping me reinstalling Linux

Env: Linux TRANQUILITY 5.3.18-150300.59.49-preempt #1 SMP PREEMPT Mon Feb 7 14:40:20 UTC 2022 (77d9d02) x86_64 x86_64 x86_64 GNU/Linux Also OpenSuse Leap 15.3 with KDE Plasma 5 When I run the OS ...
user avatar
  • 15
0 votes
1 answer
24 views

OS and addtional software raid is it a good approach?

A friend of mine wants to use a root server for his wordpress pages. His idea is to use one SSD as main drive for the OS and two HDDs for WWW-Root and database data. The idea is to use both HDDs in a ...
user avatar
  • 1
1 vote
0 answers
69 views

Recover data from RAID1 with one disk in rebuilding state

I am attempting to recover data on a MDADM RAID1 array with one HDD that suffered a mechanical failure and another that is stuck in a rebuilding state. I have two 2TB HDDs that were installed on a ...
user avatar
2 votes
1 answer
264 views

Is it possible to avoid cached data duplication in bcache and Btrfs RAID1?

There is a possibility to attach single bcache cache drive to multiple backing devices. Since bcache is not aware about filesystem which lies on top, this means it is not aware about any software RAID ...
user avatar
2 votes
1 answer
63 views

Can't make an ext4-partition on a specific raid

I have a hardware raid-1 on two WDC-SSDs with 500GB on each SSD. The raid controller is a Marvell-88SE9128 via two GSATA connections (the controller is directly on the motherboard and not an ePCI ...
user avatar
0 votes
1 answer
274 views

slow access/reads of linux md raid1 array

I have a Linux md-raid raid1 array (ext4 fs), with 2 3TB disks. The array has been showing significant slowness in access and read times over the last few months. Doing an ls on a directory w/ less ...
user avatar
0 votes
0 answers
28 views

How to add two 4TB HDDs to an existing two 12TB HDD BTRFS raid1 mount?

I have been operating successfully two 12TB hard drives (/dev/sda, /dev/sda) mounted to /mnt/tank using btrfs raid 1: > sudo btrfs filesystem show Label: '[redacted]' uuid: [redacted] Total ...
user avatar
  • 403
2 votes
2 answers
3k views

MDADM - Adding a new hard disk to an existing RAID1

my dedicated server has a RAID1 array with 2x1TB HDD It is filling up i want add new hard disk (It has already been physically added) I have no idea how to do it. I'm afraid of losing data I found ...
user avatar
0 votes
1 answer
248 views

How to install GRUB2 on shrunken RAID1 disks?

TL;DR: Trying to install GRUB2 on block devices that are in RAID1. Stuck at installing bootloader. Goal to replace HDD-s with smaller SSD-s. Here are the steps that I've taken: # Booted into rescue ...
user avatar
  • 116
1 vote
2 answers
483 views

JBOD: How to Raid1 drives with different capacities? Btrfs, ZFS?

I have selection of hard drives, with capacities: 1 TB 500 GB 320 GB 250 GB I'd like to make Raid1 out of them, in the sense, that copy of any data will be always on two drives out of four I have. ...
user avatar
0 votes
2 answers
426 views

How to recover Data after "mdadm zero-superblocks"

I wanted to swap from CentOS to Openmediavault. I had a RAID1 with mdadm in place and wanted to split it again into two separate disks. The Guide (Similar to ArchWiki) told me to do the following: ...
user avatar
  • 11
0 votes
2 answers
42 views

RAID1 as a personal desktop backup system, pros and cons

I'm seriously considering ways to safeguard my data since I'm really tired of loosing files because of bad redundancy. I was reading about RAID1 and it seems a very practical method of keeping updated ...
user avatar
2 votes
0 answers
169 views

Is there any non-destructive way to change the preferred drive in a raid1 mdadm setup?

I have observed empirically that for a raid1 mdadm array, mostly serving sequential reads from single processes, the first disk is basically always picked. This is also confirmed by this code which ...
user avatar
  • 118
0 votes
2 answers
126 views

mdadm RAID1: can you grow to 3 disks, then revert back to 2?

I have a Linux (CentOS7) software RAID1 system with two disks which are getting old. One has been starting to show signs of failure. I'd like to phase these disks out one at a time with new disks ...
user avatar
1 vote
0 answers
494 views

Replace missing Btrfs RAID-1 device - btrfs replace and balance?

Recently, I replaced a device on two Btrfs RAID-1 filesystems because disks needed to be replaced. I did it like this: mount -o noatime,degraded /dev/sda3 /mnt/tmp btrfs fi show /dev/sda3 btrfs ...
user avatar
  • 53.2k
0 votes
1 answer
346 views

mdadm - root raid1 partition wont boot ( device not found )

I had some soft raid issues, so i booted with SystemRescueCD and recreated / raid mirror ( md2 ) with "--create" option ( maybe that was a failure moment ). So on RescueCD boot all raid ...
user avatar
0 votes
1 answer
137 views

What are the implications of Flatcar Linux's root filesystem RAID limitations?

As described here, not all partitions of Flatcar Linux's root filesystem support RAID 1 Other system partitions, such as USR-A, USR-B, OEM, and EFI-SYSTEM, cannot be placed on a software RAID array ...
user avatar
  • 297
0 votes
1 answer
438 views

Is it possible to split a single Raid 1 array pair and mount a single disk?

I'm having a lot of problems with raid 1 arrays on my server. Is it possible to split a raid 1 array into two seperate disks, and mount one, or either of them, as regular disks. The raid 1 devices ...
user avatar
2 votes
1 answer
306 views

MDADM RAID1 Creation - Which device is "master"?

In a RAID 1 config with MDADM, which device is the master device during the initialization process? In a RAID 1 config with 2 devices, presumably (?) one device acts as a master and the other as a ...
user avatar
0 votes
1 answer
19 views

Identify bad disks which is in OS HW RAID

We have servers where a CentOS OS disk is in hardware RAID 1, however we couldn't determine if there was a disk problem until both disks failed. smartmontools seems like it doesn't work well for this ...
user avatar
  • 267
0 votes
0 answers
20 views

Replace 500GB raid1 with 120GB raid1 with mdadm

I have a home server with two mirrored (soft raid1 with mdadm) 500GB HDD that contain the operating system. I would like to replace both the drives with two 120GB SSD mirrored in raid1 the same way. ...
user avatar
  • 709
2 votes
2 answers
116 views

RAID1 primarily used disk

I'm kinda new to the setup of raid-drives. So my current setup looks like this: Disk1: 1x NVMe DataCenter Edition 960GB ("low" IOPS) Disk2: 1x NVMe Octane 480GB (high IOPS) Disk 1 has 3 ...
user avatar
1 vote
1 answer
106 views

Attempted to replicate partition table to replacement RAID1 disk, but source partition table now empty

I had a disk (/dev/sda) show signs of eventual failure in a RAID1 array, so I failed and then removed it from the array. I then replaced the disk, booted back up, and began the process of replicating ...
user avatar
2 votes
0 answers
958 views

Why am I getting this "File exists" error trying to mount unmounted filesystem?

Help greatly appreciated. I have a hot swappable USB C 3.1 5 bay storage device (https://www.amazon.com/dp/B07VMK6ND7/ref=cm_sw_r_cp_taa_BETlFb399BQF4) attached to a Debian box. 1st 2 bays are a 4tb ...
user avatar
  • 121
3 votes
0 answers
217 views

LVM: on simple raid1 with two legs Cpy%Sync never reaches 100% and always stays at 99.99%

On simple lvm raid1 with two legs Cpy%Sync never reaches 100% and always stays at 99.99%. lvm> lvs -a -o name,raid_sync_action,sync_percent LV SyncAction Cpy%Sync safe ...
user avatar
2 votes
1 answer
498 views

Ubuntu 20.04 Software RAID1 File System Read-Only after power-outage

I had a short power outage today and the new server I was working on was shutdown unexpectedly as a result. It still boots up, but it's rendered unusable as it keeps reporting the file-system as read-...
user avatar
1 vote
1 answer
177 views

how can I move RAID-1 hard disks from one Debian to another?

I have a computer with Debian. On this computer I have two hard disks which are configured as RAID-1, which are mounted as "/" (as a root). I want to move these disks (without wiping, formatting them) ...
user avatar
1 vote
0 answers
36 views

LVM RAID 1 with external HD for a laptop

Consider the following scenario for a laptop: Most of the time the laptop sits in its docking station on the desk but is occasionally taken out. Docking and undocking can happen while running or while ...
user avatar
1 vote
0 answers
218 views

Why does LVM mirror rebuild after brief disk disconnect?

I have 2 external disks connected to a Fedora 29 system via USB3. They are set up in an LVM RAID1 configuration. When 1 disk is disconnected, power outage, USB issue, etc, the entire RAID array ...
user avatar
  • 63
1 vote
1 answer
318 views

I want to know which sde corresponds to which physical hard disk

I want to know which sde corresponds to which physical hard disk. I noticed that the sde is unallocated space (sde is logical drive where is 2 hard disks with RAID 1),so I want to remove the hard ...
user avatar
0 votes
1 answer
138 views

Failed PV in VG unable to break mirrors

I have a linux (fedora 30) machine with a single VG and multiple mirrored LVs. I had the LVs mirrored on two PVs but one PV failed and I wanted to move from 2TB PVs to 4TB PVs anyway so I added a new ...
user avatar
0 votes
1 answer
3k views

Simple mdadm RAID 1 setup for booting degraded and reverting upgrades?

I have searched extensively for this answer and cannot find it... might anyone please know how to set up a linux software mdadm RAID 1 array, such that the computer will still be bootable and ...
user avatar
0 votes
1 answer
362 views

Is it safe to reboot linux just after an lvextend?

I'm wondering how safe it is to reboot a Linux install just after I did an lvextend on a mirrored partition. I can see that the partition is being mirrored properly as the HDD light is light solid. ...
user avatar
  • 2,305
2 votes
1 answer
858 views

What are the md partitions under a mdadm array?

I'm setting up two RAID 1 arrays using mdadm, it seems to be working fine but when I do a check in lsblk I see the following: sda 8:0 0 5,5T 0 disk └─md127 ...
user avatar
1 vote
1 answer
47 views

Confused about RAID 1 capacity

Is it true that a RAID 1 can only be as big as the smallest disk? If it is true, then ten 1GB disks in RAID 1 should only amount for only 1GB of total available space. Is it true that RAID 1 capacity ...
user avatar
2 votes
1 answer
610 views

Is it possible to mount a RAID 1 software/mdadm member raw?

I am wondering if a software member can be mounted directly. Is the software raid this transparent? I think this would be a nice thing to know just in case the RAID management fails for some reason? ...
user avatar
  • 162
5 votes
1 answer
1k views

mdadm RAID1 array - is it required to partition?

I've been using an mdadm RAID1 array with 2 2TB disks for a few years without issues. Recently I needed to upgrade it to 4TB so I bought 2 new disks of 4TB and plan to replace one, wait for the ...
user avatar
1 vote
1 answer
731 views

can not shrink raid1 size with mdadm

I want to reduce a soft raid1 disk size, but the following cmd shows an error, root@GalensSynology:~# mdadm --grow /dev/md2 --size=83886080 mdadm: Can't read enough disk from md2 mdadm: component ...
user avatar
1 vote
1 answer
837 views

btrfs raid1: How to check it is function normally?

I have RAID1 configured as described here $ sudo mkfs.btrfs -m raid1 -d raid1 /dev/sdb /dev/sdc Then I mount device and write some data: sudo mount /dev/sdb /mnt echo "some data" > /mnt/123 I ...
user avatar
7 votes
3 answers
7k views

My RAID 1 always renames itself to /dev/md127 after rebooting | DEBIAN 10

PROBLEM I create a RAID 1 configuration, I name it /dev/md1, but when I reboot, the name always changes to /dev/md127
user avatar
1 vote
1 answer
242 views

mdadm software raid question

Hoping someone can help! Never used software raid before and I've noticed the 2 disk RAID 1 is showing as degraded [U_] : # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sda3[0] ...
user avatar
0 votes
0 answers
222 views

mdadm RAID arrays missing devices

I am running a home server with three RAID1 arrays, each with two drives: md0, md1 and md127. After an accidental reboot, md0 and md1 are running on one device only, and I cannot add back the ...
user avatar
  • 709
0 votes
1 answer
84 views

RAID1 recovery process skipping bad blocks

I have a RAID1 array with one sligtly damaged disk /dev/sdb. I put a fresh hard disk /dev/sda into this array in order to mirror sdb (then I’m gonna replace sdb with a fresh HDD). # cat /proc/mdstat ...
user avatar
3 votes
1 answer
760 views

Maximize RAID1 efficiency when using usb 2.0 and usb 3.0 interfaces

I have available a single USB 2.0 port and a single USB 3.0 port and would like to set up two HDDs (both USB 3.0) in RAID1. Not entirely sure how mirroring works, but was wondering if there was some ...
user avatar
3 votes
1 answer
441 views

Why will this LVM RAID1 system not boot?

Context: while trying to install Arch Linux with an LVM setup including RAID1 for my root volume, I encountered the problem that I described here on the Arch Linux fora. I never found a solution to ...
user avatar
  • 131