Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [raid1]

The tag has no usage guidance.

1
vote
0answers
12 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
43 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
20 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
99 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
172 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/...
0
votes
0answers
84 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
26 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
86 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
240 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
65 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
47 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
24 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
233 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
93 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 ...
3
votes
1answer
1k 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
137 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
666 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
343 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
310 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
112 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
408 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
201 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
880 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
29 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
254 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
158 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
85 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 - ...
1
vote
2answers
1k 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 ...
0
votes
1answer
71 views

Q: Setting up RAID1 on CentOS, running into an error

I'm quite new to linux / setting up RAID and was tasked with setting up RAID1 on CentOS system. I've found myself stuck, without much luck from google. I've tried creating the RAID1 device thru the ...
1
vote
1answer
251 views

Degraded array on software raid

We have a problem with a Degraded array on software raid. After a recent yum update (centOS7 linux 7, 1708) on our linux cluster a message was sent to root indicating that a DegradedArray event had ...
1
vote
1answer
230 views

RAID1 unmounted during boot as degraded but can be mounted fine manually

I'm running Fedora Server Edition 26 and I have two external USB drives with a partition on each that I have combined in RAID1. My /etc/fstab file has this line for automounting the array: UUID=B0C4-...
2
votes
1answer
103 views

How does mdadm know where changes occurred?

About 10 days ago, my RAID 1 managed with mdadm had a failure. The array consists of 2 external 2 TB hard drives which are connected via USB and I suspect there was a loose connection which lead to a ...
1
vote
1answer
184 views

Structure on disk in beginning of RAID 1 (first 128 MiB)

I have a RAID 1 consisting of 2 2 TB disks and noticed that when I compute the cryptographic hash of some range of both disks, unless that range is in the beginning of the disks, I get the same result....
3
votes
2answers
623 views

LVM metadata missing, trying to recreate raid 1 with LVM

I had a power issue in the house recently, and had issue getting my file server disks to mount. Turns out that one of the devices had renamed itself from sdb to sdd, and all of the LVM metadata is now ...
1
vote
0answers
184 views

Grub - are both disks bootable in my server with Debian 7.1 and software Raid1?

I've a problem with one of my two disks of a raid1 software (ovh dedicated server with O.S. Debian 7.1). It will be replaced in a few days. My question is how to check with Grub if both disks are ...
1
vote
2answers
65 views

Building a network storage server, trade-offs of different RAID configurations?

I want to install a Linux server in my house to be able to share documents and multi-media files between every devices here. The machine I have has 3 HDD slots, I need at least 3.5 TB of storage and ...
1
vote
1answer
201 views

centos 7 mdadm raid 1 error,

I am trying to get RAID 1 using mdadm. But I got the following error. [root@localhost ahmed]# mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sd[a-b]1 mdadm: /dev/sda1 appears to contain ...
1
vote
2answers
435 views

btrfs raid1 not using all disks?

I have a Btrfs raid1 with 3 disks on a Ubuntu 16.04. However, it seems only 2 disks are being used instead of all 3. How should I fix this? root@one:~# btrfs fi sh Label: none uuid: 3880b9fa-0824-...
0
votes
1answer
26 views

How much processing power is enough for mdadm?

I am currently using RAID 1 (4TB X 2)as a motherboard feature with my Linux machine, lately I came across issues of not detecting properly when I moved to Ubuntu 16.04 64bit. So I was thinking if ...
0
votes
0answers
390 views

How to mount mdadm RAID1 file system

I've a RAID1 device created with mdadm in liveuUSB mode. When I rebooted I'm front of Grub Rescue interface. So I restarted in liveUSB system and I assembled my RAID1 like : mdadm --assemble /dev/md0 ...
1
vote
1answer
372 views

LVM RAID1 adding two more disks

We have local server machine in our small company. Its running with Debian 8 on two 120GB SSDs merged in RAID1 with this tutorial. https://blogging.dragon.org.uk/installing-ubuntu-14-04-on-raid-1-and-...
1
vote
1answer
331 views

CentOS 7 RAID 1 and virtual machines

A CentOS 7 host OS will have three CentOS 7 virtual machines running inside it. Libvirt will be used to set up the virtual machines. Both the host OS and each of the three virtual machines will need ...
0
votes
1answer
111 views

How to change the ID number of the SCSI bus

I've 2 disk in RAID1 which is broken. I worked several day thinking the RAID is working and I noted not because several files is missing after a reboot. The odder the disk doesn't want to take its ...
0
votes
2answers
2k views

Write access time slow on RAID1

I'm running MongoDB on my personal computer. I noticed that performance is much slower when the data are on my 2-recent-spinning-hard-drive-software-RAID1 than when they are on an older spinning hard ...
2
votes
1answer
115 views

ubuntu - raid partition capacity unchanged after RAID1 to RAID5 to RAID6

I had a 2 disk RAID 1 partition. I added a device and converted it to RAID 5: mdadm --add /dev/md3 /dev/sdd2 mdadm --grow /dev/md3 --level=5 --raid-devices=3 Then added another device and converted ...
1
vote
0answers
41 views

How to make sure linux machine boots if RAID 1 boot drive fails

I am designing a system that includes a linux (Debian) based control computer. It will be deployed to a remote, inaccessible location. I want to set it up in such a way to maximize the chance that it ...
2
votes
1answer
1k views

“DegradedArray event”

I have a RAID 1 on my Raspi and got mail I don't understand titled "DegradedArray event on /dev/md0:my-host-name" and "Fail event on /dev/md0:my-host-name". I got 6 messages with the former subject ...
4
votes
4answers
3k views

Btrfs RAID1: How to replace a disk drive that is physically no more there?

I have a btrfs RAID1 system with the following state: # btrfs filesystem show Label: none uuid: 975bdbb3-9a9c-4a72-ad67-6cda545fda5e Total devices 2 FS bytes used 1.65TiB devid 1 ...
8
votes
2answers
16k views

Remove drive from soft RAID

I have a dedicated server with 3 SSD drives in RAID 1. Output of cat /proc/mdstat: Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10] md4 : active raid1 sdc4[2]...
0
votes
1answer
139 views

RAID1 `mdX` looks O.K. on `/proc/mdstat`, but `blkid` and `fdisk -l` of the members report whacky/faulty values

I created a RAID1 with mdadm --create /dev/mdX --level=mirror --raid-devices=2 /dev/sdb /dev/sdc Then watched the first sync on /proc/mdstat. It says [UU]. So far so good. sd[bc] were supposed to ...