Questions tagged [raid1]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
71 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 ...
0
votes
1answer
33 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 ...
0
votes
1answer
19 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 ...
0
votes
0answers
12 views

raid1 config boots 'randomly' from either one of the drives

So I recently set up a linux machine with two HDD's in raid1 config. Turns out, when the machine boots one time it picks one of the two disks and the other time it picks the other for some reason. How ...
0
votes
0answers
49 views

Disable caching of mdadm's write-intent-bitmap?

TL;DR > How can any caching of the a raid1's write-intent-bitmap be disabled, to prevent the on-disk-bitmap not to be outdated in any situation? (Or is there a way to flush the cache bitmap to on ...
0
votes
0answers
19 views

MDADM and lib-virt KVM. After restarting KVM host, RAID devices disappear, and cannot be re-assembled

I have managed to establish that restarting my hypervisor somehow causes the raid setup on the virtual host to break. Here's what I did created multiple RAID 1 devices on the virtual host I can ...
0
votes
0answers
46 views

mdadm - Is it mandatory to run `update-initramfs -u` after raid creation?

I had some very strange experience with some raid 1 arrays recently, I've only just figured out vaguely what happened. I created 3 pairs of raid 1 arrays. Going back through the terminal history, I ...
0
votes
1answer
58 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 ...
2
votes
1answer
78 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 ...
0
votes
0answers
17 views

Mount a RAID1 disk from NVR

I have a single disk retrieved from a NVR that was setup as RAID1 (3TB + 3TB). The NVR was destroyed in a fire and only one disk survived. I can see the disk with an USB-SATA interface. Unfortunately ...
0
votes
1answer
17 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 ...
0
votes
0answers
13 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. ...
2
votes
2answers
36 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 ...
1
vote
1answer
25 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 ...
2
votes
0answers
196 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 ...
1
vote
0answers
66 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 ...
0
votes
0answers
48 views

Unable to mount and read data due to unsupported optional features, wrong fs type, bad option, bad superblock, etc

I'm trying to either recover the data or repair the disk(s) from a 2 disk RAID 1 setup. While migrating the data from the RAID (/dev/sdd1) to another pair of disks, the machine locked up during the ...
2
votes
1answer
153 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-...
1
vote
1answer
38 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) ...
0
votes
0answers
120 views

btrfs dup or similar to avoid bit rot on /

I have a ubuntu server 20.04 NAS box with / installed on a 120gb ssd I had lying about. Only about 6gb of the ssd is used and the actual data is held on separate (spinning) discs with redundancy, ...
1
vote
0answers
13 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 ...
1
vote
0answers
94 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 ...
0
votes
0answers
13 views

How to set up entire 500 GB HD AS RAID1 with16 GB swap

I'm repurposing a 500GB WDC HD mounted in an HP ProDesk for a single OS system running Debian. I'd like to partition it with 16 GB swap and just have everthing else in one RAID partition made from 2 ...
0
votes
1answer
97 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 ...
0
votes
1answer
62 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
204 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. ...
1
vote
1answer
348 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 ...
1
vote
1answer
32 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 ...
2
votes
1answer
129 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? ...
0
votes
1answer
566 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 ...
1
vote
1answer
269 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 ...
0
votes
1answer
347 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 ...
7
votes
1answer
2k 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
1
vote
1answer
151 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] ...
0
votes
0answers
80 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 ...
0
votes
1answer
39 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 ...
3
votes
1answer
257 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 ...
2
votes
0answers
283 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 ...
3
votes
1answer
183 views

Btrfs: New device added to RAID1 not being used

The problem I added a new drive to my RAID1 array, and while it's listed as part of the array, it is not being written to for new data (in spite of being the largest drive and empty). Also, sudo ...
2
votes
0answers
142 views

Why do my software RAID1 superblocks keep getting corrupted and how can I prevent this?

How might I be repeatedly corrupting my superblocks on RAID1 I have had two occasions in the past six months of RAID1 root arrays becoming unusable because of problems with the superblock. ...
1
vote
2answers
92 views

Setting up RAID1 with an active physical volume (Debian 9 stretch)

I've been trying to follow the following guide to set up RAID1: https://www.howtoforge.com/set-up-raid1-on-a-running-lvm-system-debian-etch I currently have two 6TB hard drives, I created a physical ...
0
votes
0answers
278 views

Attempt to reassemble RAID 1 on Linux; accidentally created new /dev/md0 (instead of reassemble) and now it won’t mount

I was attempting to reassemble a working RAID 1 array, and I accidentally did a mdadm --create instead of mdadm --assemble, and now the RAID device won't mount. Mistake: at first I unfortunately did:...
2
votes
1answer
45 views

How to reconfigure two hard disk already cloned in RAID1 without rewriting all?

I have cloned my existing hard disk first, so that I have now two exact copies. Now I would like to setup a RAID1 with them, but avoiding to rewrite the disk added, because I don't have some other ...
1
vote
2answers
72 views

Can I Increase raid 1 capacity by changing to raid 5?

My initial raid setup was 2x2TB RAID 1 using mdadm. I have bought a 3rd 2TB drive in the hopes to upgrade the RAID's total capacity to 4 TB using mdadm. I have already run the following two ...
1
vote
0answers
17 views

Use mdraid to restore a volume after a NAS server wipeout

I own a NAS, which I'm trying to upgrade by installing - most likely - Debian Stretch on it. In itself that's a relatively straightforward task, but there's one thing I'm a bit uncertain about. My NAS ...
-1
votes
1answer
607 views

mdadm RAID 1 partitions on sda1 and sdb1

Quick background: I have a RAID 1 array, created using mdadm. Both drives are hard-drives. The RAID array is called md127. There are 3 partitions in this RAID array: 20G for /var, 20G for /opt and 891....
1
vote
0answers
96 views

mdadm recovery RAID1

After a yum update, I lost my server. The problem was that the used disk for booting up was not the proper one I have 3 disks and one of them is the one that is used for booting up the system. After ...
1
vote
2answers
685 views

btrfs replace on RAID1 is super slow with failed disk present

I'm trying to replace a failed disk in a RAID1 btrfs filesystem. I can still mount the partition rw (after about 5 minute delay and lots of I/O kernel errors). I started replace with -r in an ...
0
votes
2answers
2k views

How to resize linux partition with RAID1?

I have a Proxmox disk with 130Gb LVM image. I moved it to 235Gb disk. And resized in the Proxmox. Done. But in my Linux distro, the partition still 130Gb (disk become 235Gb). The partitions: /dev/...