Skip to content

TechRepublic

  • Top Products
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • Accounting
  • CRM
  • Academy
Resources
  • TechRepublic Premium
  • TechRepublic Academy
  • Newsletters
  • Resource Library
  • Forums
  • Sponsored
Go Premium
Popular Topics
  • Top Products
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • Accounting
  • CRM
  • Academy
  • Project Management
  • Innovation
  • Cheat Sheets
  • Big Data
  • Tech Jobs
View All Topics
Go Premium
Storage

Configuring FreeNAS for CIFS storage connectivity

By Rick Vanover December 22, 2010, 11:05 PM PST

Image
1
of 13

Gallery-FN-ConfiguringFreeNAS-FigA.jpg
Gallery-FN-ConfiguringFreeNAS-FigA.jpg
Configuring FreeNAS for CIFS storage connectivity

FreeNAS storage solution

FreeNAS storage solution

Organizations are always on the prowl for cost-effective storage solutions. In a number of previous posts, whenever a free storage product is mentioned, TechRepublic members frequently suggest FreeNAS as an alternative to StarWind, Openfiler and other software storage solutions. By its name, FreeNAS is a free solution. In this gallery, FreeNAS will be installed as a virtual machine and provisioned as a Windows file resource using the common internet file system (CIFS) storage protocol.

Configuring FreeNAS for CIFS storage connectivity

Booting from the ISO

Booting from the ISO

In the case of a virtual machine for this example, the FreeNAS server is provisioned as an x64 Linux distribution with 4GB of RAM and 1TB of local drive space attached to it as a main data partition. A separate partition is locally available as a thin-provisioned disk in case emergency space is needed for the install. If FreeNAS is to be used for anything beyond an experiment, a trip to the FreeNAS documentation site is worthwhile.

This gallery walks through booting right from the CD-ROM .ISO. (In another gallery, I will walk through installation options with FreeNAS to embedded and full installation types. In the installation option, the other partition (smaller than the 1TB allocation) is ideal for the installation of FreeNAS and its swap files.)

Configuring FreeNAS for CIFS storage connectivity

FreeNAS networking configuration setup console

FreeNAS networking configuration setup console

The FreeNAS boot sequence from the CD .ISO image is to first enumerate the hard drives, memory, and prepare the installation. The second step of the boot sequence is the “1. Boot [Default]” and then it runs into the setup console. This is where FreeNAS networking is configured. Option 1 to assign interfaces is the first step. In this example, the FreeNAS virtual machine will take a DHCP reservation that also provides a DNS entry (freenas.rwvdev.intra).

Configuring FreeNAS for CIFS storage connectivity

Detect network interfaces

Detect network interfaces

The first step in configuring the networking for a FreeNAS installation is the detection of the network interfaces. The auto-detection feature will determine most configurations. FreeNAS can be downloaded from Sourceforge, and this example is with the 0.7.2 stable release. If using a virtual machine, make sure the E1000 interface type is selected as FreeNAS may not recognize newer interfaces such as VMware’s VMXNET3. The same goes for the storage controller for a virtual machine; the newer Paravirtual SCSI adapter (PVSCI) controller isn’t a good idea.

Configuring FreeNAS for CIFS storage connectivity

Set up LAN interfaces

Set up LAN interfaces

The next step is to set up the LAN interfaces, which will in this example utilize the DHCP and DNS information. Options are also presented to use IPv6, which is left to your own discretion. Once the interface is initialized, the DHCP interface is presented on screen and you can then to go a URL to configure the FreeNAS appliance further.

Configuring FreeNAS for CIFS storage connectivity

Log in to FreeNAS

Log in to FreeNAS

The browser login for FreeNAS is now available after that step. The default login is “admin” and the default password is “freenas.” Of course this is the first thing you should change, which is done in the System section by selecting Password. The Access section allows more users to be created as well as groups.

Configuring FreeNAS for CIFS storage connectivity

Provision the first disk

Provision the first disk

To provision the first disk, select the Disks section, then the plus arrow on the right to add a disk. Then the disk management options are presented to add them to FreeNAS. I’ve selected to preformat the volume with NTFS, which is the native file system for the CIFS endpoint.

Configuring FreeNAS for CIFS storage connectivity

Format the new volume

Format the new volume

The next step is to format the new volume. This is from the Disks | Format menu. The newly created disk is available for format with a name and file system. This step is data destructive, so be careful in proceeding at this point.

Configuring FreeNAS for CIFS storage connectivity

Prepare the mount point

Prepare the mount point

The last disk preparation step is to prepare the mount point. This is the path on the file system for the disk added. Think of the mount point as the location within the Linux-based system that contains the formatted extra disks, and is extensible.

Configuring FreeNAS for CIFS storage connectivity

Configure DNS

Configure DNS

DNS is important for many things, and the FreeNAS configuration allows the networking and DNS suffix configuration to be configured through the web interface. This should be configured for the destination network, and then saved.

Configuring FreeNAS for CIFS storage connectivity

Configure CIFS in Services menu

Configure CIFS in Services menu

Configuring CIFS is done through the Services menu by selecting CIFS/SMB. The configuration is based on the parameters of either a workgroup or domain configuration. Once these changes are entered, a message is displayed that they have been applied successfully. This is an area where the pre-configured DNS entry and DHCP reservation can make these steps flow more smoothly. The same goes for a static IP address and pre-created DNS reservation, should that be the preference. A reboot is required to make these changes take effect.

Configuring FreeNAS for CIFS storage connectivity

Create a share

Create a share

The next step is to create a share to be accessible via CIFS. A good timesaver is to make the name of the share the same as the disk, if one disk is for each share. This way, it is easier to view what storage and shares live on what disk.

Configuring FreeNAS for CIFS storage connectivity

FreeNAS virtual machine up and running

FreeNAS virtual machine up and running

And just like that, the FreeNAS virtual machine is providing a usable file share resource. In summary, on FreeNAS thus far along, this product is fairly intuitive and the interface is quite refined compared to other products. Look for more galleries on point solutions with FreeNAS.

What do you want to see done with FreeNAS? Share your comments below.

  • Storage
  • Account Information

    Share with Your Friends

    Configuring FreeNAS for CIFS storage connectivity

    Your email has been sent

Share: Configuring FreeNAS for CIFS storage connectivity
Image of Rick Vanover
By Rick Vanover
Rick Vanover is an IT Infrastructure Manager for Alliance Data in Columbus, Ohio. Rick's IT certifications include VMware VCP, Microsoft Windows Server 2008 MCITP, Windows Server 2003 MCSA and others. \ \ Previous experiences included working fo
  • Account Information

    Contact Rick Vanover

    Your message has been sent

  • |
  • See all of Rick's content

Daily Tech Insider

If you can only read one tech story a day, this is it.

TechRepublic TechRepublic
  • TechRepublic on Facebook
  • TechRepublic on X
  • TechRepublic on LinkedIn
  • TechRepublic on YouTube
  • TechRepublic on Pinterest
  • TechRepublic RSS
Services
  • About Us
  • Newsletters
  • RSS Feeds
  • Site Map
  • Site Help & Feedback
  • FAQ
  • Advertise
  • Do Not Sell My Information
  • Careers
Explore
  • Downloads
  • TechRepublic Forums
  • Meet the Team
  • TechRepublic Academy
  • TechRepublic Premium
  • Resource Library
  • Photos
  • Videos
  • Editorial Policy
  • Legal Terms
  • Privacy Policy
© 2025 TechnologyAdvice. All rights reserved.
CLOSE

Create a TechRepublic Account

Get the web's best business technology news, tutorials, reviews, trends, and analysis—in your inbox. Let's start with the basics.

Already registered? Sign In
Use Facebook
Use Linkedin

* - indicates required fields

CLOSE

Sign in to TechRepublic

Not a member? Create an account
Use Facebook
Use Linkedin

Lost your password? Request a new password

CLOSE

Reset Password

Please enter your email adress. You will receive an email message with instructions on how to reset your password.

Check your email for a password reset link. If you didn't receive an email don't forgot to check your spam folder, otherwise contact support.

Back to login
1 Finish Profile
2 Newsletter Preferences
CLOSE

Welcome. Tell us a little bit about you.

This will help us provide you with customized content.

No thanks, continue without
1 Finish Profile
2 Newsletter Preferences
CLOSE

Want to receive more TechRepublic news?

Newsletter Name
Subscribe
Daily Tech Insider
Daily Tech Insider AU
TechRepublic UK
TechRepublic News and Special Offers
TechRepublic News and Special Offers International
Executive Briefing
Innovation Insider
Project Management Insider
Microsoft Weekly
Cloud Insider
Data Insider
Developer Insider
TechRepublic Premium
Apple Weekly
Cybersecurity Insider
Google Weekly
Toggle All
No thanks, continue without

You're All Set

Thanks for signing up! Keep an eye out for a confirmation email from our team. To ensure any newsletters you subscribed to hit your inbox, make sure to add [email protected] to your contacts list.

Back to Home Page
×