Raid 1 on HC4?

Post Reply
lightsout
Posts: 96
Joined: Wed Aug 28, 2019 5:26 am
languages_spoken: english
Has thanked: 3 times
Been thanked: 4 times
Contact:

Raid 1 on HC4?

Post by lightsout »

I see in the documentation that raid is an option. Considering one of these to run dietpi/nextcloud to have two ssd drives for the data mirrored.

Is raid configured inside the os? i.e. dietpi. Or is that config don't outside the os?

User avatar
odroid
Site Admin
Posts: 36930
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1595 times
Been thanked: 1072 times
Contact:

Re: Raid 1 on HC4?

Post by odroid »

Software Raid via mdadm package should be possible on the Dietpi.

brad
Posts: 1380
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 120 times
Been thanked: 181 times
Contact:

Re: Raid 1 on HC4?

Post by brad »

If you plan to use BTRFS filesystem setting up RAID1 configuration is easy enough. I placed some steps here for a project im working on which includes setting up the HDD for RAID1 viewtopic.php?f=206&t=40971

Here is the current status

Code: Select all

brad@urbackup:~$ sudo btrfs filesystem usage /mnt/urbackup 
Overall:
    Device size:		   7.28TiB
    Device allocated:		   6.52TiB
    Device unallocated:		 777.99GiB
    Device missing:		     0.00B
    Used:			   5.33TiB
    Free (estimated):		 991.00GiB	(min: 991.00GiB)
    Data ratio:			      2.00
    Metadata ratio:		      2.00
    Global reserve:		 512.00MiB	(used: 0.00B)

Data,RAID1: Size:3.24TiB, Used:2.65TiB (81.85%)
   /dev/sdb1	   3.24TiB
   /dev/sda1	   3.24TiB

Metadata,RAID1: Size:21.00GiB, Used:13.90GiB (66.21%)
   /dev/sdb1	  21.00GiB
   /dev/sda1	  21.00GiB

System,RAID1: Size:8.00MiB, Used:544.00KiB (6.64%)
   /dev/sdb1	   8.00MiB
   /dev/sda1	   8.00MiB

Unallocated:
   /dev/sdb1	 388.99GiB
   /dev/sda1	 388.99GiB
These users thanked the author brad for the post:
odroid (Tue Feb 23, 2021 10:21 am)

lightsout
Posts: 96
Joined: Wed Aug 28, 2019 5:26 am
languages_spoken: english
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Raid 1 on HC4?

Post by lightsout »

Thanks folks. Still thinking through my choices.

Sent from my Pixel 3a using Tapatalk


Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests