Like every other website on the planet, SmallNetBuilder uses cookies. Our cookies track login status, but we only allow admins to log in anyway, so those don't apply to you. Any other cookies you pick up during your visit come from advertisers, which we don't control.
If you continue to use the site, you agree to tolerate our use of cookies. Thank you!

Router Charts

Click for Router Charts

Router Ranker

Click for Router Ranker

NAS Charts

Click for NAS Charts

NAS Ranker

Click for NAS Ranker

More Tools

Click for More Tools

NAS How To

Setup Overview

The overview of the RAID creation process for the Ubuntu Server / mdadm / Webmin combination is similar to the one used in FreeNAS. Here is the outline, with the appropriate Webmin modules referenced (including links to the online documentation pages):

  1. Partition Disks [Hardware > Partitions on Local Disks]
  2. Create Disks Filesystem [Hardware > Partitions on Local Disks]
  3. Create the RAID device [Hardware > Linux RAID]
  4. Create the RAID device filesystem [Hardware > Linux RAID]
  5. Create the Mount directory [Others > File Manager]
  6. Mount the RAID device [System > Disk and Network Filesystems]
  7. Configure File Sharing [Servers > Samba Windows File Sharing]
Note: If you don't see the Linux RAID module in the Webmin left-hand menu, try clicking Refresh Modules.

1- Partition Disks

You start by creating a Linux RAID partition on each of the disks that will be used in the array. Go to the Hardware > Partitions on Local Disks page, click on the drive name, then on Add primary partition on the next page to reach the screen shown in Figure 2. Select Linux RAID from the drop-down menu and click the Create button. Repeat for the other drive(s).

Partitioning a disk for RAID

Figure 2: Partitioning a disk for RAID

2- Create Drive Filesystem

Now you need to create a filesystem (format) each drive. Click the disk name again to reach the Edit Partition screen (Figure 3), select New Linux Native (ext3) and click the Create Filesystem button.

Creating a filesystem on each drive

Figure 3: Creating a filesystem on each drive

Your screen will then look something like Figure 4. Repeat for the other drive(s).

Drive filesystem created

Figure 4: Drive filesystem created

3- Create RAID Device

The formatted drives now must be configured into a Linux RAID device. Go to the Hardware > Linux RAID menu and use the drop-down to select the array type. Figure 5 shows a RAID0 array being created.

Creating a RAID0 RAID device

Figure 5: Creating a RAID0 RAID device

After clicking the Create RAID device of level button, you should see a screen like Figure 6. If the Partitions in RAID section does not appear, you should try rebooting the server since sometimes new partitions are not recognized until reboot.

Once you get the Partitions in RAID section to appear, select the desired partitions and click the Create button. Note that I set the Chunk size to 32 kB, based on this recommendation.

RAID device creation

Figure 6: RAID device creation

If all goes well, your screen will look like Figure 7.

RAID0 array device successfully created

Figure 7: RAID0 array device successfully created

More NAS

Wi-Fi System Tools
Check out our Wi-Fi System Charts, Ranker and Finder!

Support Us!

If you like what we do and want to thank us, just buy something on Amazon. We'll get a small commission on anything you buy. Thanks!

Over In The Forums

Using Asuswrt-Merlin 384.13 on a RT-AC66U-B1 router. "QoS WAN/LAN Bandwidth Monitor" is working well for internet traffic: I set media streaming stati...
Hi all, I used to run Merlin on my RT-AC66U years ago... I've upgraded to 3 AC68Us with two as AiMesh nodes. I run the primary router in AP Mode. Is t...
Assumption: Kill Switch will block traffic until such time as OpenVPN connection is re-established.Situation: Have the following configuration for Ope...
I do not want to open up port 80 and forward to traefik running on an internal pc unless the specific domain is used. For example if I go to the Exter...
I’ve been running Google Wifi for a while and really like the stability of it.I grown to miss a dedicated 5Ghz band thou.What would be best to go for ...

Don't Miss These

  • 1
  • 2
  • 3