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.

Filter by
Sorted by
Tagged with
96 votes
5 answers
178k views

How can I quickly copy a GPT partition scheme from one hard drive to another?

On a non GPT partition table I can do sfdisk -d /dev/sda | sfdisk /dev/sdb. But sfdisk doesn't support GPT partition tables. What can I use instead? I'm looking for a one or two command solution, ...
Kris Harper's user avatar
  • 13.5k
44 votes
4 answers
193k views

How do I install GRUB on a RAID system installation?

I'm trying to setup and install Ubuntu on a RAID 1 setup. I have two disks, sdb and sdc. I've been following this guide https://help.ubuntu.com/community/Installation/SoftwareRAID which more or less ...
Kris Harper's user avatar
  • 13.5k
42 votes
1 answer
98k views

Workaround to Install Ubuntu 20.04 with Intel RST systems

I tried to install Ubuntu 20.04 in my Dell G5 which has 2 drives. One with Windows 10 on it (256 GB) and another one with 1 TB capacity. I shrunk the volume of 1 TB by 150 GB and tried to install ...
SubinR's user avatar
  • 773
34 votes
3 answers
47k views

The initramfs will attempt to resume from /dev/dm-1

I'm setting up a new Ubuntu 18.04 server and have already played through one backup/restore loop. So the entire system has been restored from backup with a fresh RAID and LVM volumes. Now recently, ...
ygoe's user avatar
  • 988
30 votes
1 answer
51k views

Install dual boot ubuntu with windows 10 and RAID on

I have a dell XP’s 9560 laptop and I want to install an Ubuntu distribution alongside windows 10. I tried a lot so far to install it but I can’t see any partitions. I figured out that the problem is ...
Dorin's user avatar
  • 403
29 votes
6 answers
110k views

How do I rename an mdadm raid array?

For some reason, when I try to rename an mdadm raid array to a textual name, the change doesn't take. I tried the advice from this serverfault question, but to no avail. ~$ mdadm --version mdadm - ...
Zaz's user avatar
  • 1,079
27 votes
2 answers
38k views

How to install Ubuntu 14.04/16.04 64-bit with a dual-boot RAID 1 partition on an UEFI/GPT system?

Update: Question and answer below also applies to Ubuntu 16.04 I have a computer with dual SSDs and Win (7) pre-installed on another disk. The pre-installation uses (U)EFI/GPT boot. I want to install ...
Niclas Börlin's user avatar
26 votes
4 answers
65k views

How can I use Kernel 3.19 in 14.04 now?

So I'm rebuilding my storage server. For stability, I want to use Ubuntu server 14.04 LTS as the OS. However, I'm planning to use Btrfs with RAID 5, and this has been greatly improved in kernel 3.19. ...
Degenerate's user avatar
20 votes
4 answers
67k views

How do I align my partition table properly?

I am in the process of building my first RAID5 array. I've used mdadm to create the following set up: root@bondigas:~# mdadm --detail /dev/md1 /dev/md1: Version : 00.90 Creation Time : Wed ...
Jorge Castro's user avatar
  • 71.7k
19 votes
3 answers
57k views

How to Install Ubuntu 14.04 with RAID 1 using desktop installer?

Many people claim that it is impossible to install Ubuntu onto RAID 1 with the Desktop CD. Is this really true? If not, how can it be done?
Sunday's user avatar
  • 783
17 votes
6 answers
43k views

How do I know what physical drives/partitions are behind my /dev/mapper/isw_dghbbcaabe_RAID_Volume11?

This is a just upgraded Ubuntu 10.04.1 LTS machine. The /dev/mapper/isw_dghbbcaabe_RAID_Volume11 is "new" to the upgrade but I don't know what physical drives/partitions are included in the "device". ...
Sebas's user avatar
  • 173
17 votes
2 answers
34k views

RAID (mdadm) - What happens if drives are mismatched in size?

Question 1 - Before you answer with "it just takes the smaller disk", hear me out quick. My 3TB WD Reds come out to be 3001 GB in size. Let's say I set up a mirror via mdadm for sdb1 and sdc1 which ...
JaSauders's user avatar
  • 557
16 votes
1 answer
50k views

How to access MD RAID via Live CD?

We are currently trying to run access the data on a server running a HP Ml110 G5 SATA raid controller, using the latest Ubuntu Live CD. We need to delete a few files to let the server boot into ...
user avatar
16 votes
8 answers
58k views

How can I physically identify a single drive in a RAID array?

I have an external drive bay with 4 eSATA disks in it. My system has a 4-port eSATA card, as well as a pair of internal hardware RAID1 drives. The external drives are in software RAID1 pairs as /dev/...
Kees Cook's user avatar
  • 17.5k
16 votes
1 answer
34k views

Setting up RAID 1 on 14.04 with an existing drive

I have a currently installed Seagate ST3000DM001 (about 90% full) and a new Seagate ST3000DM001 (blank). I would like to setup RAID 1 without losing the data on my currently installed drive. If I ...
Shayne's user avatar
  • 165
16 votes
4 answers
13k views

How to enable degraded RAID1 boot in 16.04LTS?

In previous ubuntu versions, adding BOOT_DEGRADED=true to /etc/initramfs-tools/conf.d/mdadm allowed the system to automatically boot when the root filesystem is on a degraded array. This no longer ...
vdyvp's user avatar
  • 161
15 votes
3 answers
26k views

How do I properly access Windows software RAID 0?

I am a new Ubuntu user with a fresh installation, and am eager to get started with it. However, all of my important data is on Windows software RAID 0 array, and I need it to stay there as I'm also ...
Dan's user avatar
  • 541
15 votes
2 answers
24k views

Should swap and RAID-1 mix?

I have a box with a small RAID-1 array being used for swap space. I only did this since I was setting up mirrors for every other partition in the system. Today I read this question and it prompted ...
LRE's user avatar
  • 305
15 votes
3 answers
56k views

How to install Ubuntu server with UEFI and RAID1 + LVM

I used to install my servers with LVM over software RAID1, and grub install on the MBR of both drives. Now I have an UEFI server, and the compatibility (BIOS) mode does not seem to work. So I went ...
alci's user avatar
  • 5,839
15 votes
2 answers
49k views

How to re-add accidentally removed hard drive in RAID5

I have a NAS on Ubuntu Server with 4 2TB hard drives in RAID 5. A couple of weeks ago, one of the hard drives died, but my RAID was working, although degraded. Luckily it was still under warranty and ...
Chunky56's user avatar
  • 171
14 votes
7 answers
39k views

Is having the 'swap' partition at the 'beginning' better than at the 'end'?

I recently installed Ubuntu 11.04 onto a RAID0(stripe) device using the alternate installation disc and manually partitioned the HDs ext4 and swap partitions; during this process, I was reading in a ...
SaultDon's user avatar
  • 1,722
14 votes
2 answers
71k views

Install Ubuntu 18.04 desktop with RAID 1 and LVM on machine with UEFI BIOS

I have a machine with UEFI BIOS. I want to install Ubuntu 18.04, desktop version with RAID 1 (and LVM) so my system will continue to work even if one of the drives fail. I haven't found a HOWTO of how ...
Niclas Börlin's user avatar
14 votes
4 answers
21k views

Installing 12.04 server as a software RAID 1 mirror fails to boot

I'm installing a few new Ubuntu Server 12.04 LTS servers, and they have two 512 GB SSDs. I want them to use software RAID 1 mirroring, so I was following this document religiously step by step: https:...
Jeff Atwood's user avatar
14 votes
3 answers
38k views

Put HDDs in standby after X minutes using hdparm doesn't work

I use Ubuntu 12.04 on a home server. There are 5 hard drives: one SSD with the OS and 4 HDDs (Samsung HD204UI) configured as a RAID5 using mdadm. I don't need the RAID very often (say, about once per ...
leemes's user avatar
  • 931
14 votes
1 answer
119k views

Software raid - mdadm - re-find my array

Description Today I plugged in another hard drive and unplugged my raid drives to ensure when I wiped the drive, I would not accidentally pick the wrong drives. Now that I have re-plugged in my ...
13 votes
1 answer
13k views

convert a single drive btrfs disk into a RAID1 with a second disk

I am running btrfs 4.15.1 on a fresh ubuntu 18.04 server. I have a small hardrive which for / and a large disk for documents served to my colleagues in our office via samba. That data drive is used ...
vrms's user avatar
  • 501
13 votes
1 answer
2k views

RAID1 "conflicting device node" message on startup

I'm dual booting Win8.1 and Ubuntu 14.04 (Gnome Classic). I have RAID1 set up (on Asus Z87-A motherboard) with Win partition, Ubuntu partition, and NTFS partition for data. On Ubuntu startup, I see ...
user258821's user avatar
12 votes
4 answers
51k views

Install Ubuntu 20.04 Focal Fossa with RAID 1 on two devices

I would like to install Ubuntu 20.04 Focal Fossa on a machine with two hard disks using RAID 1. Unfortunately it seems this doesn't work. If I use the "Create Software RAID (md)" option and select ...
wedi's user avatar
  • 273
11 votes
6 answers
21k views

How do I automount a fake raid?

Hardware Asus K8N4-E Deluxe Mobo Sil 3114 fake raid, onboard 2 Seagate 250 gb hd, hosting my /home A backup on a separate hard disk of /home What I have so far I've made the raid using the Sil 3114 ...
djeikyb's user avatar
  • 30.2k
11 votes
1 answer
33k views

How should a RAID partition be created and configured using parted?

For testing I want to create a mirrored (RAID 1) partition with a size of 1GB on /dev/sdb and /dev/sdc. When it comes to partitioning, I want to used parted, how should I create the partition I want ...
Deleted's user avatar
  • 828
11 votes
4 answers
37k views

Ubuntu 12.04 installer does not see Windows already installed on my computer [closed]

When I just tried to install Ubuntu 12.4 alongside Windows 7 on my new "HP Pavilion 64k desktop with Windows 7" computer, Ubuntu said this computer has no detected operating system and someone ...
11 votes
1 answer
13k views

How do you install Ubuntu on an Intel RST RAID-0?

I am attempting to install Ubuntu 16.04 to dual boot with Windows 10 on my new PC. I am using an MSI Z170A motherboard and two 512GB M.2 drives. My goal is to RAID-0 both drives, and split the single ...
James Scott's user avatar
10 votes
1 answer
29k views

How can I create a RAID array with >2TB disks?

I would like to know the correct way to set up a software RAID array on an existing server. I have two brand new 3TB disks to use for the array. Specifically, I want to set up a 3TB RAID 1 array, ...
David Edwards's user avatar
10 votes
5 answers
12k views

RAID array doesn't reassemble after reboot

RAID array doesn't assemble after reboot. I have one SSD from which the system is booted, and three HDD that are part of the array. The system is Ubuntu 16.04. The steps that I've followed are based ...
user4338027's user avatar
10 votes
2 answers
24k views

Switching mdadm to an external bitmap

I've just read this in another post about improving RAID5/6 write speeds: After increasing stripe cache & switching to external bitmap, my speeds are 160 Mb/s writes, 260 Mb/s reads. :-D I've ...
Oli's user avatar
  • 293k
10 votes
2 answers
16k views

LVM2 builtin raid - how to check raid status

I just created LVM2 builtin RAID1 (something like lvm mirrir, but newer) with lvconvert --type raid1 -m1 /dev/ubuntu/root /dev/sdb5, Ubuntu 12.10. How can I check mirror status/health both in command-...
osgx's user avatar
  • 877
10 votes
2 answers
21k views

How to set up SSD raid and TRIM support?

I am looking to set up a new server. I can only use Intel 520 Series 240gb MLC ssds or standard Seagate 7200rpm disks. These are the non negotiable options. Naturally, as this is going to be running ...
Steed's user avatar
  • 101
10 votes
4 answers
33k views

Well supported Hardware Raid Controller

I am currently planning to buy a hardware-raid controller. This became necessary since I am running Linux and Windows in parallel and now need the redundancy for both OS (Im am going to use RAID1 / ...
ftiaronsem's user avatar
10 votes
1 answer
5k views

How do I improve my server disk performance

I have an HP Microserver running Ubuntu 10.04 LTS. It's a low power server with 5 internal drive bays. I use it to backup my remote servers, VPSs and local laptops over the network. I want to get the ...
popey's user avatar
  • 23.6k
9 votes
2 answers
31k views

Which is better for a home media server: zfs or btrfs or LVM/md? [closed]

I'm looking at building a new home server and would like a flexible filesystem. Both btrfs and zfs are interesting. I want to be able to do soft raid and have flexible solution allowing me to expand ...
FiftyKnight's user avatar
9 votes
1 answer
29k views

Unable to Mount RAID1 md0 - wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error

I've created a RAID 1 using mdadm as below however I am having problems mounting it... sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc mdadm: /dev/sdb appears to ...
spcurtis81's user avatar
9 votes
3 answers
10k views

Create RAID array of image files

OK, so I've got three image files in /home/, and they each reside on different physical drives: image1.img image2.img image3.img Each image is the same size, and I want to put the images ...
Daniel's user avatar
  • 3,446
9 votes
2 answers
5k views

Do I have to worry about "error: superfluous RAID member"?

When running update-grub on the newly installed Ubuntu 12.04 with an older software RAID (md), I get: error: superfluous RAID member (5 found). error: superfluous RAID member (5 found). Generating ...
0xC0000022L's user avatar
  • 5,720
9 votes
1 answer
642 views

Can I manage ZFS with Landscape and MAAS?

I have 5 different servers. I am very interested in installing ZFS across all of them. I also am interested in using JuJu, MAAS, and Landscape to automate the installation of ZFS, and the management ...
gabbimark's user avatar
  • 101
9 votes
2 answers
7k views

Is there a Linux software RAID that can be shared with a windows installation?

What are the options I've got when it comes to RAID and Windows?
cgp's user avatar
  • 303
9 votes
1 answer
5k views

How to stop disks from being automagically mounted on boot?

I have a btrfs filesystem RAIDed across several disks. The machine is connected via USB to an external hard-drive bay where three disks live. In my fstab I have a mount entry for one of the disks ...
Marco Ceppi's user avatar
  • 48.1k
9 votes
0 answers
3k views

RAID Drive on Dell Perc H310 RAID controller not recognized

So, I recently bought a Dell Perc H310 RAID controller to put in a Fujitsu Esprimo P700 E85+ Computer running Ubuntu Server 18.04.1 LTS. The Motherboard seems to have no UEFI, just a BIOS. From a ...
pulp_user's user avatar
  • 191
8 votes
3 answers
12k views

Ubuntu show wrong disk sizes, how to solve it?

I have a server with these characteristics: CPU: Intel Core i7-2600 PLUSRAID Controller 4-Port SATA PCI-E - Adaptec 5405 One each, SATA SSD, 240 GB Two each, SATA HDDs, 3.0 TB Enterprise Two each, 8 ...
Lex Thoonen's user avatar
8 votes
2 answers
30k views

Improving mdadm RAID-6 write speed

I have a mdadm RAID-6 in my home server of 5x1Tb WD Green HDDs. Read speed is more than enough - 268 Mb/s in dd. But write speed is just 37.1 Mb/s. (Both tested via dd on 48Gb file, RAM size is 1Gb, ...
BarsMonster's user avatar
8 votes
3 answers
28k views

Error unknown command hwmatch [closed]

I'm getting "unknown command hwmatch" message on each boot after I installed Ubuntu 16.04 following this steps: https://gist.github.com/umpirsky/6ee1f870e759815333c8 in order to setup RAID0. Special ...
umpirsky's user avatar
  • 4,050

1
2 3 4 5
31