LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2020, 11:57 AM   #1
HiroHomeServer
LQ Newbie
 
Registered: Jan 2020
Posts: 1

Rep: Reputation: Disabled
Trying to install Ubuntu in Raid 1


Cheers guys,
All new to linux, I bought some hardware to run a little home server. I tried to install with the integrated Raid of the motherboard, but the installer doesn't see the ssd's, if I try to use software Raid, which I read is great, I can't manage to get past the partitioning to the installation....

Motherboard is a MSI B450 https://www.msi.com/Motherboard/B450M-A-PRO-MAX, tried to follow this https://www.youtube.com/watch?v=IWiXBCaBr_o but can't partition the same way, it reacts differently than in the video and the "Creat softwareRaid md option greys. By the way, it creates a /boot/efi 512Mo fat32 partition I did not ask for....

Should I try to find compatible drivers for the hardware raid ? I tried but not luck for now.

Any advice appreciated

Cheers guys
 
Old 01-31-2020, 07:32 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,519

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
Are all of the drives you have empty and unformatted or do you have partitions/filesystems already exisiting?
The efi partition was created because you booted in efi mode and apparently, there was no efi partition on any of the drives. That should not be a problem with a RAID configuration. Never used RAID myself so can't help with that.
 
Old 02-01-2020, 08:22 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
A quick look at that video indicates it is for a guest install on VMWare, not an install on the real hardware. Useless if you want to do the latter.

Installers are complicated code, but also pretty dumb - if the developers don't include the support, it can get pretty ugly. RAID is so ubiquitous these days, this shouldn't be hard to do. I don't use Ubuntu, but all I could find was this. Looks way too complicated for what should be a relatively simple setup.
For a new user, I might be inclined to just do a "normal" install onto one of the SSDs (/dev/sda) then convert the running system later to RAID1 across the two SSDs when you are a bit more comfortable with Linux. How complicated that gets depends on how the install was implemented - whether on LVM, separate /boot, any encryption, ... lots of potential snags.

Nothing is ever as simple as it first seems.
 
Old 02-01-2020, 09:39 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by HiroHomeServer View Post
Should I try to find compatible drivers for the hardware raid ? I tried but not luck for now.
Your hardware RAID is what is often called a fake RAID and is not recommended for several reasons. It will create proprietary data structures on your disks, and should your motherboard fail, it is not certain that the motherboard vendor will have products that can access your data or will provide support at all. It lacks a few attributes that are essential to real hardware RAIDs, like electrical power backup or the ability to restructure your RAID.

MD RAID doesn't suffer from lack of support and has the attributes of real hardware RAIDs, with the obvious exception of a power backup.

Why the Ubuntu 18 installer disables your MD RAID option, I can't tell, but askubuntu has what looks like a nice overview of the process: https://askubuntu.com/questions/1066...with-uefi-bios.

By the way, I suppose it should be possible to use LVM's built-in mirroring instead of MD RAID. Probably easier to use. I don't know whether the installer offers this option, and I have not tried it with a root disk, but after the installation lvconvert should be able to turn an unmirrored logical volume into a mirrored one.

Last edited by berndbausch; 02-01-2020 at 09:45 PM. Reason: added lvconvert option
 
Old 02-01-2020, 10:21 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
LVM now does true RAID1 rather than just mirror, and I find it much easier to manage, but adding the vagaries of LVM to the mix for a new user might be overwhelming.
Given this a server install, CentOS might be a better choice - and has supported LVM functionality better and for longer. And the documentation ffrom Redhat is awesome.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Raid-O install Virtualbox, will slackware install raid-o without raid driver? slkrover Slackware 1 03-01-2011 12:50 AM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
which raid level (RAID 5 or RAID 10) inspiredbymetal Linux - Server 4 11-25-2007 07:59 PM
HW RAID, fake-HW RAID or SW RAID? stromdal Linux - Hardware 5 08-10-2007 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration