VOOZH about

URL: https://thenewstack.io/truenas-a-linux-distro-for-low-cost-network-attached-storage/

⇱ TrueNAS, a Linux Distro for Low Cost Network-Attached Storage - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-10-26 08:00:05
TrueNAS, a Linux Distro for Low Cost Network-Attached Storage
Linux / Networking / Storage

TrueNAS, a Linux Distro for Low Cost Network-Attached Storage

With minimal configuration work for the installation, we had an instance of TrueNAS up and running within about 2 minutes.
Oct 26th, 2024 8:00am by Jack Wallen
👁 Featued image for: TrueNAS, a Linux Distro for Low Cost Network-Attached Storage

Network Attached Storage (NAS) is a great way to build out storage for your business. Instead of relying solely on external drives, shared directories or expensive cloud storage, why not deploy a tool that was created specifically for scalable storage?

That’s where TrueNAS comes into play.

TrueNAS is a take on Linux that is purpose-built for storage and comes with all the NAS capabilities you can imagine. TrueNAS can be installed on off-the-shelf hardware (even small form-factor PCs or virtual machines), so your storage server can be tucked out of the way.

This storage solution includes features like:

  • User/group management
  • Alerts
  • SSH connectivity
  • 2-Factor authentication
  • Storage pools
  • Snapshots
  • Disks (and disk importing)
  • Support for directory services such as Active Directory, LDAP, NIS, and Kerberos
  • Sharing via Apple Shares, Block Shares, UNIX Shares, WebDAV, and SMB
  • Service management
  • Plugins
  • Jails
  • Virtual Machines
  • Shell access

The installation of TrueNAS is all text-based but is incredibly simple to take care of and takes very little time. With minimal configuration work for the installation, I had an instance of TrueNAS up and running within about 2 minutes. The only thing you need to do is set a root password during the installation, which is something anyone can do.

Two minutes to a full-blown, scalable NAS solution is pretty impressive. Once the installation completes, you’ll see the address to access the web-based interface. After clicking on the link, you can then log in with the username root and the password you set during the installation, at which point you’ll be greeted by the main TrueNAS site (Figure 1).

👁 TrueNAS screenshot.

Figure 1: The TrueNAS interface has been very well designed to make it easy for you to deploy an effective storage solution.

The biggest challenge you might face with TrueNAS comes when deploying it as a virtual machine. With such a setup, you have to have separate drives added to the virtual machine, otherwise you cannot create a storage pool. How you add those drives will depend on the VM solution you use. Once you’ve added the drive, it then has to be formatted.

This process for adding drives in VirtualBox goes a little something like this:

  • Shut down the VM.
  • Select the TrueNAS VM in the VirtualBox left pane and click Settings.
  • In the Settings window, click the Storage section.
  • Under Storage Controller: SATA and then, near the bottom, click the Add Disk button, and then select Add Hard Disk.
  • In the popup window, click Create New Disk.
  • Walk through the Create Virtual Hard Disk wizard.
  • Click OK to close out the Settings window and fire up your VM.
  • Once you’ve added the drive, you don’t even need to format it, as TrueNAS will take care of that for you.

Now that you’ve added and formatted the drive, it will be available for the creation of a pool, which is equally as simple. Once you’ve created your pool, you can then create secure jails and more.

And that is the most challenging aspect of using TrueNAS.

Accessing TrueNAS

After deploying TrueNAS, I wanted to see how much of a challenge it would be to access it from a machine on my network. The machine in question is my primary desktop that runs Pop!_OS Linux.

To make this work, I had to first enable the SMB service in TrueNAS

To do this, go to Windows Shares (SMB), click Add, and you’ll be prompted to create a new share and enable the service. Next, I had to add a new user (I opted to go with the same username as my desktop user on Pop!_OS), which is handled in Accounts > Users.

Here’s the tricky part. Because of the way Samba works, you have to enable a Samba user and give them an SMB password. To do this, click Shell (in the left sidebar) and then issue the following commands:

smbpasswd -a USER

smbpasswd -e USER

Where USER is the username you created earlier.

At this point, you should be able to access the SMB share from your desktop machines with the address smb://SERVER (Where SERVER is the IP address or domain of your TrueNAS host).

Within roughly 5 minutes I had TrueNAS up and running, a second disk added, and an SMB-enabled user account at the ready. I’ve tried costlier solutions and have yet to find one as simple and effective as TrueNAS.

The Caveat

You had to know there would be a caveat to something this good.

TrueNAS does offer a free version, called TrueNAS Core, which is what I tested and is a great solution for small businesses and home usage. If, however, you’re looking for a solution more suitable for enterprise businesses, you’ll want to look at one of these two options:

  • TrueNAS Enterprise: Enterprise-grade hardware, additional features, and around-the-clock support. TrueNAS Enterprise is built on the OpenZFS file system and comes with integrated data protection features such as copy-on-write and data integrity checks, as well as RAID protection, unlimited snapshots, and resilient replication.
  • TrueNAS Scale: Open source infrastructure solution that adds Linux containers and VMs to make it possible to run workloads closer to your data. TrueNAS scale also uses the OpenZFS file system and allows you to not only add drives but also cluster TrueNAS deployments together.

I’ve used TrueNAS for several use cases and have yet to regret the choice. It’s powerful, flexible, easy-to-use, and based on Linux. What more do you want?

You can download an ISO of TrueNAS Core and test it for yourself.

TRENDING STORIES
Jack Wallen is what happens when a Gen Xer mind-melds with present-day snark. Jack is a seeker of truth and a writer of words with a quantum mechanical pencil and a disjointed beat of sound and soul. Although he resides...
Read more from Jack Wallen
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.