Questions tagged [raid1]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 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
52 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 ...
0
votes
0answers
36 views

How to auto mount LUKS partition on boot time that contains the other RAID-1 device?

I've set up a server with BTRFS with Single profile. Partition scheme is as follows: /dev/sda: +-- sda1: Boot +-- sda2: LUKS (foo_crypt) +-- LVM (foo) +-- foo-root (BTRFS)...
0
votes
0answers
21 views

How to mount a RAID1 drive?

I have a 2TB drive from my two-bay Synology NAS that I want to access via Linux Mint. fdisk shows: root@HUB:/# fdisk -l Disk /dev/sda: 111.8 GiB, 120033041920 bytes, 234439535 sectors Units: ...
1
vote
1answer
26 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
16 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
0answers
32 views

Fix mdadm RAID1 inconsistencies using btrfs/zfs checksums

I prefer mdadm RAID1 vs btrfs RAID1 because: With btrfs, all read requests from the same PID go to the same device bcache coverage is doubled using a single mdadm RAID1 device vs btrfs with 2 ...
0
votes
1answer
53 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
71 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
33 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 ...
4
votes
1answer
247 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
24 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
44 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
32 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
50 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 ...
1
vote
0answers
153 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
60 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
54 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
49 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
90 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
41 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
58 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
15 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
210 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
71 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
426 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
919 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/...
1
vote
0answers
278 views

Coping with bad sectors on RAID disk

I have a RAID 1 of 2 hard drives managed with mdadm. Today, one of them failed. I figured out that this is because of bad sectors in /dev/sdb. According to badblocks, these sectors are affected: 1028, ...
0
votes
0answers
64 views

Cannot add partition back to RAID 1

I run an mdadm RAID 1 on my Raspberry Pi. The USB cables to the two hard disks (especially to /dev/sda) seem to provide somewhat loose connections or someone touches them. They are right next to the ...
1
vote
0answers
444 views

recover data from former RAID 1 drive

I had a RAID1 setup (md0), mirroring two 2TB drives (sdb, sdc). When trying to remove the RAID to use the disks individually with the data on them, I ran mdadm --stop /dev/md0 mdadm --zero-superblock ...
0
votes
1answer
765 views

Trying to install Linux Distro on Raid 1

I have a system with the following components: RAM -> 32GB (swap filed is advisable to be DOUBLE the RAM size so 64/65GB) sda -> Samsung 500GB SSD -> Raid disc 1 -> RAID-1 member 0 === soft raid sdb -...
0
votes
1answer
142 views

Small files take up ridiculous amounts of space [closed]

I've setup a little server with Ubuntu. It has 2 SSDs configured in RAID1 using EXT4. The server has a lot of websites on it: WordPress, Magento and the likes, which amount to a lot of small files. ...
0
votes
1answer
118 views

Raid1 using Mdadm setup post-install Fedora

I have never messed with Raid before in Linux but while installing Fedora Desktop I tried to setup Raid1. All seemed well at first but alas I look to have failed. So here is how my disks came out. (...
2
votes
0answers
41 views

Why did system revert to old data after raid 1 rebuild [closed]

To begin, there is a very similar thread/question already called: "Old data on Linux raid 1 disks" This is very similar, but I see some critical differences. Very short description: After ...
-4
votes
1answer
429 views

Btrfs How do I replace a failing/failed hard drive on a RAID1 setup with no available SATA ports

I'm running ubuntu server 16.04.05 LTS My motherboard only has 6 SATA port. Port 1 has a hard drive that contains the OS, SWAP, and home partition. Port 2, 3, 4 and 5 each have a WD red 2TB hard ...
2
votes
1answer
211 views

Split partition on software RAID 1 with `parted`

I have a software RAID 1. There is data already stored on the system. I want to shrink an existing partion and then create a new one with the remaining space. I'll use parted. I'm aware I cannot ...
4
votes
1answer
3k views

CentOS 7, RAID-1, and degraded performance with SSDs

I am preparing PCs built with 64GB RAM on the Gigabyte AORUS X299-GAMING-3 motherboard, ordered for Cent OS 7 use, with RAID-1 on a pair of Intel 545 Series SSDSC2KW512G8X1 SSDs. The configuration is ...
0
votes
1answer
181 views

Remove a disk from RAID1 without reinstalling system

I have a remote server with 2 disks (2000 GB each) connected using software RAID1. Can I somehow disconnect the second disk from RAID and use it independently for storage without reinstalling system (...
1
vote
1answer
1k views

Create Software RAID 1 - unexpected failure opening /dev/md0

I want to create a Software RAID 1 on my Debian. Unfortunately when I execute sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1 it returns me mdadm: unexpected ...
1
vote
0answers
478 views

Problem mounting and reading hard disk

I am trying to read the content of a 1Tb external disk. The device was part of an external nas (dlink 320) using raid 1. when I plug the hard disk using the usb port no partition is mounted. The ...
0
votes
2answers
491 views

Is it possible to boot to a RAID1 btrfs root file with no initramfs?

I currently switched my BTRFS-based gentoo system to using raid1 (basically a 2nd harddisk got unused, so I used it as raid1). I could extend the btrfs filesystem with a second device in raid1 mode. ...
2
votes
0answers
139 views

Home NAS: Best setup to ease data recovery in case of hardware failure? Should I get rid of HW raid 1?

I'm not quite sure how to formulate the question here. I built myself a low energy NAS with an Intel N4200 with 8GB RAM. For the hard drives I'm using two WD red in a Raidon GR3660-B3 which is running ...
1
vote
0answers
620 views

What is the cause of “md: kicking non-fresh sdb from array!” when there is no drive failure?

Consider the following simple RAID1 setup. I have the following two physical disks (lsblk output): sdb 8:16 0 3.7T 0 disk sdc 8:32 0 3.7T 0 disk I created the array with the ...
0
votes
0answers
323 views

RAID1 resync doesn't keep syncronized disks when one device was manually changed

After some crash on a RAID1 I did some investigation and tests. Doing the following: # dd if=/dev/zero of=1 bs=1M count=256 # dd if=/dev/zero of=2 bs=1M count=256 # losetup /dev/loop1 1 # losetup /...
0
votes
1answer
2k views

Fsck on partition inside RAID broke file system AND RAID

What was: RAID 1 with mdadm on whole disks say /dev/md0 from /dev/sda and sdb, GPT with one partition on md0 and ext4 on this partition (md0p1). What I think happens: after changing motherboard linux ...
0
votes
1answer
37 views

Raid partitioning - how do I add a new partition?

I have a raid 1 setup already. Its 4tb. I want to split that into 4 partitions - boot, swap, home, and root. Normally you just use fdisk. This can't be used anymore because of complexities of raid ...
1
vote
1answer
326 views

How to realign LVM partition on RAID 1

I got a Debian installed on EFI system with LVM on top of a RAID 1, it's working fine except that fdisk gives me warning # fdisk -l Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors ...
-1
votes
1answer
204 views

linux + tool that can identify RAID configuration [duplicate]

I am searching for a long time tool that can runs as CLI on linux machine and identify which RAID configuration is defined on the disk or disks ( according to the list from lsblk ) the reason for ...
-1
votes
1answer
127 views

how to identify if raid1 or raid mirror configure on OS disk

we want to verify if raid1 is configured on out linux machine so we found the answer on - https://serverfault.com/questions/110843/how-to-determine-if-a-centos-system-is-raid-1 but from the output - ...
4
votes
2answers
2k views

Do I need to run 'btrfs balance' occasionally if I have RAID1 btrfs?

I have two devices setup as RAID1 which I assume data (and metadata) will always mirror on both. $ sudo btrfs filesystem show Label: none uuid: eaf30e64-0a90-447f-b53d-1598fe46a8a9 Total ...