Questions tagged [raid]
RAID stands for redundant array of independent disks, and allows for disks to be linked in various ways. Common RAID setups in Ubuntu are a hardware RAID, FakeRAID and software RAID.
1,542
questions
2
votes
1
answer
468
views
Should I enable my Mobo Raid controller or leave it at AHCI?
I am setting up a raid storage volume, should I leave the sata controller on AHCI or switch it to raid when using Ubuntu's software side raid?
2
votes
1
answer
1k
views
Ubuntu 14.04 Trusty with UEFI + Software RAID1
How to install Ubuntu on UEFI BIOS with Software RAID1?
Should there be 1 partition for EFI and another partition for RAID1 (root+swap) on each drive?
I wonder how it will update one EFI partition ...
2
votes
1
answer
121
views
Using an already setup RAID 1 array on Ubuntu 12.04
I have just installed Ubuntu 12.04LTS on a separate HDD to dual boot with Window 7 x64. My Windows install is on an SSD and my system includes two 3TB Seagate drives in Raid 1. Raid is provided by the ...
2
votes
1
answer
2k
views
Disk failure, fsck not doing anything
Note: This started off as a question but while i was typing i tried different things and eventually got it working. I still wanted to post it in case it can help anyone else
Problem: Crashed disk, ...
2
votes
1
answer
786
views
Bash script to check if mdadm is installed if not install it
I am currently working on a bash script to create raid5 with 3 disks and one hotspare.
I am confused of how to create a script which first check if mdadm exist, if not it will install it and name it ...
2
votes
1
answer
7k
views
Installing Ubuntu with Software RAID 10
I just set up Ubuntu 12.04.3 Server LTS with software RAID 10. Here's the steps I followed for setting up RAID:
1) Automatically partition one of the drives in order to determine the sizes of the ...
2
votes
1
answer
653
views
Hard drive in software RAID5 dissapeared
I have 6 HDDs in my box, 2x256Gb ATA OCZ-AGILITY4 SSDs.
Each is partitioned into one block of 48Gb and one block of 208Gb.
The 48Gb partitions are RAID0 striped and serve as the swap space (md0).
...
2
votes
1
answer
1k
views
Ubuntu 13.04 Server Installation With no RAID option?
I'm installing Ubuntu 13.04 Server. When I get to the partition manager, I select Manual. When I click on one of my disks that I want to use as a RAID partition, the option doesn't exist.
Can you not ...
2
votes
1
answer
5k
views
RAID array: cannot access files on one partition, getting Input/output error
I'm hitting an access error with part of a raid array and need help in troubleshooting this.
History: Several raid partitions live on 4 disks. Four days ago some ticking noises were heard from the ...
2
votes
2
answers
3k
views
Activate spare for RAID-5 in Disk Utility
I have a RAID-5. I'm trying to replace a failing drive in Disk Utility GUI. I added a new drive as a spare, then did "Remove Component" for the failing drive. How do I tell it to actually use the ...
2
votes
1
answer
3k
views
Cron script to detect degraded raid array?
To my surprise, my raid array entered degraded mode some time ago. How can I set up a cron job to warn me? I've tried from the mdadm man page:
Running
mdadm --monitor --scan -1
from a cron script ...
2
votes
1
answer
1k
views
How to fix boot error for install on a RAID 5 configuration
I'm trying to install ubuntu onto a 6TB virtual disk (3 3TB drives in a RAID 5 configuration).
I thought I had it all ready to go. But it doesn't boot.
So, then I tried boot-repair, which claimed ...
2
votes
1
answer
6k
views
Raid Shows Up as Multiple Drives - Can't Mount
I have a single hard drive that the OS is installed on and I have Sil raid card installed with two matching 500GB hdds set up in Raid 0 and formatted- they're completely empty. For whatever reason ...
2
votes
3
answers
7k
views
What should the total space be for 4 3TB Drives in RAID10 configuration?
I just configured 4 3TB drives in a RAID-10 configuration but the total disk space in the RAID is 4TB. I used the following guide to setup the RAID-10, RAID-10 Intall. Shouldn't the size if the RAID-...
2
votes
2
answers
2k
views
raid 5 name changing during reboot
I left my server running all night 'recovering' after i built a new raid 5 array using the command:
mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sd[bcd]1
My server spent all ...
2
votes
1
answer
218
views
How do I configure my 2 RAID drives so I can use it as /home?
I've installed Ubuntu 11 64-bit to a 2 TB drive. It is on /dev/sda - port 1 of SATA Host Adaptor. This contains /dev/sda1 (1 MB boot), /dev/sda2 (2TB EXT4), /dev/sda3 8.6GB SWAP.
I also have:
/dev/...
2
votes
0
answers
1k
views
Install Ubuntu 22.04 Server with RAID 1 and LVM on machine with UEFI BIOS?
I followed the instructions here - Install Ubuntu 20.04 desktop with RAID 1 and LVM on machine with UEFI BIOS but used the Ubuntu Server Installer to configure the partition layout and added an extra ...
2
votes
0
answers
1k
views
Help mounting existing hardware raid in new Ubuntu 22.04 server install
As the title suggests.. I have installed Ubuntu 22.04 Server on an SSD on my server and dropped in an ARC-1880 card with an existing Raid6 set that contains roughly 8TB of data on a 14TB volume.
I am ...
2
votes
0
answers
49
views
Error on raid 0 when modifying the 00-network-manager-all.yaml file
I was making a change via SSH connection on 00-network-manager-all.yaml file on an Ubuntu Server 18.04 which is hosted on a three disk RAID0. While making the change and executing the command sudo ...
2
votes
0
answers
1k
views
How to mount a single hard disk from a former QNAP NAS with a DRBD volume under Ubuntu for data recovery?
Under Ubuntu, how to mount a single disk from a defunct QNAP NAS with a DRBD volume with a software RAID 1, for the purpose of data recovery?
QNAP NAS, which was using software RAID1:
https://www....
2
votes
0
answers
561
views
Boot from USB RAID1 in Raspberry Pi 4 running Ubuntu 22.04 64bit
The Raspberry Pi 4 8GB I received today boots without any modification from USB and can run Ubuntu 22.04 64Bit pre-installed for arm.
My idea was to have two USB drives RAID1 in the USB3 ports with ...
2
votes
2
answers
1k
views
How to remount a RAID 0 after a fresh install?
My server that holds all my music, tv shows, etc. stopped booting and after failing to get it running myself, I took it to a place and they reinstalled ubuntu on a different drive. I have 2 other ...
2
votes
1
answer
277
views
RAID10: wrong fs type, bad option, bad superblock
I'm trying to set up a RAID10 array by defining a RAID0 across one existing and one new RAID1 array.
The output from /proc/mdstat looks OK:
Personalities : [raid1] [raid0] [linear] [multipath] [raid6] ...
2
votes
0
answers
219
views
How to find out which disk is failing in a btrfs raid1 filesystem?
A couple of days ago system SSD in my desktop failed completely. A week or two before some symptoms appeared: the system occasionally booted as read-only, some errors appeared. But after a reboot all ...
2
votes
1
answer
209
views
ionice/renice setting for mdadm raid consistency check Ubuntu 20.04
Is there a way to ionice and renice the raid consistency check Ubuntu 20.04? I found how to adjust schedule here: mdadm raid 5 pairity check control / new behaviors in Ubuntu 20.04
I have an array, ...
2
votes
1
answer
568
views
Cannot resize LVM2 RAID 5 array after adding a new disk
I've Googled until my fingers ache. For some reason, I can't seem to grow my LV after adding an additional (identical) disk to my VG.
I think I've successfully added my fourth disk into the array. ...
2
votes
1
answer
609
views
Read RAID array from partitions within ISO files and disks
How can I assemble a RAID5 array using mdadm, if my disks are actually partitions, and some of them are image files, rather than actual disks? I'm using Ubuntu 18.04
I have an old RAID 5 array that I ...
2
votes
1
answer
59
views
Migrate ubuntu install to another drive on the same computer
I want to migrate all my current data, that includes files, desktop, home folder, programs and even open tabs in browser and history to another volume at the same computer without having boot/grub ...
2
votes
1
answer
717
views
Ubuntu Server doesn’t boot when kernel is in RAID 1
I have set up a barebones Ubuntu 20.04.2 server and I have a software RAID (in Ubuntu). I have mounted this raid array at / and I've also put a USB drive in the server, in which I have /boot/efi. ...
2
votes
0
answers
1k
views
MegaRaid LSI raid to mdadm
My MegaRaid controller died and I'm trying to use md to mount the raid, but can't seem to figure it out.
sudo mdadm --detail --scan returns:
ARRAY /dev/md/ddf0 metadata=ddf UUID=2acf6bbb:f1f23ebd:...
2
votes
0
answers
30k
views
ls: reading directory '.': Input/output error
The computer was working fine until this morning I found out the hdd (two 4TB disk in RAID0 made with mdadm) had Input/output error.
Upon lsing the directory, I was met with:
ls: reading directory '.':...
2
votes
1
answer
2k
views
Can't boot Ubuntu Server on Dell PowerEdge R710 + RAID10 (PERC 6/i)
I'm trying to install Ubuntu Server (amd64, trying 20.04 LTS but could be any distro above 12.04, they all fail) on a Dell PowerEdge R710 with a hardware RAID10 build using PERC 6/i card. I'm using ...
2
votes
1
answer
1k
views
How to find disk serial on raid1 system on Ubuntu 18.04
I have a remote server with SSD RAID1 disks.
I do not find the serial of the disk with error.
Any help here? Thanx!
I have this error message:
A DegradedArray event had been detected on md device /dev/...
2
votes
1
answer
1k
views
Ubuntu 18.04 won't boot when LVM volumes are cached
I have an Ubuntu 18.04 PC with the following disk layout :
======================
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931,5G 0 disk
└─...
2
votes
0
answers
638
views
Cannot find pre-configured RAID array after installing Ubuntu Server 18.04.3
My colleagues and I are trying to set up a local database system that handles a fair amount of Geospatial Data in the form of large raster arrays. We figured that having a local machine with Ubuntu ...
2
votes
0
answers
150
views
Raid filesystem check or mount failed (after probable physical shock) [closed]
As this relates to an old version of ubuntu, I have now posted the question to serverfault.
I work on a server where the operating system is installed on an SSD but data storage is on internal ...
2
votes
1
answer
2k
views
How to tell pair of RAID1 drives is successfully mirroring?
This is not an urgent problem, but I would like to know if I am currently making use of both of my hard drives (and/or if I can fix that).
Essentially, I purchased this computer without an OS and I ...
2
votes
0
answers
82
views
RAID-1 HGST Drive Speeds Poor on Ubuntu Server, Fine in Windows
I've got a very basic Server 18.04 setup running that acts as my NAS/webserver/etc. Recently I picked up two HGST 1TB drives to add another RAID-1 array to the machine. The drives are 5400 RPM with 8 ...
2
votes
0
answers
321
views
grub2 boot iso from raid 1
how can i boot the iso files from the raid 1 in grub2?
i have a raid 1 (intel raid, ntfs) with some boot iso files. once i selected the entry in the grub2 boot menu say ubuntu iso, it booted and the ...
2
votes
1
answer
622
views
Removing Software RAID 1 after P2V conversion
In my home lab I've got an Ubuntu Server 18.04 that's been a physical machine for a long time now. Today I decided to make it virtual and moved it over to my Proxmox server without issue. I'm up and ...
2
votes
0
answers
615
views
RAID no longer Mounts
I have a recently built (several weeks ago) Z370 HD3P PC with two RAID 1 arrays attached via the Intel RST hardware RAID. One is NTFS and the other Ext4. I noticed this morning that the Ext 4 RAID ...
2
votes
1
answer
2k
views
Can I setup two NTFS disks as RAID-1 in Ubuntu 18.04?
I'm planning to install Ubuntu 18.04 LTS to replace Windows-7 on my desktop.
Currently, my PC has an SSD (for OS) and two HDDs configured as RAID-1 (mirrored, NTFS). I'll reformat SSD to install ...
2
votes
1
answer
1k
views
Restore file and directory pointers after delete
I accidentally deleted hundreds of video files on my ReadyNAS device (2 disks in RAID 1 with BTRFS file system). I immediately turned it off so it would not be re-written to.
I understand there are ...
2
votes
0
answers
1k
views
btrfs problems Ubuntu Server 18.04.1 - can't mount
I have had a 5 disk btrfs raid 5 running for couple of months now, it has been behaving perfect. Yesterday I could reach the storage raid.
So I ssh'd in to the machine and:
Started to look at the ...
2
votes
0
answers
6k
views
Mount a linux_raid_member (level 1)
Original topic: https://unix.stackexchange.com/questions/78804/how-to-mount-a-disk-from-destroyed-raid-system
I did it by the "hard way": (first if its possible clone this disk
before you do ...
2
votes
0
answers
336
views
Can't create LVM on RAID1
I have issue creating LVM on RAID1. I have formatted two HDDs for Linux RAID
Disk /dev/sdg: 9.1 TiB, 10000831348736 bytes, 19532873728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (...
2
votes
1
answer
3k
views
unable to mount raid 1
I have Ubuntu 16.04.4 LTS
I have a set of identical HDD. I have created a raid 1 array but i can not seem to mount it.
cat /proc/mdstat
md126 : active raid1 sde[1] sdd[0]
24412992 blocks super ...
2
votes
0
answers
10k
views
RAID support in Ubuntu 18.04 Desktop installer?
I want to install Ubuntu 18.04 Desktop using a software RAID 1 configuration. I don't see any RAID option in the installer. I have found a question about RAID support in the server installer, but no ...
2
votes
0
answers
372
views
Installing Ubuntu 17.x Raid1 Boot Partitions on SSD's?
I have been experimenting with installing CentOS (7 Server with GUI) and Ubuntu (16.04.4 & 17.10 Server and Desktop) on two identical Hosts.
Host 1 = CentOS7 Server as host to 2 x VMWare 14 Pro ...
2
votes
0
answers
542
views
How do I install Ubuntu with RAID and full disk encryption and UEFI?
I have a slightly unusual setup which I am failing to get running:
-Dell Precision Laptop with two identical NVME SSDs
-I'd like to install Ubuntu to them with RAID 0 and full disk encryption
-The ...