Storage

How do I configure RSync on FreeNAS to sync shares with a Windows NAS device?

Donovan Colbert illustrates how to create a suitable, inexpensive data replication solution for a small office or data center on a limited budget.

Network Setup VM

Figure K

In Sun VirtualBox, select your VM, and in the Details tab, click Network (Figure K).

Figure L

The Network configuration for that VM will appear (Figure L).

Figure M

  • In the Attached To pull-down menu, select Bridged Adapter.
  • In the Name pull-down menu, select the host NIC that you want the VM bridged to.
  • Under Advanced, ensure that Adapter Type is set to Intel Pro/1000 MT Desktop (8245OEM) and click OK when finished (Figure M).

Storage Setup VM

Figure N

In Sun VirtualBox, select your VM, and in the Details tab, select Storage (Figure N).

Figure O

The Storage settings will display (Figure O). In the Storage Tree, click the Add Hard Disk Button (it is the green plus sign in front of 3 disk platters). Depending on if you've created other virtual machines, the behavior of the Storage Tree window can be hard to understand (Figure P).

Figure P

Assuming you have no other virtual machines or virtual disks defined, if you click the plus-button you'll see the alert in Figure Q. Click Create.

Figure Q

At the Welcome to the Create New Virtual Disk Wizard! window, click Next (Figure R).

Figure R

Select the Fixed-size Storage radio-button and click Next (Figure S).

Figure S

Use either the slider or the text field to enter the drive size as 5GB and click Next (Figure T).

Figure T

At the Summary window, verify your settings and click Finish to continue (Figure U).

Figure U

A progress bar will display while your drive is created (Figure V).

Figure V

Once the format is complete, click OK to return to the Details tab view of Sun VirtualBox.

FreeNAS Install

Figure W

Place your FreeNAS live CD in the physical machine's drive, select Storage from the Details tab on your VM. Next, under IDE controller, click the CD icon; in Attributes, under the CD/DVD Device pull-down menu, select your host CD/DVD device (in this case, the E: drive on my host machine), and click OK (Figure W).

Figure X

Highlight your VM and click the Start icon (the large green arrow) (Figure X).

Figure Y

You'll see a numeric boot menu. Wait or hit return to accept the default option. Your virtual machine will start, and FreeNAS will begin to load. Wait for the boot to complete. A numeric Console Setup menu with items 1 through 9 will appear. Select option 9) Install/Upgrade to Hard Drive/Flash Device, Etc. (Figure Y).

Figure Z

At the Install & Upgrade menu, select option 3 Install "Full" OS on HDD + DATA + SWAP Partition and click OK to continue (Figure Z).

Figure ZA

At the FreeNAS Installation prompt, click OK to continue (Figure ZA).

Figure ZB

At the Choose Installation Media window, select the CD where the live boot CD is and click OK (Figure ZB).

Figure ZC

At the Choose Destination Media window, select the 500MB boot disk and click OK (Figure ZC).

Figure ZD

Enter 200MB for the OS partition and click OK to continue (Figure ZD).

Figure ZE

Select Yes at the Do You Want to Add a Swap Partition? prompt (Figure ZE).

Figure ZF

Enter the remaining space (in MB) for your SWAP partition (Figure ZF) and click OK. The system will install. Once the install is complete, hit <Exit> to return to the Console Setup menu and then select the option 8 Shutdown System.

Figure ZG

Select <Yes> at the Do You Really Want to Shutdown the System? prompt (Figure ZG). Allow the system to shut down.

Figure ZH

In Sun Virtual box, select Storage in the Details tab (Figure ZH).

Figure ZI

In the Storage Tree, under the IDE Controller, highlight the host drive. In Attributes, under CD/DVD device, select Empty from the pull-down menu (Figure ZI). Click OK. Restart your FreeNAS virtual machine — which will now boot from the hard drive, instead of from the CD.

Next Page >>

About

Donovan Colbert has over 16 years of experience in the IT Industry. He's worked in help-desk, enterprise software support, systems administration and engineering, IT management, and is a regular contributor for TechRepublic. Currently, his profession...

Editor's Picks