Questions tagged [raid]

RAID - Redundant Array of Independent Disks. A Storage technology to provide redundancy and performance, to reduce I/O bottlenecks involved in using multiple disks for large storage.

Filter by
Sorted by
Tagged with
4
votes
1answer
9k views

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 ...
7
votes
1answer
757 views

Should I use `mdadm --create` to recover my RAID?

There's this guy that keeps telling me that we shouldn't use mdadm --create to recover our RAID arrays, that it's worse than evil, is an error. Why is that? I mean I should get my RAID working again, ...
57
votes
2answers
60k views

RAIDing with LVM vs MDRAID - pros and cons?

In his answer to the question "mixed raid types", HBruijn suggests using LVM to implement RAID vs the more standard MDRAID. After a little investigation, it seems LVM also supports RAID ...
17
votes
5answers
14k views

bit rot detection and correction with mdadm

I'm about to re-organise all my HDDs in my home linux box nas and would like to use mdadm raid for data protection and its flexibility for reshaping the arrays. However, before I use mdadm for this I'...
11
votes
2answers
8k views

Linux: LUKS and multiple hard drives

I have a Debian Linux system (amd64) installed on a RAID-1 system encrypted device (LVM on LUKS) and will have a RAID-6 of >=4 disks where I'll put my data (LUKS and maybe LVM). I think the basic ...
6
votes
1answer
657 views

Can I get SSD rw performance while keeing data security if I combine SSD & HDD in btrfs RAID1

I have 2 storage devices; classical slow HDD (750GB, /dev/sda) and faster SSD (128GB, /dev/sdb). Currently I have installed Ubuntu & Mint on same btrfs partition on SSD (/dev/sdb5). My btrfs pool ...
3
votes
1answer
8k views

recovery data from RAID and disk failure (Linux)

Some background A friend of mine was using in his office a NAS Buffalo-LS-WVL with two disks of 1TB each. It seems that the two disks were mounted as raid 1, but, as you will read, probably they have ...
8
votes
1answer
627 views

md raid5: translate md internal sector numbers to offsets

TL;DR summary: Translate an md sector number into offsets(s) within the /dev/mdX device, and how to investigate it with xfs_db. The sector number is from sh->sector in linux/drivers/md/raid5.c:...
7
votes
2answers
28k views

New RAID array will not auto assemble, leads to boot problems

I had just asked this question where I was unable to boot after installing a new RAID1 Array. I was able to get to the terminal, but once I sorted that out I realized that my problem isn't so much an ...
2
votes
1answer
321 views

Btrfs adding smaller drive to RAID1

I have a RAID1 btrfs filesystem with 2 2Tb drives, and I had a spare 750 Gb hdd lying around, so I thought I would add it to the RAID so I could use some extra storage. Well, I added it to the volume,...
2
votes
1answer
6k views

Mount an existing RAID 1 Logical Volume after OS upgrade

I just upgraded from Ubuntu 10.04 to Mint 16. The installer did not detect my existing RAID 1 array, and I can't access it anymore. My drives are: SDA - First RAID Disk SDB - Second RAID Disk SDC - ...
7
votes
2answers
4k views

Will the system make sure that mdadm is sync-ed before completing a reboot?

This is a follow up to my crazy mdadm problem. I'm trying to figure out what might have caused sda to get out of sync in the first place. The only thing I can think of is that I had just run a bunch ...
3
votes
0answers
4k views

What steps can I use to recover a RAID 1 array with LVM and EXT3 on it?

Someone handed me a drive that used to be part of a RAID 1 (mirror) array. The drive apparently has LVM (1?) on it and EXT3 (I believe). What steps can I take to regain access to this drive? ...
1
vote
3answers
626 views

Get Position of RAID Hard Drives

I was recently tasked with creating a hard drive management system on Linux. I needed to write a program that monitored when drives came online and offline and created/removed links to the drive ...
1
vote
0answers
307 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, ...
-1
votes
1answer
134 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 - ...
42
votes
4answers
177k views

How to check 'mdadm' RAIDs while running?

I'm starting to get a collection of computers at home and to support them I have my "server" linux box running a RAID array. Its currently mdadm RAID-1, going to RAID-5 once I have more drives (and ...
20
votes
3answers
34k views

Can I create a software RAID 1 with one device

I have a single disk that I want to create a mirror of; let's call this disk sda. I have just bought another identically-sized disk, which we can call sdb. sda and sdb have one partition called sda1 ...
17
votes
1answer
46k views

New md array is auto-read-only and has resync=PENDING

I've created a new md array with the following command: mdadm --create /dev/md1 -l 1 -n 2 /dev/sd[ed]1 But now /proc/mdstat shows the array as "auto-read-only" with resync=PENDING: ~ # cat /proc/...
7
votes
5answers
32k views

Mounting multiple devices at a single mount point on Linux

Is there a way to mount multiple hard drives to a single mount point? Let's say I run out of space on /home and decide to add an extra hard drive to the computer. How do I scale the space on a mount ...
6
votes
3answers
7k views

Partitioning EFI machine with two SSD disks in mirror

I have two SSD disks, I want to put them in a software mirror RAID. But whatever I do the OpenSuSe installation keeps telling me that due to the partitioning scheme he won't be able to install the ...
3
votes
1answer
2k views

BTRFS balance completed, but still shows data stored in “single” mode

I have three drives (8TB, 4TB, 3TB). Originally, I created a btrfs partition on the 8TB drive and copied all my data there. I added the 4TB and 3TB drives by using btrfs device add, and then then ran ...
6
votes
2answers
5k views

Grub fails to install - Debian Wheezy with mdadm RAID1 and GPT partition table

I've been trying all day to get my new Wheezy install completed but it fail to install Grub every time. I'm using x64 netinstall iso. Here is my partition table: Model: ATA ST3000DM001-1CH1 (scsi) ...
4
votes
2answers
2k views

Persistent use of loop block device in mdadm

I have multiple external storage-spaces which can be mounted with samba/cifs. Over these spaces I want to create a raid device. My idea was the creation of data files with dd if=/dev/zero of=/...
4
votes
3answers
5k views

USB boot install Linux not recognizing disk space

There seem to be similar questions here, here and here but with no confirmed answer, and no answer that addresses my situation satisfactorily. Update: I've deleted Windows and reset BIOS factory ...
3
votes
1answer
1k views

mixed raid types

I am about to reinitialise my (SW) raid array. Previously the array was raid5 with 4 disks. I've removed one disk in order to install a new additional (larger) drive. What I'd ideally like to do is ...
2
votes
3answers
2k views

Avoid pause during dm-raid initialization

On my CentOS 5 workstation I get a few seconds wait after dm-raid45 has been loaded ("Initializing Driver" or something like that). This seems to be part of the initrd. After that the system boots up....
2
votes
1answer
452 views

Drive was unable to assemble into the array

I ran mdadm -A /dev/md0 /dev/sda1 /dev/sdb1 Only /dev/sdb1 was loaded into the array though. I have a few more arrays on the same two drives too. Each time the partition on sda failed. dmesg told me ...
1
vote
2answers
5k views

Raid devices are mounted with different UUID

Centos 7.1 64. This is what I have: Two raids, but not md0 and md1 [root@localhost]# cat /proc/mdstat Personalities : [raid1] md126 : active raid1 sdb2[1] sda2[0] 974711616 blocks super 1.0 [2/...
5
votes
2answers
862 views

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 ...
5
votes
0answers
643 views

What chunks are mismatched in a Linux md array?

This is a repost of a question I asked on ServerFault and was automatically deleted for lack of activity. Let's hope it will have better luck here. After performing a "check" (by writing check to /...
4
votes
1answer
5k views

Recover LVM (on RAID1): No volume groups found. Partition table erased?

I'm trying to recover a LVM (no encryption) on a RAID1 using Debian Live. Apparently, the RAID1 can be assembled without issue, but the LVM is broken. You may skip to LVM section. The RAID part is ...
3
votes
2answers
3k views

Linux software RAID-1 and device name

I want to set up software RAID-1 on my Ubuntu system, and found this example of an /etc/raidtab: raiddev /dev/md0 raid-level 1 nr-raid-disks 2 nr-spare-disks 0 persistent-...
3
votes
1answer
2k views

How do I clone a single drive onto a new RAID 1 array?

Here's a little background on the situation at hand. I have a DELL Precision T7600 at work that I'm responsible for maintaining, which just lost a hard-drive, thankfully just the /home directory was ...
3
votes
3answers
157 views

in which cases it will be problematic to configure UUID in fstab

We are thinking about to change all Linux fstab configuration to work with UUID instead the current configuration Some of the disks are with non RAID and some of the disks are with RAID10 I searched ...
2
votes
1answer
86 views

Old data on Linux raid 1 disks

I have a server with 2 disk in RAID 1. Days ago server runs but disks was mounted on read only mode. I reboot the server and run fcsk command, the problem was solved. Yesterday, server not run at all. ...
2
votes
1answer
183 views

RAID mount not happening automatically

I've configured RAID array in my SUSE machine. Everything works just fine as expected. However, I need to mount the RAID array automatically when I boot my system. For this I added the mount point in /...
2
votes
1answer
156 views

Find out what process accesses file/device [duplicate]

The external hard disks attached to my Raspberry Pi spin up seemingly randomly and I don't know why. They form a RAID 1 managed by mdadm whose only partition is formatted with ext4. Today, I set up a ...
1
vote
1answer
371 views

Where to install GRUB?

I am running Ubuntu 14.04 on a remote server. It's the only OS installed. I need to be super-cautious before rebooting the machine since KVM access to the server is quite tricky. During a GRUB update,...
1
vote
0answers
652 views

mdadm problems when upgrading from Debian 8 to 9

I upgraded Debian 8 to 9 yesterday. The system now boots without a graphical UI and mdadm complains that mdadm: Found some drive for an array that is already active: /dev/md0 mdadm: giving up I have ...
1
vote
1answer
73 views

Dual Boot Windows 10 / Linux Mint 19.3 on Dell XPS 13 (7390)

As I'm new to dual boot Linux with Windows I'm probably missing a lot during this process and I'll be glad if someone can help me sort things out. I got a new Dell XPS 13 (7390). It came with Windows ...
1
vote
1answer
192 views

Checking for a failed drive in a ZFS pool

I'm testing a large ZFS pool at the minute and am documenting the process for replacing a failed drive before our environment moves into production. I've built the ZFS volume 'diskpool', which is 3 ...
1
vote
2answers
487 views

Copying linux install from non-RAID/x86 to RAID/x86-64

I'm copying an Ubuntu Server install from an x86 machine with a single hard disk to a new machine with x64 and two identical disks. Two partitions will span the new disks: One small-ish RAID1 for ...
1
vote
1answer
1k views

What is the disk size limit for mdadm?

What, if any, is the disk size limit for mdadm? I've been using mdadm to manage disk arrays for our Mac network for a number of years now. Our storage requirements have grown to the point I'm ...
0
votes
1answer
481 views

Debian mdadm: No devices listed in conf file were found

My Debian sid machine had been booting kernel 4.13 from a raid array for several months without issue. 2 days ago I upgraded the platform and now booting fails like this: Additionally, the initramfs ...
0
votes
0answers
39 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 ...
-1
votes
1answer
213 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 ...