RAID0 cache drive upgrade in UnRAID

Just installed two 1TB drives in the UnRAID box, and wanted to set them up in a RAID0 configuration.

First step is to move the data off the current cache drive (250GB SSD). This involves moving the data to the HD array by setting the Share settings for “Use Cache” to “YES” from “Only”. Then click the “Move Now” button on the Main page. I had to do this for both the “appdata” and “domain” shares.

All that’s required is to select the two devices as cache devices, start the array. If there are multiple cache drives selected the system will automatically set them up as RAID1. This can be confirmed by clicking on the cache drive and looking in the “Balance status” section. Data, System and Metadata will all show RAID1.

Because btrfs is very clever, the cache drive RAID array can now be converted to something else, which is a RAID0 array in my case.
In the “Balance” field enter “-dconvert=raid0 -mconvert=raid1” and click the “Balance” button.
This will convert the array.
The Balance Status will reflect this change, with Data now being RAID0 and the storage about is increased.

To move the data back to the SSD cache, set the Share settings for the user shares for “Use Cache” to “Prefer” and then click the “Move Now” button. This will move the data back to the SSD cache and off the HD array.

Reference 1, reference 2, reference 3

No Comments UnRaid

Installing FreeNAS as a VM in UnRAID

This took a while to figure out as I had to try several combinations of settings to get it running.

UnRAID 6.3.5
FreeNAS 11

When setting up the VM for FreeNAS, use “FreeBSD” as the template.
For BIOS use “OVMF” and Machine ¬†should be “i440fx-2.7”

When installing FreeNAS make sure it is set to UEFI boot.

In order to PASS THROUGH a generic PCIe device in UnRAID, (a SATA controller in my case), use this guide.

No Comments Linux, UnRaid

New NAS build-Tests

Finally ready to put together a new NAS system. One NAS that I can tune for max performance, and am not rushed to move all the data over (like had happened with every other version in the past).

The hardware used is a dual CPU system running E5-2670 CPUs each with 8 cores/16 threads, for a total of 32 threads, and 32 gigs ram. This may seem like overkill for a NAS, and it is if I was only using this system as a NAS. However I will be using this box as a Virtual Machine and Docker host, so the majority of the resources will go to the VMs and Docker apps.
For software I am running UnRaid 6.3.2 (as of this writing 07 Feb 2017). I’ve enjoyed using it as a NAS in the past and recently the capability to run VMs on it makes it that much more attractive.

Read More

No Comments UnRaid