Steps to set up a home NAS server with OpenMediaVault

  • OpenMediaVault allows you to turn a PC or miniPC into a stable and flexible home NAS using a simple web interface.
  • The key is to separate the system and data, properly configure disks, RAID, and permissions before filling it with information.
  • With SMB/NFS on-premises and SFTP or VPN outbound, the NAS becomes a secure private cloud for backups and multimedia.
  • Regular maintenance, alerts, and off-site backups make the NAS reliable in the long term and easy to recover.

How to set up a NAS server at home

Setting up a home NAS server with OpenMediaVault (OMV) is one of the cheapest and most flexible ways to have your own "cloud" at home, with complete control over your data. With an old PC, a few hard drives, and some patience, you can create a very capable system for backups, multimedia, work, and remote access, without relying on external services.

In this guide we will see All the steps to set up a home NAS server with OpenMediaVaultFrom hardware requirements and installation to creating volumes, RAID, shared folders, services (SMB, NFS, SFTP, Plex, etc.), remote access, and maintenance, the idea is that even if you start from scratch, you'll end up with a stable, expandable, and secure NAS that you can use daily without any hassle.

What is a NAS and why use OpenMediaVault?

A NAS (Network Attached Storage) is basically a storage device connected to your local networkIt can be accessed via cable or Wi-Fi from any computer, mobile phone, or TV in the home. It could be a dedicated enclosure with drive bays or a traditional PC converted into a server.

In practice, a NAS serves as central point for storing backups, photos, videos, documents, and multimedia librariesand allows you to share all of that between several users and computers without having to keep connecting and disconnecting USB drives.

OpenMediaVault is a NAS operating system based on Debian LinuxIt's free and open-source, designed precisely for this purpose: taking a PC or miniPC and turning it into a complete NAS with a web interface. It comes with support for services like SMB/CIFS, FTP, NFS, SFTP, Rsync, multimedia plugins, backups, Docker, and much more.

Being built on Debian, OMV stands out for its stability, security and long-term supportFurthermore, it has very modest hardware requirements and works well even on old machines, ARM boards (like Orange Pi or Raspberry Pi, with some nuances) or small low-power devices.

Hardware requirements and preliminary considerations

To set up your own home NAS with an MVNO, you don't need to spend a fortune, but it's advisable to follow a few guidelines. minimum hardware requirements so that the system runs smoothly and is reliable.

On a standard PC, the ideal is to use an x86-64 processor (64-bit Intel or AMD) And at least 4 GB of RAM for a basic NAS; if you're going to use software RAID, Docker containers, or many services simultaneously, it's best to upgrade to 8 GB. OMV is highly optimized and doesn't require many resources, but the extra memory provides room for growth.

Regarding storage, it is highly recommended separate the system disk from the data storageTypically, you install OMV on a small SSD, HDD, or even a flash drive of at least 16 GB, and dedicate other disks (HDD or SSD) exclusively to the NAS volume. This prevents mixing the operating system and data and simplifies recovery.

For the data space you can use one or more SATA hard drives High-capacity drives are recommended. If you want redundancy and fault tolerance, it's advisable to set up a RAID array (RAID 1, 5, or 6, depending on the number of drives and your needs). It's a very good idea to use drives of the same capacity and, if possible, the same model (for example, NAS-specific drives like WD Red or Seagate IronWolf).

If you're going to handle large volumes (above 2,2 TB), you need to make sure your motherboard is in UEFI modeThis is because the classic BIOS mode has that limitation when it comes to viewing disk sizes. In UEFI, you can work with very large volumes without problems.

As for the case and the power supply, all you need is a case with sufficient ventilation and drive bays and a decent 250-300W power supply. The NAS is usually on 24/7, so it's important that it has good cooling for the drives and CPU, and that the power supply is stable.

Downloading the OpenMediaVault image and basic installation

create a home NAS server

The first real step is Download the OpenMediaVault ISO image Download it from their official website or from SourceForge. Choose the stable version that corresponds to your architecture (usually amd64 for PC).

With the ISO downloaded, you need to create a bootable installation mediumThe easiest way nowadays is to use a USB drive and tools like Rufus (on Windows) or dd/Balena Etcher (on Linux). You select the ISO, choose the USB drive, and let the program make it bootable.

Before starting the installation, go to the BIOS/UEFI of your computer (usually by pressing Delete, F2, F12, or another key indicated when turning on the computer) and adjust the boot order so that the machine starts from the USB drive (or the DVD, if you choose that option). On many computers, you can also press a "Boot Menu" key at startup without accessing the BIOS.

Booting from the USB drive, you'll see the OMV installer screen in text mode. The process is very similar to that of install Debian or any other Linux distroYou choose your language, geographical location (for time zone) and keyboard layout, and the system starts loading the necessary components from the installation media.

When he asks you, you will have to assign a name to the computer (hostname)This will determine how your NAS will appear on the local network (for example, “nas-home” or “openmediavault”). It will also ask for a domain; if you're only going to use it at home, you can use something generic like “local” and the system will be, for example, “nas-home.local”.

At this point, the following is also configured: root user passwordThis password is used to log in locally with full privileges. It's not the same as the one used for the OMV web interface, but it's just as important; write it down and keep it safe, because you'll need it if you ever need to access the console for advanced tasks.

Next, the time zone is configured (important for the log times and file metadata) and the installer proceeds to the partitioning and system file copying phaseIf the computer detects multiple disks, it will notify you; at that point, carefully select the disk where you want to install OMV (the system disk, not the data disks). Accept the automatic partition creation and let the wizard do its work.

After copying the system, the installer will ask for the package server (Debian mirror) is most suitable. Usually, choosing the standard server or one close to your country is sufficient. If you don't use a proxy, leave that field blank and let the installation continue.

The installation ends by configuring the GRUB boot loader on the main disk. Accept the installation on the disk where you just put the system, remove the USB drive when prompted, and restart the machine. On the next boot, you will see the GRUB screen and then a console login screen where the local IP address which has obtained the NAS (very important for the next step).

Special scenario: Installing OMV on a single disk

The official recommendation is not to mix them. system disk and data diskHowever, there are situations (due to budget or physical limitations) where you only have one unit and need to use part of it for NAS data.

In that case, the move consists of shrink the system partition after installationThe typical procedure is to boot the NAS from a Linux LiveDisk that includes GParted (for example, GParted Live). Once booted, locate the disk where OMV was installed (usually /dev/sda) and you will see that the main partition (sda1) occupies almost all the space.

With GParted, you right-click on that partition and select “Resize/Move”. Reduces sda1 to leave about 16-20 GB for the system (or something else for convenience) and apply the changes. The rest of the disk will remain as unallocated space.

In that space, you create a new partition with a file system Ext4 (or whichever one you prefer that's compatible with OMV) and apply again. When you restart in OMV and access the web interface, go to “Storage → File systems” and You will mount that new partition., which will become the data volume of your NAS.

First access to the web interface and basic settings

With the system now installed and booting from disk, it's time to Manage OpenMediaVault from another computer via a web browserFrom a PC on the same network, open a browser and type the local IP address you saw on the NAS console (for example, http://192.168.1.64) or, if name resolution is working correctly, the address http://openmediavault/ or the hostname you defined.

It will show the web interface login panelBy default, the credentials are: username “admin” and password “openmediavault”. It is almost mandatory that, as soon as you log in, you go to the general system settings and Change this password to a more secure one.because OMV comes precisely with those factory settings.

It's also a good time to adjust the interface language and the time zone from the settings section. OMV supports multiple languages, including Spanish from Spain, and system updates can be installed from “System → Update Management” by simply clicking on “Update” and then on “Apply Changes”.

Disk configuration, RAID and file systems

Once you have the panel up and running, it's time to tell OMV where will your data be stored?In the "Storage → Disks" menu, you'll see all the physical drives connected to the NAS. It's a good practice to check that all the expected disks appear and, if they are second-hand, clean or initialize them.

If you want to use software RAID, go to “Storage → Software RAIDFrom there you can create arrays at different levels: Stripe (RAID 0, to maximize speed at the cost of no fault tolerance), Mirror (RAID 1, reflects data between two disks), Linear (concatenates capacities without redundancy) or RAID 5/6 (combine performance and redundancy from three disks, with parity codes).

You choose a level (for example, RAID 5), select the physical drives that will be part of the array, and you create the arrayOnce completed, you will have a “logical device” on which you can create a file system.

In "Storage → File systemsThis is where the volumes are formatted and mounted. You can choose systems like Ext4 (fast and very stable), XFS, JFS, F2FS or BtrfsBtrfs offers advanced features (snapshots, compression, etc.), although its initial formatting can take a considerable amount of time on large volumes. You select "Create," specify the device (a direct disk or the newly configured RAID), the file system type, and wait for it to finish.

Once the file system is created, select it from the list and click "Mount", save and you apply the changesFrom that moment on, OMV will have a storage volume available to create shared folders and assign permissions.

It is highly recommended to activate the SMART monitor For each drive, go to "Storage → SMART". This will allow OMV to monitor temperatures, reallocated sectors, and other disk health indicators, and alert you if something starts to go wrong.

Creating shared folders and users

The next logical step is to define the shared folders that will be used by different teams and peopleIn “Storage → Shared Folders” you can create a new folder, give it a name (for example, “Backups”, “Photos”, “Media”) and assign it to the file system you mounted earlier (the RAID volume, the Ext4 partition, etc.).

These shared folders will be the foundation for the various services (SMB/CIFS, NFS, FTP, SFTP, etc.). Once created, it's advisable to define them from the outset. which users will have access and with what permissionsSo, you need to go through the "Access permissions → Users" section.

In the users section, you can add accounts for each person or device that will use the NAS. For each user, you specify name, password and, if applicable, membership in specific groupsOMV allows you to create groups (for example, "family", "work", "sftp-access") from "Users → Groups" to manage permissions in a more organized way.

From “Storage → Shared Folders” you can open the dialog box privileges This section allows you to assign read/write or read-only rights to each folder for specific users and groups. It also controls low-level POSIX permissions (ACLs), ensuring that only those who need to view or modify the data have access.

It's a good idea to configure these permissions. before filling the NAS with terabytes of dataIf something goes wrong and a volume needs to be reformatted or remade, it's best to do so before you've copied your entire personal file.

Share files over a network using SMB, NFS, and FTP

With the storage organized and users defined, you can now begin to Publish NAS folders on your local network using different protocols, depending on the devices.

For Windows environments, the most common option is SMB/CIFS (Samba). In OMV, go to “Services → SMB/CIFS → ConfigurationSelect "Enabled", adjust the domain/workgroup if desired, and save. Then go to the "Shared Resources" tab, add a new resource, choose the shared folder you created earlier, and decide if you inherit permissions, if you announce it on the network, etc.Apply the changes and that resource will appear in Windows File Explorer under the "Network" section or can be mapped as a network drive.

In Linux systems, it is very common to use NFS for accessing shared foldersOMV offers a dedicated module in “Services → NFS”. Enabling it allows you to export folders and define which hosts or subnets have access, with what permissions, and what mount options.

The FTP protocol is also available as a service. Although it is easy to configure and widely used, It is not a safe method on its own.because the data travels unencrypted. For access from the Internet, it is preferable to opt for SFTP or set up a VPN.

Secure remote access with SFTP and router configuration

If you want to be able to access your NAS from outside your home, for example to view photos, documents, or upload backups while on the goA reasonably simple and secure option is to enable SFTP access.

OMV uses SSH as its base, and through a specific plugin (“openmediavault-sftp”) allows Restrict and manage SFTP access to specific foldersThe usual practice nowadays is to first install the OMV-Extras repository in order to easily add these plugins.

To install OMV-Extras, you can connect to the OMV server using a keyboard and screen and log in as root (using the "root" username and the password you set during installation). Once in the console, run a command similar to:

wget -O – https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | Bash

After the script completes, return to the web interface, refresh, and you should see a new entry, “OMV-Extras,” under “System.” From there, activate the main repository, and you can then go to the “Plugins” section to search for and install the SFTP package.

Once the SFTP plugin is installed, the “SFTP” option will appear in the “Services” menu. Before activating it, it is advisable to create a specific user for remote access and assign it to an appropriate group (for example, “sftp-access”). On the Groups tab, select that group and grant it read/write privileges on the shared folders you want that user to see.

Then, in the SFTP plugin settings, you enable the service, you define a non-standard port (for example, 222 instead of 22)You enable password authentication and restrict access to the group you just used. On the "Access List" tab, you add an entry to link the user to the folder they can browse.

In some cases, for the SFTP chroot to work correctly, you will need to adjust the root directory permissions with a command like:

chmod 755 /

Once this is done, you will have a functional SFTP server accessible within your network. open it to the outsideYou need to configure the router.

In the router's control panel (usually at http://192.168.1.1), look for the section on port forwarding, NAT/PAT or “port mapping”Create a rule that says something like this: “any connection arriving from the Internet to external port X (e.g., 35000/TCP) is redirected to your NAS's internal IP address (e.g., 192.168.1.20) on port 222,” which is the one used by the SFTP service in OMV.

To find out the internal IP address assigned to the NAS, there is usually a list of connected devices in the router's DHCP section, where you can also reserve a static IP address for that device and prevent it from changing.

From outside your network, using a client like fileZillaYou could connect by setting your public IP address as the server (which you can find on websites like "whatismyipaddress.com" or simply by searching "public ip" on Google), the external port you opened on your router, and the SFTP user credentials you created. This will give you encrypted access to the NAS data from anywhere with an internet connection.

From a security standpoint, it's always best to combine these types of access with VPN and strong passwords, and even limit the range of IPs from which to accept connections if your router allows it.

Install additional services: multimedia, music, backups, and more

How to have a NAS server at home

Once you have the NAS functioning as central storage, the fun part begins: Add services to get even more out of it.OMV, especially with OMV-Extras, allows you to install and manage a good collection of plugins and containers.

If you're interested in setting up a music serverA modern and lightweight option is Navidrome. Although its installation is usually done via Docker or following specific instructions, the idea is to use a folder on the NAS as a music library, index it, and then access it from apps compatible with Subsonic (Substreamer, Symfonium, and others) both locally and remotely.

For Automatic synchronization of photos and videos from mobile to NASApplications like PhotoSync (paid, but inexpensive) allow you to configure tasks that upload gallery content to a shared folder on the server every time you connect to your home Wi-Fi. This turns your NAS into a true repository of memories, always available and under your control.

In the video field, you can transform your NAS into a media server with Plex, Emby or JellyfinThey are usually installed as add-on services or via Docker, and point to one or more folders on the NAS containing your movies and TV shows. From there, your smart TVs, mobile phones, and tablets can stream content, even with transcoding if the hardware supports it.

For advanced backups, OMV offers integration with Rsync, backup clients, and even plugins like usbbackupThe latter allows you to define tasks to automatically synchronize the contents of specific NAS folders to external USB drives when they are connected. However, these drives are usually formatted in Linux file systems (Ext3/Ext4), which can cause some problems if you want to rotate drives and read them in Windows without additional tools.

In professional or semi-professional environments, OMV gets along very well with backup software like VeeamExposing storage via NFS or CIFS as a repository for backups. The typical setup involves creating a dedicated file system, mounting it, enabling NFS, and then pointing Veeam to that exported path.

Finally, thanks to Docker support in OMV (via OMV-Extras), you can easily deploy applications such as Nextcloud, Bitwarden, Duplicati, or lightweight web servers, greatly expanding the functions of the NAS without the need to install alternative systems.

Data maintenance, monitoring and recovery

A home NAS is usually on 24 hours a day, so it's worth taking a few minutes to properly configure maintenance and monitoring to avoid scares.

In “System Information” and in the diagnostics section, OMV offers graphs and logs about CPU, RAM, network and disk usageIt is advisable to check them from time to time to detect bottlenecks, anomalous temperatures, or repeated errors in the logs.

Keeping your system updated is also key. You can do this from “System → Update Management”. Apply security patches and improvements Periodically. A sensible schedule is usually to check at least once a month, or more frequently if you provide services to the outside world.

OMV allows configuration email alerts To alert you to disk failures (via SMART), RAID array problems, insufficient space, or service outages. Simultaneously, you can schedule cron jobs from the interface to run disk checks, log cleanups, or backup scripts at specific times.

Regarding data recovery, although a well-configured RAID offers a certain tolerance to disk failuresIt should never be considered a substitute for backups. It's advisable to design a strategy with at least one external copy (another NAS, a USB drive stored elsewhere, or even encrypted cloud storage). Specific tools exist for rebuilding failed arrays and recovering data on OMV-based NAS devices, such as RAID rescue utilities, but it's best to have them in mind before disaster strikes.

Finally, it is very useful to export and save from time to time. MVNO configurationThis way, if the system disk ever fails, you can quickly reinstall on another medium, import the configuration, and remount the existing volumes with considerably less effort.

Setting up a home NAS server with OpenMediaVault not only allows you to centralize your files and backups, but also gives you a very flexible environment for multimedia, remote access, and various services, all on a stable and expandable Linux base. With a little care when choosing hardware, configuring storage, managing permissions, and monitoring disk health, you can have a home storage setup for years that performs like a professional system and grows with you without requiring you to rebuild it from scratch. Share information on how to set up a NAS server at home and help other users learn how.