Jump to content

Hi, i'm trying to install linux and set up software raid 1. I'd like to use ubuntu/server 18.04 and the system only has 2 identical drives so it would need to be installed on the array. It's for a testing game server (want to get more familiar with linux) I tried installing ubuntu first and there was no options in setup and then i tried and failed using mdadm. Then i saw something about an alternate install/iso and tried Ubuntu server got as far as the partitioning section now i'm stuck again. I have no clue what i should be doing i'd really appreciate someone to hold my hand lol

Link to post
Share on other sites

What you're trying to do is not trivial on ubuntu. Fedora and centos at least give you the option of using btrfs during the installation process.

 

with ubuntu, you can try to follow this guide.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to post
Share on other sites

54 minutes ago, ConspiracyTheory said:

https://www.tecmint.com/category/raid/

 

That's how I created my raid

 

sudo  apt-get install mdadm

 

mdadm /dev/md0 --create --level=1 -n 2 /dev/sdb1 /dev/sdc1

That's great, but you can't do that either during or before installing the operating system ;) 

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to post
Share on other sites

3 minutes ago, ConspiracyTheory said:

three-second search on Google----> https://en.wikipedia.org/wiki/Mdadm   :P

Ubuntu uses GRUB though, 1804 used GRUB2 which your article says the following about: 

 

Quote

Although normally present, it may not be present for GRUB 2. In order to circumvent this problem a /boot filesystem must be used either without md support

So yeah, you might actually need to install the package in order for mdadm to work.

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to post
Share on other sites

9 hours ago, ConspiracyTheory said:

Nobody is saying you can't boot off of a raid setup, the question is: how do you set it up using the ubuntu live environment, while also being able to install ubuntu on it?

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to post
Share on other sites

Personally I wouldn't, I found software RAID a hassle when I tried it.  As someone not yet familiar with Linux, I would strongly recommend just using it without until you are more comfortable.

 

What sort of game server are you planning and are you sure RAID is of any real benefit for it in the first place?

ASUS B650E-F GAMING WIFI + R7 7800X3D + 2x Corsair Vengeance 32GB DDR5-6000 CL30-36-36-76  + ASUS RTX 4090 TUF Gaming OC

Router:  Intel N100 (pfSense) Backup: GL.iNet GL-X3000/ Spitz AX Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz) WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz)
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~1200Mbit down, 115Mbit up, variable)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×