Questions tagged [raid1]

176 questions
22
votes
2 answers

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] sdb4[1] sda4[0] 106738624 blocks [3/3]…
Raul
  • 383
  • 1
  • 3
  • 8
16
votes
3 answers

mdadm: can't remove components in RAID 1

I have my /boot partition in a RAID 1 array using mdadm. This array has degraded a few times in the past, and every time I remove the physical drive, add a new one, bring the array being to normal, it uses a new drive letter. Leaving the old one…
Sajan Parikh
  • 331
  • 1
  • 2
  • 6
16
votes
1 answer

mdadm raid1 and what chunksize (or blocksize) on 4k drives?

I want to use two 3 TB drives in a mdadm raid1 setup (using Debian Sequeeze). The drives use 4k hardware sectors instead of the traditional 512 byte ones. I am a bit confused because on the one hand the kernel reports: $ cat…
maxschlepzig
  • 56,316
  • 50
  • 205
  • 279
10
votes
4 answers

Monitor disk health using smartd (in smartmontools) on a high availability software RAID 1 server

I have a server with three identical SATA/600 3TB drives: /dev/sda, /dev/sdb, /dev/sdc. The drives are partitioned, using GPT with three partitions each: 1 MB: Reserved partition for boot loader 1 GB: RAID1 /dev/md0 ( ext2 ( /boot ) ) 3 TB: RAID1…
user47273
9
votes
4 answers

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
Adrián Jaramillo
  • 359
  • 3
  • 5
  • 17
9
votes
4 answers

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 size 1.82TiB used 1.77TiB path /dev/sde1 …
Hans Deragon
  • 493
  • 1
  • 7
  • 15
7
votes
2 answers

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 devices 2 FS bytes used 751.55GiB devid 1 size…
wizzup
  • 585
  • 1
  • 5
  • 12
7
votes
6 answers

What is the difference between btrfs raid1 and btrfs -m dup -d dup on a single device

I've been using btrfs for about two years on multiple devices. I am planning to test some btrfs configurations on a HDD (Single platter) which has non reliable sectors. A dozen of sectors on the HDD are sometimes not readable. Would there be any…
Artyom
  • 181
  • 1
  • 10
7
votes
1 answer

Why does my RAID 1 NAS have to "synchronize"?

I have a new QNAP TS-451 NAS with two new 3TB drives, installed as a RAID 1 pair. As I copy data on to it, it seems to spend the next few hours "synchronizing" the RAID group. (The web console shows a status like "Synchronizing (4.3%)") Why is this?…
Steve Bennett
  • 2,203
  • 6
  • 21
  • 25
7
votes
5 answers

Backup whole hard disk Linux

I am looking for a method to backup a whole disk in case something is screwed up... I don't even know what to install on some special devices of the server, and every time it is not the same. Would cp -a for the / directory work? Is there any…
GorillaApe
  • 393
  • 5
  • 12
6
votes
1 answer

How to set up disk mirroring (RAID-1)

I have a computer with two WD 1TB drives and I want to configure disk mirroring on it. I tried setting up RAID during the installation by creating RAID partitions but that does not work for me. Is there a convenient software that I can install to do…
Kshitiz Sharma
  • 8,585
  • 21
  • 59
  • 75
6
votes
1 answer

md raid1 ext3 and 4k sectors slow with directory operations

I recently moved from a hardware RAID1 enclosure to using two eSATA drives with md. Everything seems to be working fine, except for the fact that directory traversals/listings sometimes crawl (on the order of 10s of seconds). I am using an ext3…
zje
  • 2,251
  • 14
  • 20
5
votes
2 answers

Are disks interchangeable in a mirrored RAID setup?

It is often written that disks in a mirrored RAID (like RAID 1) are an exact mirror copy one of another. So can I turn the machine off and simply swap the two harddisks cables? And if one of the two disks crashes and is dead forever, can I simply…
Cedric Martin
  • 2,777
  • 6
  • 28
  • 32
5
votes
1 answer

Kernel failure with software RAID-1 due to single drive read errors

I am running Fedora 19 (kernel 3.11.3-201.fc19.x86_64) with a software RAID-1 (mdadm) setup on two identical Seagate 1GB drives: # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sdb3[1] sda3[0] 973827010 blocks super 1.2 [2/2]…
Raman
  • 275
  • 1
  • 12
5
votes
1 answer

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 rebuild, then replace the other, grow, and to finish…
1
2 3
11 12