Skip to content

TechRepublic

  • Top Products Lists
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • TechRepublic Academy
  • Innovation
  • Cheat Sheets
  • Big Data
  • Tech Jobs
  • TechRepublic Premium
  • Top Products Lists
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • TechRepublic Academy
  • Innovation
  • Cheat Sheets
  • Big Data
  • Tech Jobs
  • See All Topics
  • Sponsored
  • Newsletters
  • Forums
  • Resource Library
TechRepublic Premium
Join / Sign In
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 for De
  • Account Information

    Contact Rick Vanover

    Your message has been sent

  • |
  • See all of Rick's content

TechRepublic Premium

  • TechRepublic Premium

    Power Checklist: Building Your Disaster Recovery Plan

    Natural and man-made disasters can jeopardize the operations and future of any company today. Hurricanes, earthquakes and terrorist or cyberattacks are just a few examples of potentially crippling threats. As a result, the development of a disaster recovery plan is a must to ensure ongoing business processes in the wake of a crisis situation. This ...

    Published:  September 21, 2023, 4:00 PM EDT Modified:  September 22, 2023, 8:00 AM EDT Read More See more TechRepublic Premium articles
  • TechRepublic Premium

    Hiring Kit: Project Manager

    Keeping all the various moving parts of a business running smoothly and on time requires a well-organized individual who can see the final goal of a project, develop a path to reach that goal and communicate the path that must be followed to all the individuals and teams working to bring that final goal to ...

    Published:  September 20, 2023, 4:00 PM EDT Modified:  September 21, 2023, 12:00 PM EDT Read More See more TechRepublic Premium articles
  • TechRepublic Premium

    SSL Certificate Best Practices Policy

    SSL certificates are essential for encrypting traffic between systems such as clients, which access servers via web browsers or applications that communicate with remote systems. Certificates protect client and server data, commonly involving confidential information such as credit card details or social security numbers. The purpose of this SSL Certificate Best Practices Policy from TechRepublic ...

    Published:  September 20, 2023, 4:00 PM EDT Modified:  September 21, 2023, 9:00 AM EDT Read More See more TechRepublic Premium articles
  • TechRepublic Premium

    Mobile Device Computing Policy

    Mobile devices are a way of life in both the consumer and business realms — and business interests must be protected where the two converge. This policy from TechRepublic Premium provides guidelines for the safe and productive use of mobile devices (laptop computers, tablets, smartphones, etc.) by employees. It includes stipulations for company and employee-owned ...

    Published:  September 20, 2023, 4:00 PM EDT Modified:  September 21, 2023, 9:00 AM EDT Read More See more TechRepublic Premium articles

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
  • TechRepublic
  • TechRepublic on Twitter
  • TechRepublic on Facebook
  • TechRepublic on LinkedIn
  • TechRepublic on Flipboard
© 2023 TechnologyAdvice. All rights reserved.
  • Privacy Policy
  • Terms of Use
  • Property of TechnologyAdvice