ODROID H2 NAS: LACP Link Aggregation & RAID1
Key Points
- The creator needed more storage for video editing and chose to build a NAS using an ODROID‑H2 single‑board computer.
- They installed network‑attached storage software (TrueNAS/FreeNAS) on the device, accessed it via the router‑assigned DHCP IP, and logged in as root after setting a custom password.
- To boost network bandwidth, they configured LACP link aggregation across the H2’s two Gigabit Ethernet ports, assigning a static IP (192.168.10.222) outside the router’s DHCP range and matching the settings on a managed switch.
- They then created a new storage pool on two SATA SSDs, selecting a RAID‑1 (mirror) layout for data redundancy, while keeping the existing eMMC boot pool untouched.
Full Transcript
# ODROID H2 NAS: LACP Link Aggregation & RAID1 **Source:** [https://www.youtube.com/watch?v=wLA0b_v05Js](https://www.youtube.com/watch?v=wLA0b_v05Js) **Duration:** 00:06:17 ## Summary - The creator needed more storage for video editing and chose to build a NAS using an ODROID‑H2 single‑board computer. - They installed network‑attached storage software (TrueNAS/FreeNAS) on the device, accessed it via the router‑assigned DHCP IP, and logged in as root after setting a custom password. - To boost network bandwidth, they configured LACP link aggregation across the H2’s two Gigabit Ethernet ports, assigning a static IP (192.168.10.222) outside the router’s DHCP range and matching the settings on a managed switch. - They then created a new storage pool on two SATA SSDs, selecting a RAID‑1 (mirror) layout for data redundancy, while keeping the existing eMMC boot pool untouched. ## Sections - [00:00:00](https://www.youtube.com/watch?v=wLA0b_v05Js&t=0s) **Configuring NAS with Link Aggregation** - The speaker walks through building an ODROID‑H2 NAS, installing Frass, assigning an IP via DHCP, and setting up link aggregation across two Gigabit interfaces together with a RAID‑1 mirror configuration. ## Full Transcript
so recently I was coming across an issue
running out of storage on my laptop
especially as I started to do more video
editing so I figured why not build a Nas
or a network attached storage device
using one of these guys so this is an OD
Droid H2 basically what the build is
going to consist of is network attached
storage software that you can put onto
different Hardware boxes the other thing
I'm going to do is I'm going to set up a
link aggregation between the two gbit
ethernet interfaces back to a manage
switch and then what I'm going to be
doing is setting up a raid one
configuration or a mirror configuration
between the twoa drives so the Fraz
system that I set up once I went through
the installation on the ooid H2 it'll
and you plug it into your network you
will get an IP address via the console
via DHCP so my home router assigned a DP
address of 1921
68138 so we'll go ahead and log in with
the root account and I've already
updated the password during the
installation all right so the first
thing you can be presented with is the
the dashboard page so you can see just
some statistics of the device here the
version of fras you're running CPU
memory and also I have my two ethernet
interfaces here and so the first thing
we're going to do is set up the link ha
so in order to do the link aggregation
go under Network go to
interfaces we're going to go ahead and
add an new interface let's select the
type link aggregation let's go ahead and
call it
lg1 there is a special naming format you
have to use if you hit the question mark
here you can read The Help that'll show
you that and then as we scroll down
we're going to select
lacp and then we're going to select re
e0 and one to be part of that lag and
then I'm also going to create a static
IP address of 1921 16810 222 this static
IP address that I've given it it's
outside of the DHCP scope of my home
router so we won't have any issues there
so we're going to go ahead and hit apply
and it's going to go ahead and ask you
do you want to go ahead and apply them
now and we'll go ahead and say yes and
we're going to confirm and we're going
to lose intermittent internet
connectivity while those changes are
being applied however while that's being
done we'll go into our switch and set up
the lacp on the switch side so the next
thing we're going to do is go ahead and
set up a new storage pool so the way you
do that is you go to storage and go to
pools and I have a poll created here
already that's actually on the mvme
drive so I actually decided to install
another Drive um via an emmc module on
the ooid H2 so that's my solo pool so
I'm going to go ahead and create another
Pool so we're going to hit create new
pool we're going to go ahead and just
call it let's call it mirror pool use
case sensive we're not going to do any
encryption and then we could go ahead
and select the two
SSD uh SATA
drives and we're going to go ahead and
use those and we're going to go ahead
and make sure that it's up to mirror so
the data is going to be when we copy the
data to the share it's going to actually
recreate a copy of that data to the
other SSD drive so if one of these fails
I'll be able to still access my data
with just just one drive so go ahead and
select that and we'll go ahead and hit
create and yep all the data on there is
going to be erased which is fine go
ahead and create that pool so what I'm
going to do now is I'm actually going to
go ahead and create a new data set on
that particular
pool so the data set is going to be tied
back to the share the NFS share that
we're going to create so I'll go ahead
and give it a new name so I'm going to
go ahead and call it um here share so I
have a mirror pool I'm creating a data
set mirror
share and let's go to advance mode
really quick and make sure there's no
other settings or options that we want
to
change looks good we'll go ahead and hit
save all right so there we go we have
the the pool created and then we have
the data set and then we can go ahead
and look at the
permissions so I went ahead and created
a a user account that matches the user
that I'm using within my uh on my
MacBook here and so that user account is
just called Macbook so we're going to go
ahead and assign this data set rights to
that particular account we're going to
go ahead and give read write and we'll
have execute as well and we want to set
permissions recursively see Traverse
there we'll also have that so this is
going to Pro apply permissions to all
child data sets as well and go ahead and
hit save
all right so now that we have that new
share created we're going to go ahead
and scroll
down to
sharing and we're going to go to NFS and
we're going to create a new NFS share so
we currently have one tied to the mvme
drive that's tied back to the data set
and the pool for the mvme drive now
we're going to go ahead and reference
our new pool that we created and our
share so we're going to go ahead and
select that
and let's just look at Advance mode
really quick and so let's go ahead and
map again to the MacBook user and we're
going to want to allow the client to
mount to any
subdirectory we don't want to do read
only because we actually want to read
and write delete everything with this
share and we'll go ahead and hit save so
now what we should be able to do is
let's go to go connect to server and
we're going to go ahead and change this
to our mirror port pool and we're going
to say mirr share and there we go so we
now are connected to our NFS share if
you have any questions feel free to
leave them in the comments below and I
hope you have fun building your own
freance system