Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

RAID1 New Install

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Radjin
Posts: 10
Joined: 2019-08-10 12:09

RAID1 New Install

#1 Post by Radjin »

I am creating a new box. Inside I have two 1TB SSD’s. Is there a step by step guide to creating a RAID1 and installing Buster?

I am looking for two disks to be RAID1:
1. Interchangeable
2. Bootable
3. Auto-switching, should one fail.
4. Self-rebuilding should one be replaced.

It will be a software raid.

The system will be installed using a USB drive with a Debian install image, I hope.

I have some experience with Linux having run a Debian box almost 15 years ago, but it was only a simple web server, so please be gentle...

Thank you in advance...
Radjin~

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: RAID1 New Install

#2 Post by Bloom »

Do NOT use the software RAID built in the pc's BIOS. That will be incompatible with Debian with a very high degree of certainty.
The installation procedure of Debian should allow you to specifiy that you want to use the two hard disks in RAID-1, partition that RAID-volume according to your whishes and format all the partitions.
Note that you cannot use the hard disk partitioning wizard to automatically create and format everything, because it can't know how you would like to use the disks.
It is best that you create a partition table (gpt or msdos depending on the size of the hard disks and your preference) outside of the Debian installation. Use a Debian Live disk and its GPartEd to do that, or a GPartEd Live disc.
Then create on each disk a RAID-partition. If you start the installer then, it will see the two RAID-partitions and suggest using them in RAID-0 or RAID-1 en present them to you as one volume in which to partition a root, a swap, and possibly a separate home (which I do).

Radjin
Posts: 10
Joined: 2019-08-10 12:09

Re: RAID1 New Install

#3 Post by Radjin »

Thank you for that... I had just found the RAID option in the bios and was reading how to set it up. I know you said NOT to use it but you left a small possibility of it working. Should I try it (it works or not) or are there other incompatibilities that may present themselves later?

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: RAID1 New Install

#4 Post by Bloom »

Nono, don't use the internal RAID setup. It is incompatible with Linux because you need drivers that only come for Windows and not for Linux.
Use the Debian RAID setup like I explained in my previous message.

Radjin
Posts: 10
Joined: 2019-08-10 12:09

Re: RAID1 New Install

#5 Post by Radjin »

OK OK, I get the urgency. Would a standard live image on a USB stick contain GPartEd?

https://cdimage.debian.org/debian-cd/cu ... so-hybrid/

To be sure; a live image allows me to boot and run from my USB drive as well as install to the system drives?

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: RAID1 New Install

#6 Post by Bloom »

Yes, if it doesn't you can simply install it. Since the Debian Live disc doesn't have any persistent storage (unlike the one from Ubuntu), the amount of space to do such things is very limited. But I could manage to install all necessary software for managing RAID arrays (mdadm and such), JFS volumes (my preferred filesystem) and GParted (normally already present) without problem. Doing an update and upgrade will NOT work, there's not enough room for that.

Radjin
Posts: 10
Joined: 2019-08-10 12:09

Re: RAID1 New Install

#7 Post by Radjin »


Radjin
Posts: 10
Joined: 2019-08-10 12:09

Re: RAID1 New Install

#8 Post by Radjin »

I cannot find an image with GParted and I cannot add it to the live disk.

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: RAID1 New Install

#9 Post by Bloom »

Then you seem to be incapable of using google?
Voilà: https://gparted.org/liveusb.php

Radjin
Posts: 10
Joined: 2019-08-10 12:09

Re: RAID1 New Install

#10 Post by Radjin »

Yes, I don’t use google for anything; too hard to weed through all the ads and wait on the trackers to bother. I did find the same page, but it was not clear to me which I needed to select.

I don’t see a closed or resolved but I did get it working.

Appreciate your help.

Radjin~

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: RAID1 New Install

#11 Post by Bloom »

Instead of Google, you can use https://duckduckgo.com. No ads, no logging, no privacy invasions.

Radjin
Posts: 10
Joined: 2019-08-10 12:09

Re: RAID1 New Install

#12 Post by Radjin »

Exactly what I use.

Post Reply